<%= notice %>

<% content_for :title, "Expenses" %>

Expenses

<%= link_to "📊 Expense Report", expense_report_path, class: "btn btn-outline-primary" %>
<%= link_to "New Expense", new_expense_path, class: "btn-expense" %>
<% @expenses.each do |expense| %>
<%= number_to_currency(expense.amount) %>
<%= expense.created_at.strftime("%d %b %Y") %>
<%= link_to "Show this expense", expense, class: "show-link" %>
<% end %>