Sha256: 7ce2a72b389dc966d12204be2c601e38c95589e8ad39d52cdef28bc49b8a8151

Contents?: true

Size: 961 Bytes

Versions: 127

Compression:

Stored size: 961 Bytes

Contents

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

<% content_for :page_title do %>
  /
  <%= I18n.t(:one, scope: "activerecord.models.spree/payment") %>
  /
  <%= payment_method_name(@payment) %>
  /
  <span class="state <%= @payment.state %>">
    <%= Spree.t(@payment.state, scope: :payment_states, default: @payment.state.capitalize) %>
  </span>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment), icon: 'file' %>
<% 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 class="alert alert-success" data-hook="amount">
  <%= Spree.t(:amount) %>: <%= @payment.display_amount.to_html %>
</div>

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

Version data entries

127 entries across 127 versions & 1 rubygems

Version Path
spree_backend-4.1.8 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.7 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.6 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.5 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.4 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.3 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.2 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.1 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.0 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.0.rc3 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.0.rc2 app/views/spree/admin/payments/show.html.erb
spree_backend-4.1.0.rc1 app/views/spree/admin/payments/show.html.erb
spree_backend-3.4.6 app/views/spree/admin/payments/show.html.erb
spree_backend-3.7.10 app/views/spree/admin/payments/show.html.erb
spree_backend-4.0.3 app/views/spree/admin/payments/show.html.erb
spree_backend-3.7.9 app/views/spree/admin/payments/show.html.erb
spree_backend-4.0.2 app/views/spree/admin/payments/show.html.erb
spree_backend-3.7.8 app/views/spree/admin/payments/show.html.erb
spree_backend-4.0.1 app/views/spree/admin/payments/show.html.erb
spree_backend-3.7.7 app/views/spree/admin/payments/show.html.erb