Sha256: cfce1c9142186e8747474be45c67da10dc60afb7b959a3cc0f93538e8aed1edd
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %> <% content_for :page_title do %> <i class="icon-arrow-right"></i> <%= link_to Spree.t(:payments), admin_order_payments_path(@order) %> <i class="icon-arrow-right"></i> <%= payment_method_name(@payment) %> <i class="icon-arrow-right"></i> <%= Spree.t('refund', :scope => :paypal) %> <% end %> <%= form_tag paypal_refund_admin_order_payment_path(@order, @payment) do %> <div class="label-block left five columns alpha"> <div> <fieldset data-hook="admin_variant_new_form"> <legend><%= Spree.t('refund', :scope => :paypal) %></legend> <div class='field'> <%= label_tag 'refund_amount', Spree.t(:refund_amount, :scope => 'paypal') %> <small><em><%= Spree.t(:original_amount, :scope => 'paypal', :amount => @payment.display_amount) %></em></small><br> <% symbol = ::Money.new(1, Spree::Config[:currency]).symbol %> <% if Spree::Config[:currency_symbol_position] == "before" %> <%= symbol %><%= text_field_tag 'refund_amount', @payment.amount %> <% else %> <%= text_field_tag 'refund_amount', @payment.amount %><%= symbol %> <% end %> </div> <%= button Spree.t(:refund, :scope => 'paypal'), 'icon-dollar' %> </fieldset> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_paypal_express_mutalis-2.0.4 | app/views/spree/admin/payments/paypal_refund.html.erb |