Sha256: 68900648091ba92b3843e541903690015ded1fe24b9014ac10c1c541b5b305b0
Contents?: true
Size: 1.41 KB
Versions: 6
Compression:
Stored size: 1.41 KB
Contents
.order_items .table %table.data %thead %tr %th.qty Qty %th Item %th SKU %th.money Cost %th.money Price %th.money= Shoppe.settings.tax_name %th.money Sub-Total %tbody - for item in @order.order_items %tr %td.qty= item.quantity %td.product= item.ordered_item.full_name %td.sku= item.ordered_item.sku %td.money= number_to_currency item.total_cost %td.money= number_to_currency item.sub_total %td.money= number_to_currency item.tax_amount %td.money= number_to_currency item.total - if @order.delivery_service %td.qty %td.product= link_to @order.delivery_service.name, [:edit, @order.delivery_service] %td.sku %td.money= number_to_currency @order.delivery_cost_price %td.money= number_to_currency @order.delivery_price %td.money= number_to_currency @order.delivery_tax_amount %td.money= number_to_currency @order.delivery_price + @order.delivery_tax_amount %tfoot %tr %td.qty= @order.total_items %td{:colspan => 2} %td.money= number_to_currency @order.total_cost %td.money= number_to_currency @order.total_before_tax %td.money= number_to_currency @order.tax %td.money= number_to_currency @order.total
Version data entries
6 entries across 6 versions & 1 rubygems