<% content_for :page_title do %> Log Entries <% end %> <% @log_entries.each_with_index do |log_entry, index| %> <% end %>
Source Date Details
<%= log_entry.source_type %> <%= log_entry.created_at %> <% if log_entry.details.present? %> <% object = YAML.load(log_entry.details) %> <% if object.kind_of?(ActiveMerchant::Billing::Response) %> <%= render :partial => 'active_merchant_response', :locals => { :response => object, :index => index } %> <% else %> <% object.inspect %> <% end %> <% else %> unavailable <% end %> <%= link_to("View Payment", admin_order_payments_path(log_entry.source.order)) if log_entry.source.kind_of?(Spree::Payment) %>
<%= paginate @log_entries %> <% unless Spree.respond_to?(:solidus_gem_version) && Spree.solidus_gem_version.release >= Gem::Version.new('1.3') %> <% end %>