Sha256: 95d82b4b57f8d91ae8d17fb4874e21758271e2cc81b9e3613aa5045353cb578e

Contents?: true

Size: 692 Bytes

Versions: 2

Compression:

Stored size: 692 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 'admin/shared/order_tabs', :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 'list', :payments => @payments %>


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/payments/index.html.erb
spree_core-0.70.RC1 app/views/admin/payments/index.html.erb