Support forgotten members in contributions list

This commit is contained in:
Hugo Peixoto 2023-03-19 15:24:56 +00:00
parent cd43a5c382
commit c45beb877e

View File

@ -13,7 +13,13 @@
<% @contributions.each do |contribution| %> <% @contributions.each do |contribution| %>
<tr id="<%= dom_id contribution %>"> <tr id="<%= dom_id contribution %>">
<td><%= contribution.payment_on %></td> <td><%= contribution.payment_on %></td>
<td><%= contribution.member.number %>. <%= contribution.member.display_name %></td> <td>
<% if contribution.member %>
<%= contribution.member.number %>. <%= contribution.member.display_name %>
<% else %>
---
<% end %>
</td>
<td><%= contribution.eurocents %></td> <td><%= contribution.eurocents %></td>
<td><%= contribution.payment_method %></td> <td><%= contribution.payment_method %></td>
<td> <td>