module ExpensesHelper
def expense_periods
Expense
.periods
.map { |key, value| [ key.titleize, Expense.periods.key(value) ] }
end