<%= link_to pretty_time(payment.created_at), spree.admin_order_payment_path(@order, payment) %> |
<%= payment.display_amount.to_html %> |
<%= payment_method_name(payment) %> |
<%= Spree.t(payment.state, :scope => :payment_states, :default => payment.state.capitalize) %> |
<% payment.actions.each do |action| %>
<%= link_to_with_icon action, Spree.t(action), fire_admin_order_payment_path(@order, payment, :e => action), :method => :put, :no_text => true, :data => {:action => action} %>
<% end %>
|
<% end %>