Sha256: 5dc1bb0d3a14fd7bf02e18c28eb8fb9bdd0ab4527fe81e4a25f10f9ad70de42d
Contents?: true
Size: 1.1 KB
Versions: 18
Compression:
Stored size: 1.1 KB
Contents
<%= render partial: 'spree/admin/shared/order_tabs', locals: { current: :payments } %> <% content_for :page_title do %> / <%= link_to "#{Spree.t(:payment)} #{@refund.payment.id}", spree.admin_order_payment_path(@refund.payment.order, @refund.payment) %> / <%= Spree.t(:refund) %> <%= @refund.id %> <% end %> <%= form_for [:admin, @refund.payment.order, @refund.payment, @refund] do |f| %> <fieldset> <div data-hook="admin_refund_form_fields"> <div class="form-group"> <%= f.label :amount, Spree.t(:amount) %><br/> <%= @refund.amount %> </div> <div class="form-group"> <%= f.label :refund_reason_id, Spree.t(:reason) %><br/> <%= f.collection_select(:refund_reason_id, refund_reasons, :id, :name, {}, {class: 'select2'}) %> </div> </div> <div class="form-actions" data-hook="buttons"> <%= button Spree.t('actions.save'), 'save' %> <span class="or"><%= Spree.t(:or) %></span> <%= button_link_to Spree.t('actions.cancel'), spree.admin_order_payments_url(@refund.payment.order), icon: "delete" %> </div> </fieldset> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems