Sha256: 7afbb6afec7e9b251e3d9422e9989adb8d61ca3dc0b3752790e416bfb0d38ca6

Contents?: true

Size: 366 Bytes

Versions: 6

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

module Prawn
  module SwissQRBill
    module Sections
      # Acceptance point section at receipt
      class ReceiptAcceptance < Section
        KEY = 'receipt.acceptance'

        def draw
          box do
            label I18n.t('acceptance', scope: i18n_scope), align: :right
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
prawn-swiss_qr_bill-0.5.4 lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb
prawn-swiss_qr_bill-0.5.2 lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb
prawn-swiss_qr_bill-0.5.1 lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb
prawn-swiss_qr_bill-0.5.0 lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb
prawn-swiss_qr_bill-0.4.2 lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb
prawn-swiss_qr_bill-0.4.1 lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb