<%= @account.inspect %>

total: <%= @account.total %>
balance: <%= @account.balance %>


Charges:
<% @account.charges.each do |charge| %> <%= charge.inspect %> <% end %> <%= link_to :charge, [:new, @account, :charge] %>
Modifiers:
<% @account.modifiers.each do |modifier| %> <%= modifier.inspect %> <% end %> <%= link_to :modifier, [:new, @account, :modifier] %>
<% @account.modifier_items.each do |mi| %> <%= mi.inspect %>
<% end %>

Payments:
<% @account.payments.each do |payment| %> <%= payment.inspect %> <% end %> <%= link_to :pay, [:new, @account, :payment] %>