Sha256: e47adf7aafc988cdd7c468d982a16055448196d59aa0dd895e32846014784cdc

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 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 'Transactions', transactions_path %></h3>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
plutus-0.8.1 app/views/plutus/accounts/index.html.erb
plutus-0.8.0 app/views/plutus/accounts/index.html.erb
plutus-0.7.4 app/views/plutus/accounts/index.html.erb
plutus-0.7.2 app/views/plutus/accounts/index.html.erb
plutus-0.7.0 app/views/plutus/accounts/index.html.erb