<% @ipns.reverse!.each do |ipn| %> <% end %>
Date Name Item Amount
<%= ipn.payment_date %> <%= ipn.first_name %> <%= ipn.last_name %> <%= ipn.item_name %> <% if ipn.payment_gross.blank? %> <%= ipn.txn_type %> <% else %> <%= ipn.payment_gross %> <% end %> <% if ipn.payment.present? %> <%= link_to "Linked Payment", ipn.payment %> <% else %> <%= link_to "Try to link email '#{ipn.payer_email}' at membership level '#{ipn.payment_gross.to_i}'", link_ipn_path(ipn) %> <% end %> <%= link_to "Details", ipn %> <%= link_to "Validate", validate_ipn_path(ipn) %>