Balance Sheet

<%= form_tag({:action => 'balance_sheet'}, {:method => :get, :class => 'form-inline'}) do%>
<%= label_tag :date, nil, class: 'sr-only'%> <%= date_field_tag :date, @to_date, :class => 'form-control' %>
<% end %>

<%= render 'account', :name => "Assets", :accounts => @assets %> <%= render 'account', :name => "Liabilities", :accounts => @liabilities %> <%= render 'account', :name => "Equity", :accounts => @equity %>