<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Customer Returns' } %> <% content_for :page_title do %> <%= Spree.t(:reimbursement) %> #<%= @reimbursement.number %> <% end %> <% content_for :page_actions do %>
  • <%= button_link_to Spree.t(:back_to_customer_return), url_for([:edit, :admin, @order, @reimbursement.customer_return]), :icon => 'arrow-left' %>
  • <% end %> <%= render :partial => 'spree/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) %>
    <%= return_item.inventory_unit.variant.name %>
    <%= 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 %>
    <%= Spree.t(:credits) %> <% @reimbursement.credits.each do |credit| %> <% end %>
    <%= Spree.t(:description) %> <%= Spree.t(:amount) %>
    <%= credit.description %> <%= credit.display_amount %>