Sha256: 1514671a1efa89aed485a18efcefa20ed694f8f3999a649f989748ebb5f3e875

Contents?: true

Size: 1010 Bytes

Versions: 33

Compression:

Stored size: 1010 Bytes

Contents

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

<% admin_breadcrumb(link_to plural_resource_name(Spree::Payment), spree.admin_order_payments_path(@order)) %>
<% admin_breadcrumb do %>
  <%= @payment.payment_method.name %>
  <span class="pill pill-<%= @payment.state %>">
    <%= t(@payment.state, scope: 'spree.payment_states') %>
  </span>
<% end %>


<% content_for :page_actions do %>
  <li><%= link_to t('spree.logs'), spree.admin_order_payment_log_entries_url(@order, @payment), class: 'btn btn-primary' %></li>
<% end %>

<%= render partial: "spree/admin/payments/source_views/#{@payment.payment_method.partial_name}", 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

33 entries across 33 versions & 2 rubygems

Version Path
solidus_backend-2.8.6 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.6.6 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.7.4 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.8.5 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.7.3 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.6.5 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.8.4 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.8.3 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.7.2 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.6.4 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.8.2 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.8.1 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.6.3 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.8.0 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.7.1 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.6.2 app/views/spree/admin/payments/show.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.14 app/views/spree/admin/payments/show.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.13 app/views/spree/admin/payments/show.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.12 app/views/spree/admin/payments/show.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.11 app/views/spree/admin/payments/show.html.erb