Sha256: e206148f8d44cc61d777c2aa00d1108532476cb1f5cec4aa2a318a2b3cef1174

Contents?: true

Size: 676 Bytes

Versions: 4

Compression:

Stored size: 676 Bytes

Contents

<div class="plutus_container">
<h1>Listing Accounts</h1>

<table>
  <tr>
    <th class="nobg">ID</th>
    <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><%=link_to(account.id, account_path(account.id)) %></td>
    <td><%=h account.name %></td>
    <td><%=h account.type.sub('Plutus::','') %></td>
    <td><%=h account.credits_balance %></td>
    <td><%=h account.debits_balance %></td>
    <td><%=h account.balance %></td>
  </tr>
<% end %>
</table>

<br />

<h3>Go to <%= link_to 'Entries', entries_path %></h3>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutus-0.11.0 app/views/plutus/accounts/index.html.erb
plutus-0.10.1 app/views/plutus/accounts/index.html.erb
plutus-0.10.0 app/views/plutus/accounts/index.html.erb
plutus-0.9.0 app/views/plutus/accounts/index.html.erb