% content_for :title, "Income Report" %>
| Amount | Date |
|---|---|
| <%= number_to_currency(income.amount, unit: "₹") %> | <%= income.created_at.strftime("%d %b %Y") %> |
| No income for today. | |
| Total | <%= number_to_currency(@daily_income || 0, unit: "₹") %> |
| Amount | Date |
|---|---|
| <%= number_to_currency(income.amount, unit: "₹") %> | <%= income.created_at.strftime("%d %b %Y") %> |
| No income for this week. | |
| Total | <%= number_to_currency(@weekly_income || 0, unit: "₹") %> |
| Amount | Date |
|---|---|
| <%= number_to_currency(income.amount, unit: "₹") %> | <%= income.created_at.strftime("%d %b %Y") %> |
| No income for this month. | |
| Total | <%= number_to_currency(@monthly_income || 0, unit: "₹") %> |