2023-03-19 15:15:56 +00:00
|
|
|
<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>
|
2023-03-19 15:24:56 +00:00
|
|
|
<td>
|
|
|
|
<% if contribution.member %>
|
|
|
|
<%= contribution.member.number %>. <%= contribution.member.display_name %>
|
|
|
|
<% else %>
|
|
|
|
---
|
|
|
|
<% end %>
|
|
|
|
</td>
|
2023-03-19 15:15:56 +00:00
|
|
|
<td><%= contribution.eurocents %></td>
|
|
|
|
<td><%= contribution.payment_method %></td>
|
|
|
|
<td>
|
|
|
|
<%= link_to t('members.index.actions.show'), contribution.member %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|