<% if order.line_items.assemblies.any? %>
<%= Spree.t(:product_bundles) %>
<% order.line_items.assemblies.each do |item| %> <% end %>
<%= Spree.t(:item_description) %> <%= Spree.t(:price) %> <%= Spree.t(:quantity) %> <%= Spree.t(:total) %>
<%= mini_image(item.variant) %> <%= item.product.name %> - <%= item.variant.sku %>
<%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %>
<%= item.single_money.to_html %> <%= item.quantity %> <%= item.display_amount.to_html %> <% unless item.any_units_shipped? %> <% if can? :update, item %> <%= link_to '', '#', :class => 'save-line-item fa fa-ok no-text with-tip', :data => { 'line-item-id' => item.id, :action => 'save'}, :title => Spree.t('actions.save'), :style => 'display: none' %> <%= link_to '', '#', :class => 'cancel-line-item fa fa-cancel no-text with-tip', :data => {:action => 'cancel'}, :title => Spree.t('actions.cancel'), :style => 'display: none' %> <%= link_to '', '#', :class => 'edit-line-item fa fa-edit no-text with-tip', :data => {:action => 'edit'}, :title => Spree.t('edit') %> <%= link_to '', '#', :class => 'delete-line-item fa fa-trash no-text with-tip', :data => { 'line-item-id' => item.id, :action => 'remove'}, :title => Spree.t('delete') %> <% end %> <% end %>
<% end %>