% content_for :title, "Expense Report" %>
| Amount | Date |
|---|---|
| <%= number_to_currency(expense.amount, unit: "₹") %> | <%= expense.created_at.strftime("%d %b %Y") %> |
| No expenses for today. | |
| Total | <%= number_to_currency(@daily_expenses || 0, unit: "₹") %> |
| Amount | Date |
|---|---|
| <%= number_to_currency(expense.amount, unit: "₹") %> | <%= expense.created_at.strftime("%d %b %Y") %> |
| No expenses for this week. | |
| Total | <%= number_to_currency(@weekly_expenses || 0, unit: "₹") %> |
| Amount | Date |
|---|---|
| <%= number_to_currency(expense.amount, unit: "₹") %> | <%= expense.created_at.strftime("%d %b %Y") %> |
| No expenses for this month. | |
| Total | <%= number_to_currency(@monthly_expenses || 0, unit: "₹") %> |