User: <%= @payment.user.name_with_payee_and_member_level unless @payment.user.blank? %>

Paid for month beginning: <%= @payment.date %>

Last Modified by: <%= user = @users.find{|u| u.id == @payment.created_by}; link_to user.name, user unless user.blank? %>

Created date: <%= @payment.created_at %>

Updated date: <%= @payment.updated_at %>

<%= link_to 'Edit', edit_payment_path(@payment) %> | <%= link_to 'Destroy', @payment, :confirm => 'Are you sure you want to destroy this payment?', :method => :delete if can? :destroy, @payment %> | <%= link_to 'Back', payments_path %>