Sort member contributions by payment date
This commit is contained in:
parent
c45beb877e
commit
a1be74ed2d
@ -33,7 +33,7 @@
|
||||
<th><%= t('contributions.attributes.payment_reference') %></th>
|
||||
<th><%= t('contributions.attributes.amount') %></th>
|
||||
</tr>
|
||||
<% @member.contributions.each do |contribution| %>
|
||||
<% @member.contributions.order(payment_on: :asc).each do |contribution| %>
|
||||
<tr>
|
||||
<td><%= contribution.payment_on %></td>
|
||||
<td><%= contribution.payment_method %></td>
|
||||
|
Loading…
Reference in New Issue
Block a user