<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %>

<%= Spree.t("gtpay_transactions") %>

<% end %> <%= render :partial => "search_form" %> <% @gtpay_transactions.each do |transaction|%> <% end %>
<%= Spree.t("transaction_id") %> <%= Spree.t("transaction_date") %> <%= Spree.t("amount") %> <%= Spree.t("order#") %> <%= Spree.t("user") %> <%= Spree.t("status") %> <%= Spree.t("action") %>
<%= transaction.gtpay_tranx_id %> <%= transaction.created_at %> <%= Spree::Money.new(transaction.gtpay_tranx_amount) %> <%= transaction.order.number if transaction.order.present? %> <%= transaction.user.email %> <%= transaction.status %> <%= link_to_unless(transaction.pending?, "") do %> <%= button_to(Spree.t(:query), query_interface_admin_gtpay_transaction_path(transaction), :remote => true, :confirm => "Are you sure?", :method => :get) %> <% end %>
<%= paginate @gtpay_transactions %>