Description: <%= credit_card_bill.description %>

Amount: <%= credit_card_bill.amount %>

Accounted For: <%= Expense.credit_card_monthly_total %>

Unpaid: <%= credit_card_bill.unpaid %>

<% 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: credit_card_bill.unpaid)) %>

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