%# Copyright (C) 2024 Manuel Bustillo %>
<%= notice %>
Name | Amount | ||
---|---|---|---|
<%= expense.name %> | <%= expense.amount.to_currency %> | <%= link_to "Show", expense %> | <%= link_to "Edit", edit_expense_path(expense) %> |
Total | <%= @expenses.sum(&:amount).to_currency %> |