Module: YDIM::Html::State::InvoiceKeys
- Included in:
- CreateInvoice, Invoice
- Defined in:
- lib/ydim/html/state/invoice.rb
Instance Method Summary collapse
Instance Method Details
#invoice_key ⇒ Object
21 22 23 |
# File 'lib/ydim/html/state/invoice.rb', line 21 def invoice_key :invoice end |
#invoice_keys ⇒ Object
24 25 26 |
# File 'lib/ydim/html/state/invoice.rb', line 24 def invoice_keys invoice_mandatory + [:precision, :suppress_vat] end |
#invoice_mandatory ⇒ Object
27 28 29 |
# File 'lib/ydim/html/state/invoice.rb', line 27 def invoice_mandatory [:description, :date, :currency] end |