Module: InvoiceHelper
- Defined in:
- app/helpers/invoice_helper.rb
Instance Method Summary collapse
Instance Method Details
#invoice_states_as_collection ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/helpers/invoice_helper.rb', line 2 def invoice_states_as_collection states = Invoice::STATES states.inject({}) do |result, state| result[t(state, :scope => 'invoice.state')] = state result end end |