<%= t('.qty', default: 'Quantity') %> |
<%= t('.item', default: 'Item') %> |
<%= t('.price', default: 'Price') %> |
<%= t('.tax', default: 'Tax') %> |
<%= t('.subtotal', default: 'Sub Total') %> |
<% order.product_items.each do |item| %>
<%= item.qty %> |
<%= link_to(item.cache_the_title, item.product.try(:decorate).try(:the_url)) %> |
<%= item.cache_the_price %> |
<%= item.cache_the_tax %> |
<%= item.cache_the_sub_total %> |
<% end %>
|
<%= t('.total_excl', default: 'Total (excluding Tax)') %> |
<%= order.cache_the_sub_total %> |
|
<%= t('.tax', default: 'Tax') %> |
<%= order.cache_the_tax %> |
|
<%= t('.discount', default: 'Discount') %> |
<%= order.cache_the_discounts %> |
|
<%= t('.total_shipping', default: 'Total shipping') %> |
<%= order.cache_the_shipping %> |
|
<%= t('.total_price', default: 'Total Price') %> |
<%= order.cache_the_total %> |