% captured = @order.financial_status == 'captured' %>
Billing Address | Shipping Address | Order Status | Payment Status |
---|---|---|---|
<%= raw @order.billing_address.name_and_address %> | <%= raw @order.shipping_address.name_and_address %> | <%= @order.status.capitalize %> | <%= @order.financial_status.capitalize %> |
Package <%= (i+1) %>: <%= op.shipping_method.service_name %> <%= op.status %> | ||||
Item | Status | Unit Price | Quantity | Subtotal |
---|---|---|---|---|
<% if img %> <% if li.variant.sku && li.variant.sku.strip.length > 0 %><%= li.variant.sku %> <% end %> <%= li.variant.title %> <% end %> |
<%= li.status.capitalize %> | <%= number_to_currency(li.unit_price) %> | <%= li.quantity %> | <%= number_to_currency(li.subtotal) %> |
Unpackaged Items | ||||
<% if img %> <% if li.variant.sku && li.variant.sku.strip.length > 0 %><%= li.variant.sku %> <% end %> <%= li.variant.title %> <% end %> |
<%= li.status.capitalize %> | <%= number_to_currency(li.unit_price) %> | <%= li.quantity %> | <%= number_to_currency(li.subtotal) %> |
Totals | ||||
Subtotal | <%= number_to_currency(@order.subtotal ) %> | |||
Tax | <%= number_to_currency(@order.tax ) %> | |||
Shipping & Handling | <%= number_to_currency(@order.shipping + @order.handling) %> | |||
Discount | <%= number_to_currency(@order.discount ) %> | |||
Total | <%= number_to_currency(@order.total ) %> |
<% content_for :caboose_css do %> <% end %> <% content_for :caboose_js do %> <% end %>