Sha256: 50ebd1c1b893ce8858c56ee28a031f5cc70e3ad06cdc691f71cc9fba92385ffa

Contents?: true

Size: 747 Bytes

Versions: 23

Compression:

Stored size: 747 Bytes

Contents

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
<% if @order.outstanding_balance? %>
    <li id="new_payment_section">
      <%= button_link_to t(:new_payment), new_admin_order_payment_url(@order), :icon => 'add' %>
    </li>
<% end %>
  </ul>
  <br class="clear" />
</div>

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

<% if @order.outstanding_balance? %>
  <p><%= @order.outstanding_balance < 0 ? t(:credit_owed) : t(:balance_due) %> <strong><%= number_to_currency @order.outstanding_balance %></strong></p>
<% end %>

<h2><%= t(:payments) %></h2>
<%= render :partial => 'list', :locals => { :payments => @payments } %>


<%= button_link_to t(:continue), admin_orders_url %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.5 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.7 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.4 app/views/spree/admin/payments/index.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/payments/index.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.3 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.6 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.2 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.1 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.0 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.4 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.0.rc2 app/views/spree/admin/payments/index.html.erb
spree_core-1.1.0.rc1 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.3 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.2 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.1 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.0 app/views/spree/admin/payments/index.html.erb
spree_core-1.0.0.rc4 app/views/spree/admin/payments/index.html.erb