Class: Prawn::SwissQRBill::Sections::ReceiptInformation
- Includes:
- Helpers::BoxHelper
- Defined in:
- lib/prawn/swiss_qr_bill/sections/receipt_information.rb
Overview
Information section at receipt
Constant Summary collapse
- KEY =
'receipt.information'
Instance Attribute Summary
Attributes inherited from Section
Instance Method Summary collapse
Methods included from Helpers::BoxHelper
Methods inherited from Section
Constructor Details
This class inherits a constructor from Prawn::SwissQRBill::Sections::Section
Instance Method Details
#draw ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/prawn/swiss_qr_bill/sections/receipt_information.rb', line 12 def draw box do draw_payable_to draw_reference if @data.key?(:reference) draw_payable_by end end |