<%= render partial: 'spree/admin/shared/order_tabs', locals: { current: :customer_returns } %> <% content_for :page_title do %> / <%= Spree::Reimbursement.model_name.human %> #<%= @reimbursement.number %> <% end %> <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @reimbursement } %>
<%= Spree.t(:items_reimbursed) %>
<% @reimbursement.return_items.each do |return_item| %> <% end %>
<%= Spree.t(:product) %> <%= Spree.t(:preferred_reimbursement_type) %> <%= Spree.t(:reimbursement_type_override) %> <%= Spree.t(:exchange_for) %> <%= Spree.t(:pre_tax_amount) %> <%= Spree.t(:total) %>
<%= link_to return_item.inventory_unit.variant.name, spree.edit_admin_product_path(return_item.inventory_unit.variant.product) %>
<%= return_item.inventory_unit.variant.options_text %>
<%= reimbursement_type_name(return_item.preferred_reimbursement_type) %> <%= reimbursement_type_name(return_item.override_reimbursement_type) %> <%= return_item.exchange_variant.try(:exchange_name) %> <%= return_item.display_pre_tax_amount %> <%= return_item.display_total %>
<%= Spree.t(:refunds) %>
<% @reimbursement.refunds.each do |refund| %> <% end %>
<%= Spree.t(:description) %> <%= Spree.t(:amount) %>
<%= refund.description %> <%= refund.display_amount %>
<% if @reimbursement.credits.any? %>
<%= Spree.t(:credits) %>
<% @reimbursement.credits.each do |credit| %> <% end %>
<%= Spree.t(:description) %> <%= Spree.t(:amount) %>
<%= credit.description %> <%= credit.display_amount %>
<% end %>