parent
a106bc0357
commit
cd43a5c382
6 changed files with 42 additions and 7 deletions
@ -0,0 +1,24 @@ |
||||
<p style="color: green"><%= notice %></p> |
||||
|
||||
<h1><%= t 'contributions.index.title' %></h1> |
||||
|
||||
<table class='zebra'> |
||||
<tr> |
||||
<th><%= t('contributions.attributes.payment_on') %></th> |
||||
<th><%= t('members.attributes.display_name') %></th> |
||||
<th><%= t('contributions.attributes.amount') %></th> |
||||
<th><%= t('contributions.attributes.payment_method') %></th> |
||||
<th><%= t('members.index.actions.title') %></th> |
||||
</tr> |
||||
<% @contributions.each do |contribution| %> |
||||
<tr id="<%= dom_id contribution %>"> |
||||
<td><%= contribution.payment_on %></td> |
||||
<td><%= contribution.member.number %>. <%= contribution.member.display_name %></td> |
||||
<td><%= contribution.eurocents %></td> |
||||
<td><%= contribution.payment_method %></td> |
||||
<td> |
||||
<%= link_to t('members.index.actions.show'), contribution.member %> |
||||
</td> |
||||
</tr> |
||||
<% end %> |
||||
</table> |
Loading…
Reference in new issue