app/views/plutus/accounts/show.html.erb in plutus-0.8.1 vs app/views/plutus/accounts/show.html.erb in plutus-0.9.0

- old
+ new

@@ -19,41 +19,41 @@ <td><%=h @account.debits_balance %></td> <td><%=h @account.balance %></td> </tr> </table> -<h1>Credit Transactions</h1> +<h1>Credit Entries</h1> <table> <tr> <th class="nobg">ID</th> <th>Description</th> <th>Date</th> </tr> -<% @account.credit_transactions.each do |transaction| %> +<% @account.credit_entries.each do |entry| %> <tr class="<%= cycle("even", "odd") -%>"> - <td><%=h transaction.id %></td> - <td><%=h transaction.description %></td> - <td><%=h transaction.created_at %></td> + <td><%=h entry.id %></td> + <td><%=h entry.description %></td> + <td><%=h entry.created_at %></td> </tr> <% end %> </table> -<h1>Debit Transactions</h1> +<h1>Debit Entries</h1> <table> <tr> <th class="nobg">ID</th> <th>Description</th> <th>Date</th> </tr> -<% @account.debit_transactions.each do |tr| %> +<% @account.debit_entries.each do |tr| %> <tr class="<%= cycle("even", "odd") -%>"> <td><%=h tr.id %></td> <td><%=h tr.description %></td> <td><%=h tr.created_at %></td> </tr> <% end %> </table> -</div> \ No newline at end of file +</div>