Sha256: 3df9473a62c33bb93d29bf05bc7bb7ce9ab207fd5986f13fbcf92e0fc9059638

Contents?: true

Size: 614 Bytes

Versions: 3

Compression:

Stored size: 614 Bytes

Contents

<div class="container">
  <center>
    <h1>General Ledger</h1>
    <br>
  </center>

<table class="table table-striped table-hover">
  <tr>
    <th>Name</th>
    <th>Type</th>
    <th>Credit Balance</th>
    <th>Debit Balance</th>
    <th>Balance</td>
  </tr>

<% @accounts.each do |account| %>
  <tr class="<%= cycle("even", "odd") -%>">
    <td><%=h account.name %></td>
    <td><%=h account.type.sub('Credere::','') %></td>
    <td><%=h account.credits_balance.round(2) %></td>
    <td><%=h account.debits_balance.round(2) %></td>
    <td><%=h account.balance.round(2) %></td>
  </tr>
<% end %>
</table>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
credere-0.10.3 app/views/credere/accounts/index.html.erb
credere-0.10.2 app/views/credere/accounts/index.html.erb
credere-0.10.1 app/views/credere/accounts/index.html.erb