<% payments.each do |payment| %> <% end %>
<%= "#{Spree.t('spree.date')}/#{Spree.t('spree.time')}" %> <%= Spree.t("amount") %> <%= Spree.t("payment_method") %>
<%= payment.created_at.to_s(:date_time24) %> <%= number_to_currency(payment.amount) %> <%= payment_method_name payment %> <% unless payment_method_name(payment) == 'Ebsin' %> <%= link_to Spree.t('show'), admin_order_payment_path(@order, payment) %> <% payment.actions.each do |action| %> <%= link_to Spree.t(action), fire_admin_order_payment_path(@order, payment, :e => action), :method => :put, :confirm => Spree.t('are_you_sure') %> <% end %> <% end %>