Description: <%= extra_bill.description %>

Amount: <%= extra_bill.amount %>

Adjusted Amount: <%= extra_bill.adjusted_amount %>

Accounted For: <%= Expense.autopaid_total %>

Deduct autopaid: <%= extra_bill.deduct_autopaid %>

<% Member.all.each do |member| %> <% end %>
Member Burden Percent Burden Amount
<%= member.name %> <%= member.burden_percent * 100 %>% <%= number_to_currency(member.burden_amount(total_amount: extra_bill.adjusted_amount)) %>

<% if action_name != "show" %> <%= link_to "Show this extra bill", extra_bill, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> <%= link_to 'Edit this extra bill', edit_extra_bill_path(extra_bill), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
<% end %>