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