<% if notice.present? %>

<%= notice %>

<% end %>

<%= @income.description %>

Income source details and budget allocation

<% if @income.included %> included <% else %> excluded <% end %>
<%= @income.member.name.first.upcase %>

Member

<%= @income.member.name %>

Amount

<%= number_to_currency(@income.amount) %>

<%= link_to edit_income_path(@income), class: "inline-flex items-center px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition-colors" do %> Edit Income <% end %> <%= button_to income_path(@income), method: :delete, class: "inline-flex items-center px-4 py-2 bg-red-600 hover:bg-red-700 text-white font-medium rounded-lg transition-colors", confirm: "Are you sure you want to delete this income source?" do %> Delete <% end %> <%= link_to incomes_path, class: "inline-flex items-center px-4 py-2 bg-gray-100 hover:bg-gray-200 text-gray-700 font-medium rounded-lg transition-colors" do %> Back to Incomes <% end %>