Sha256: 85aab59e0246e6bf28dcfa35ead09c5a8e686565417c8fca3e3bdc2f7efe9d30

Contents?: true

Size: 1008 Bytes

Versions: 27

Compression:

Stored size: 1008 Bytes

Contents

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

<% content_for :page_actions do %>  
  <% if @order.outstanding_balance? %>
    <li id="new_payment_section">
      <%= button_link_to Spree.t(:new_payment), new_admin_order_payment_url(@order), :icon => 'plus' %>
    </li>
  <% end %>  
  <li><%= button_link_to Spree.t(:back_to_orders_list), admin_orders_path, :icon => 'arrow-left' %></li>
<% end %>

<% content_for :page_title do %>
  <i class="fa fa-arrow-right"></i> <%= Spree.t(:payments) %>
<% end %>

<% if @order.outstanding_balance? %>
  <h5 class="outstanding-balance"><%= @order.outstanding_balance < 0 ? Spree.t(:credit_owed) : Spree.t(:balance_due) %>: <strong><%= @order.display_outstanding_balance %></strong></h5>
<% end %>

<% if @payments.any? %>
  <%= render :partial => 'list', :locals => { :payments => @payments } %>
<% else %>
  <div class="alpha twelve columns no-objects-found"><%= Spree.t(:order_has_no_payments) %></div>
<% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
spree_backend-2.3.13 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.14 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.12 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.13 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.11 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.12 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.10 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.9 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.11 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.10 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.8 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.7 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.9 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.6 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.8 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.5 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.7 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.4 app/views/spree/admin/payments/index.html.erb
spree_backend-2.2.6 app/views/spree/admin/payments/index.html.erb
spree_backend-2.3.3 app/views/spree/admin/payments/index.html.erb