Sha256: 64a197097b896358bf2344e30915ee81296feea25a1577d5946f0f382c9e475e

Contents?: true

Size: 752 Bytes

Versions: 4

Compression:

Stored size: 752 Bytes

Contents

<h1>Listing Transactions</h1>

<table>
  <tr>
    <th class="nobg">ID</th>
    <th>Description</th>
    <th>Credit Account</th>
    <th>Debit Account</th>
    <th>Amount</th>
    <th>Date</th>
  </tr>

<% @transactions.each do |transaction| %>
  <tr class="<%= cycle("even", "odd") -%>">
    <td><%=h transaction.id %></td>
    <td><%=h transaction.description %></td>
    <td><%=link_to(h(transaction.credit_account.name), account_path(transaction.credit_account)) %></td>
    <td><%=link_to(h(transaction.debit_account.name), account_path(transaction.debit_account)) %></td>
    <td><%=h transaction.amount %></td>
    <td><%=h transaction.created_at %></td>
  </tr>
<% end %>
</table>

<br />

<h3>Go to <%= link_to 'Accounts', accounts_path %></h3>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
blawzoo-plutus-0.5.3 app/views/transactions/index.html.erb
plutus-0.5.2 app/views/transactions/index.html.erb
plutus-0.5.1 app/views/transactions/index.html.erb
plutus-0.4.2 app/views/transactions/index.html.erb