Sha256: ca06762dcb6f6c52865558aaa2dbee5e842d14be730f61c6d3c2ffea715885cf

Contents?: true

Size: 991 Bytes

Versions: 5

Compression:

Stored size: 991 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_method_name(@payment) %>
  <span class="pill pill-<%= @payment.state %>">
    <%= Spree.t(@payment.state, scope: :payment_states ) %>
  </span>
<% end %>


<% content_for :page_actions do %>
  <li><%= button_link_to Spree.t(:logs), spree.admin_order_payment_log_entries_url(@order, @payment) %></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

5 entries across 5 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.4.1 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.4.0 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/payments/show.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/payments/show.html.erb