Listing payments

Create Payments: <%= link_to 'Manually', new_payment_path %> | <%= link_to 'Batched CSV', paypal_csvs_path %> | <%= link_to 'IPN', ipns_path %>

<% @payments.each do |payment| %> <% end %>
Payee User Member level Last Payment Amount
<%= payment.user.payee unless payment.user.blank? %> <%= link_to payment.user.name, payment.user unless payment.user.blank? %> <%= payment.user.member_level_string unless payment.user.blank? %> <%= payment.date %> <%= payment.amount %> <%= link_to 'Details', payment %> <%= link_to 'Edit', edit_payment_path(payment) %>