<%= return_item.inventory_unit.variant.name %>
<%= return_item.inventory_unit.variant.options_text %>
|
<%= return_item.inventory_unit.variant.sku %>
|
<%= return_item.display_pre_tax_amount %>
|
<%= reimbursement_type_name(return_item.preferred_reimbursement_type) %>
|
<%= return_item.exchange_variant.try(:exchange_name) %>
|
<%= return_item.acceptance_status_errors %>
|
<%= return_item.reception_status.humanize %>
|
<% unless return_item.received? %>
<%= form_for [:admin, return_item] do |f| %>
<%= f.hidden_field 'reception_status_event', value: 'receive' %>
<%= f.button Spree.t(:receive), class: 'fa icon_link no-text with-tip', "data-action" => 'save' %>
<% end %>
|
<% end %>
<% if show_decision %>
<%= button_to [:admin, return_item], { class: 'fa fa-thumbs-up icon_link no-text with-tip', params: { "return_item[acceptance_status]" => 'accepted' }, "data-action" => 'save', title: Spree.t(:accept), method: 'put' } do %>
<%= Spree.t(:accept) %>
<% end %>
<%= button_to [:admin, return_item], { class: 'fa fa-thumbs-down icon_link no-text with-tip', params: { "return_item[acceptance_status]" => 'rejected' }, "data-action" => 'remove', title: Spree.t(:reject), method: 'put' } do %>
<%= Spree.t(:reject) %>
<% end %>
|
<% end %>
<% end %>