Sha256: 347aadf561d7439772f5fd863a74496d10081ae2d2bedd6143489661337eb370

Contents?: true

Size: 253 Bytes

Versions: 58

Compression:

Stored size: 253 Bytes

Contents

module Dorsale::ExpenseGun::ApplicationHelper
  def expense_states_for_filters_select
    Dorsale::ExpenseGun::Expense.aasm.states.map do |state|
      [
        Dorsale::ExpenseGun::Expense.t("state.#{state}"),
        state,
      ]
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
dorsale-3.18.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.17.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.16.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.15.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.11 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.10 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.9 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.8 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.7 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.6 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.5 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.4 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.3 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.2 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.1 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.14.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.13.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.12.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.11.0 app/helpers/dorsale/expense_gun/application_helper.rb
dorsale-3.10.3 app/helpers/dorsale/expense_gun/application_helper.rb