<%= column_name %> | <% end %>
---|
<%=h @totals[column_name] %> | <% end %>
This group owes <%=h @totals['owed_out'] %> chips to other groups
<% end %> <% if @totals['owed_in'] != 0 %>Other groups owe <%=h @totals['owed_in'] %> chips to this group
<% end %>Date | Description | Acquired | Used | Traded or Sold | Borrowed(In) | Returned(Out) | Borrowed(Out) | Returned(In) | <% if staff_or_admin? %>Edit | Destroy | <% end %>
---|---|---|---|---|---|---|---|---|---|---|
<%=h chip_transaction.date %> | <%=h chip_transaction.description %> | <%=h chip_transaction.acquired %> | <%=h chip_transaction.used %> | <%=h chip_transaction.traded_sold %> | <%=h chip_transaction.borrowed_in %> | <%=h chip_transaction.returned_out %> | <%=h chip_transaction.borrowed_out %> | <%=h chip_transaction.returned_in %> | <% if staff_or_admin? %><%= link_to 'Edit', :action => 'edit', :id => chip_transaction %> | <%= link_to 'Destroy', { :action => 'destroy', :id => chip_transaction }, :confirm => 'Are you sure?' %> | <% end %>