<%= return_item.inventory_unit.variant.name %>
<%= return_item.inventory_unit.variant.options_text %>
|
<%= reimbursement_type_name(return_item.preferred_reimbursement_type) %>
|
<%= item_fields.select(:override_reimbursement_type_id,
reimbursement_types.collect { |r| [r.name.humanize, r.id] },
{include_blank: true},
{class: 'custom-select fullwidth'}
) %>
|
<%= item_fields.text_field :amount, { class: 'refund-amount-input' } %>
|
<%= return_item.display_total %>
|
<% if return_item.exchange_processed? %>
<%= return_item.exchange_variant.exchange_name %>
<% else %>
<%= item_fields.collection_select :exchange_variant_id, return_item.eligible_exchange_variants(@stock_locations), :id, :exchange_name, { include_blank: true }, { class: "custom-select fullwidth return-item-exchange-selection" } %>
<% end %>
|
<% end %>