Sha256: 13f6d07afee7fd5b8f8774a0fbd159af01d540c70b49305f1b12fc5d7f5ad620

Contents?: true

Size: 613 Bytes

Versions: 8

Compression:

Stored size: 613 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('Plutus::','') %></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

8 entries across 8 versions & 3 rubygems

Version Path
plutus-0.17 app/views/plutus/accounts/index.html.erb
plutus-0.16 app/views/plutus/accounts/index.html.erb
plutus-0.15 app/views/plutus/accounts/index.html.erb
plutus-0.14 app/views/plutus/accounts/index.html.erb
tyche-0.14 app/views/plutus/accounts/index.html.erb
odania_plutus-0.13 app/views/plutus/accounts/index.html.erb
plutus-0.13 app/views/plutus/accounts/index.html.erb
plutus-0.12.2 app/views/plutus/accounts/index.html.erb