2013-02-12 08:58:17 +00:00
|
|
|
<h1>Listing payments</h1>
|
|
|
|
|
2013-08-28 12:15:50 +00:00
|
|
|
<p>
|
|
|
|
<b>Create Payments:</b>
|
|
|
|
<%= link_to 'Manually', new_payment_path %> |
|
|
|
|
<%= link_to 'Batched CSV', paypal_csvs_path %> |
|
|
|
|
<%= link_to 'IPN', ipns_path %>
|
|
|
|
</p>
|
|
|
|
|
2013-02-12 08:58:17 +00:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>User</th>
|
|
|
|
<th>Paid for month <br/>beginning</th>
|
2013-08-24 09:18:37 +00:00
|
|
|
<th>Amount</th>
|
2013-02-12 08:58:17 +00:00
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% @payments.each do |payment| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= link_to payment.user.name_with_payee_and_member_level, payment.user unless payment.user.blank? %></td>
|
|
|
|
<td><%= payment.human_date %></td>
|
2013-08-24 09:18:37 +00:00
|
|
|
<td><%= payment.amount %></td>
|
2013-02-12 08:58:17 +00:00
|
|
|
<td><%= link_to 'Details', payment %></td>
|
|
|
|
<td><%= link_to 'Edit', edit_payment_path(payment) %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|