Sha256: 4e45657aae167046b1f859cdbf9a7bde79355d764d1f3a669f580c0ec8195cfb

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %>

<% content_for :page_title do %>
  <i class="fa fa-arrow-right"></i>
  <%= Spree::Payment.model_name.human %>
  <i class="fa fa-arrow-right"></i>
  <%= payment_method_name(@payment) %>
  &nbsp;
  <span class="state <%= @payment.state %>">
    <%= Spree.t(@payment.state, :scope => :payment_states, :default => @payment.state.capitalize) %>
  </span>
<% end %>

<% content_for :page_actions do %>
  <li><%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment), :icon => 'archive' %></li>
  <li><%= button_link_to Spree.t(:back_to_payments_list), spree.admin_order_payments_url(@order), :icon => 'arrow-left' %></li>
<% end %>

<%= render :partial => "spree/admin/payments/source_views/#{@payment.payment_method.method_type}", :locals => { :payment => @payment.source.is_a?(Spree::Payment) ? @payment.source : @payment } %>

<div data-hook="amount" class="align-center">
  <h5><%= label_tag nil, Spree::Payment.human_attribute_name(:amount) %>: <span class="green"><%= @payment.display_amount.to_html %></span> </h5>
</div>

<%= render 'spree/admin/payments/capture_events' %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/payments/show.html.erb
solidus_backend-1.3.1 app/views/spree/admin/payments/show.html.erb
solidus_backend-1.3.0 app/views/spree/admin/payments/show.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/payments/show.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/payments/show.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/payments/show.html.erb