Sha256: 5bdeea6de106bd9bc62136f0cab043e7d82b69ce6a564a1cd4734c78ffe95f7c
Contents?: true
Size: 1.42 KB
Versions: 6
Compression:
Stored size: 1.42 KB
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? %> <fieldset data-hook="payment_list" class="no-border-bottom"> <legend align="center"><%= Spree.t(:payments) %></legend> <%= render :partial => 'list', :locals => { :payments => @payments } %> </fieldset> <% if @refunds.any? %> <fieldset data-hook="payment_list" class="no-border-bottom"> <legend align="center"><%= Spree.t(:refunds) %></legend> <%= render :partial => 'spree/admin/shared/refunds', :locals => { :refunds => @refunds, show_actions: true } %> </fieldset> <% end %> <% else %> <div class="alpha twelve columns no-objects-found"><%= Spree.t(:order_has_no_payments) %></div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems