<%= order_number_format %>

Note: <%= note %>

Order Date: <%= created_at %>

Customer Point: <%= customer.point %>

Customer Name: <%= customer.name %>

Customer phone : <%= customer.phone %>

Customer email : <%= customer.email %>

Customer address : <%= customer.address %>

Customer address_2 : <%= customer.address_2 %>

Customer city : <%= customer.city %>

Customer state : <%= customer.state %>

Customer postcode : <%= customer.postcode %>

Customer country : <%= customer.country %>

Register : <%= register.name %>

Cashier : <% if(typeof sale_person_name != "undefined") { %> <%= sale_person_name %> <% } %>

<% if(add_shipping){ %>

Shipping method: <%- shipping_information.shipping_method_details.label %>

Shipping name: <%- shipping_information.name %>

Shipping address: <%- shipping_information.address %>

Shipping address 2: <%- shipping_information.address_2 %>

Shipping city: <%- shipping_information.city %>

Shipping postcode: <%- shipping_information.postcode %>

Shipping state: <%- shipping_information.state %>

<% }; %>
<% var total_qty = 0; %> <% items.forEach(function(item){ %> <% total_qty += item.qty; %> <% }); %> <% if(typeof fee_items != "undefined" ) { %> <% fee_items.forEach(function(fee_item){ %> <% }); %> <% } %> <% if(typeof total_fee != "undefined" && total_fee > 0) { %> <% } %> <% tax_details.forEach(function(tax){ %> <% }); %> <% if(typeof point_discount != "undefined" && point_discount.point_money){%> <% } %> <% if(typeof customer_total_paid_currency_formatted != "undefined") { %> <% } %> <% if(typeof tip != "undefined" && tip != null && tip.total > 0){%> <% } %>

Item

Price

Price(incl tax)

Qty

Total

Discount

Tax

Total incl_tax

<%= item.name %>

<% if(item.sub_name.length > 0){ %>

<%- item.sub_name %>

<% }; %> <% if(item.bundles.length > 0){ %> <% item.bundles.forEach(function(bundle){ %>

<%- bundle.qty %> x <%- bundle.label %>

<% }); %> <% }; %>

<% if( item.price_currency_formatted != item.final_price_currency_formatted ) {%> <%= item.price_currency_formatted %> <% }; %> <%= item.final_price_currency_formatted %>

<%= item.final_price_incl_tax_currency_formatted %>

<%= item.qty %>

<% if( item.refund_qty > 0 ) {%>

Refunded Qty: <%= item.refund_qty %>

<% }; %>

<%= item.total_currency_formatted %>

<%= item.final_discount_amount_currency_formatted %>

<%= item.tax_amount_currency_formatted %>

<%= item.total_incl_tax_currency_formatted %>

<%= fee_item.name %>

<%= fee_item.total %>

<%= fee_item.tax %>

<%= fee_item.total_incl_tax %>

Sub Total

<%= sub_total_currency_formatted %>

Fee

<%= total_fee %>

Shipping

<%= shipping_cost_currency_formatted %>

Discount

<%= final_discount_amount_currency_formatted %>

<%= tax.rate %>% - <%= tax.label %>

<%= tax.total %>

Total Tax

<%= tax_amount_currency_formatted %>

Grand Total

<%= grand_total_currency_formatted %>

Customer Point

<%= point_discount.point_money %>

Customer Paid

<%= customer_total_paid_currency_formatted %>

Remain Amount

<%= remain_paid_currency_formatted %>

Total QTY

<%= total_qty %>

TIP

<%= tip.total_currency_formatted %>

<% if(source_type == "desk"){ %>

Desk: <%= source.name %>

<% } %> <% if(source_type == "takeaway"){ %>

Takeaway: <%= source.name %>

<% } %>