<%= render :partial => 'spree/admin/shared/order_tabs', locals: { current: 'Payments' }%> <% content_for :page_title do %> <%= I18n.t(:one, scope: "activerecord.models.spree/payment") %> <%= Spree.t(:log_entries) %> <% end %> <% content_for :page_actions do %>
  • <%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment), :icon => 'icon-archive' %>
  • <%= button_link_to Spree.t(:back_to_payment), spree.admin_order_payment_url(@order, @payment), :icon => 'icon-arrow-left' %>
  • <% end %> <% @log_entries.each do |entry| %> <%= render "spree/admin/log_entries/#{@payment.payment_method.method_type.gsub(' ', '').underscore}", entry: entry rescue render "spree/admin/log_entries/#{@payment.payment_method.name.gsub(' ', '').underscore}", entry: entry %> <% end %>

    '> <%= pretty_time(entry.created_at) %>