% if order.line_items.assemblies.any? %>
<%= Spree::Product.human_attribute_name(:name) %> | <%= Spree::LineItem.human_attribute_name(:price) %> | <%= Spree::LineItem.human_attribute_name(:quantity) %> | <%= Spree::LineItem.human_attribute_name(:total) %> | <%= image_tag item.variant.display_image.attachment(:mini) %> |
<%= item.variant.product.name %> <%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %> <% if item.variant.sku.present? %> <%= Spree::Variant.human_attribute_name(:sku) %>: <%= item.variant.sku %> <% end %> |
<%= item.single_money.to_html %> | <%= item.quantity %> | <%= number_field_tag :quantity, item.quantity, :min => 0, :class => "line_item_quantity", :size => 5 %> | <%= line_item_shipment_price(item, item.quantity) %> | <% if can? :update, item %> <%= link_to '', '#', :class => 'save-line-item fa fa-ok no-text with-tip', :title => Spree.t('actions.save') %> <%= link_to '', '#', :class => 'cancel-line-item fa fa-cancel no-text with-tip', :title => Spree.t('actions.cancel') %> <%= link_to '', '#', :class => 'edit-line-item fa fa-edit no-text with-tip', :title => Spree.t('actions.edit') %> <%= link_to '', '#', :class => 'delete-line-item fa fa-trash no-text with-tip', :title => Spree.t('actions.delete') %> <% end %> | <% end %> <% end %>
---|