Sha256: 74f3cf2e01550062eb36e7b2b78a9c8780394df84b9afcabb8695f0845750eb0

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

module InvoiceHelper
  def invoice_states_as_collection
    states = Invoice::STATES
    states.inject({}) do |result, state|
      result[t(state, :scope => 'invoice.state')] = state
      result
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/helpers/invoice_helper.rb