<%=h @account.name %> Account

ID Name Type Credit Balance Debit Balance Balance
<%=h @account.id %> <%=h @account.name %> <%=h @account.type.sub('Plutus::','') %> <%=h @account.credits_balance %> <%=h @account.debits_balance %> <%=h @account.balance %>

Credit Entries

<% @account.credit_entries.each do |entry| %> "> <% end %>
ID Description Date
<%=h entry.id %> <%=h entry.description %> <%=h entry.created_at %>

Debit Entries

<% @account.debit_entries.each do |tr| %> "> <% end %>
ID Description Date
<%=h tr.id %> <%=h tr.description %> <%=h tr.created_at %>