Sha256: 527f59fb373f45eb0f30aed76bf7abc118ba571d563ca1346b73bd6735d926ff
Contents?: true
Size: 1.63 KB
Versions: 1
Compression:
Stored size: 1.63 KB
Contents
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %> <% content_for :page_title do %> / <%= link_to Spree.t(:payments), admin_order_payments_path(@order) %> / <%= payment_method_name(@payment) %> / <%= Spree.t('refund', :scope => :mollie) %> <% end %> <%= form_tag mollie_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 => :mollie) %></legend> <div class='form-group'> <%= label_tag 'refund_amount', Spree.t(:refund_amount, :scope => 'mollie') %> <small><em><%= Spree.t(:original_amount, :scope => 'mollie', :amount => @payment.display_amount) %></em></small><br> </div> <% currency = ::Money::Currency.new(Spree::Config[:currency]) %> <div class="form-group"> <div class="input-group"> <% if currency.symbol_first %> <span class="input-group-addon" id="basic-addon1"><%= currency.symbol %></span> <%= text_field_tag 'refund_amount', @payment.amount, class: 'form-control' %> <% else %> <%= text_field_tag 'refund_amount', @payment.amount, class: 'form-control' %> <span class="input-group-addon" id="basic-addon1"><%= currency.symbol %></span> <% end %> </div> </div> <div class="form-group"> <%= button Spree.t(:refund, scope: 'mollie'), 'money', class: 'btn btn-primary' %> </div> </fieldset> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_mollie-0.0.1 | app/views/spree/admin/payments/mollie_refund.html.erb |