Sha256: 6afcb4e893988d79ea9a31c058718c0ec7c270f5ae44ebf692f96e8679ef4bd1
Contents?: true
Size: 1.27 KB
Versions: 36
Compression:
Stored size: 1.27 KB
Contents
<% if order.line_items.exists? %> <table class="line-items index" data-hook="line-items"> <thead> <th colspan="2"><%= Spree::LineItem.human_attribute_name(:name) %></th> <th><%= Spree::LineItem.human_attribute_name(:price) %></th> <th><%= Spree::LineItem.human_attribute_name(:quantity) %></th> <th><%= Spree::LineItem.human_attribute_name(:total_price) %></th> </thead> <tbody> <% order.line_items.each do |item| %> <tr class="line-item" id="line-item-<%= item.id %>"> <td class="line-item-image"> <%= render 'spree/admin/shared/image', image: (item.variant.gallery.images.first || item.variant.product.gallery.images.first), size: :mini %> </td> <td class="line-item-name"> <%= item.variant.product.name %><br><%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %> </td> <td class="line-item-price"> <%= item.single_money.to_html %> </td> <td class="line-item-qty-show"> <%= item.quantity %> </td> <td class="line-item-total"> <%= item.display_amount %> </td> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
36 entries across 36 versions & 1 rubygems