id="listing_transfer_items"> <% if show_expected %><% end %> <% if show_received %><% end %> <% if show_actions %><% end %> <% transfer_items.each do |item| %> <%- variant = item.variant %> <% if show_expected %><%= render partial: 'transfer_item_actions', locals: { item: item, show_actions: show_actions, quantity_type: 'expected'} %><% end %> <% if show_received %><%= render partial: 'transfer_item_actions', locals: { item: item, show_actions: show_actions, quantity_type: 'received'} %><% end %> <% end %>
<%= Spree.t(:item) %> <%= Spree.t(:options) %><%= Spree.t(:expected) %><%= Spree.t(:received) %>
<%= image_tag(variant.display_image(fallback: false).attachment(:small)) %>
<% @variant_display_attributes.each do |display_attribute| %> <% end %>
<%= Spree.t(display_attribute[:translation_key]) %> <%= variant.send(display_attribute[:attr_name]) %>
<% variant.option_values.sort_by(&:option_type_name).each do |option_value| %> <% end %>
<%= option_value.option_type_presentation %> <%= option_value.presentation %>
> <%= Spree.t(:no_resource_found, resource: I18n.t(:other, scope: 'activerecord.models.spree/transfer_item')) %>