New customer order:

----------------------------------------------------------------------

Summary

Order: #{{ order.number }}
Date: {{ order.date | date: "%Y-%m-%d %H:%M" }}
Total: ${{ order.total }}
Status: {{ order.status | remove: "-" | upcase }}

Customer: {{ order.customer_first_name }} {{ order.customer_last_name }}
Email: {{ order.customer_email }}
Phone: {{ order.customer_phone }}

{% if order.billing_address.address and order.billing_address.address != "" %}

Billing Address

{{ order.billing_address.first_name }} {{ order.billing_address.last_name }}
{{ order.billing_address.address }}
{% if order.billing_address.complement and order.billing_address.complement != "" %} {{ order.billing_address.complement }}
{% endif %} {% if order.billing_address.suburb and order.billing_address.suburb != "" %} {{ order.billing_address.suburb }}
{% endif %} {% if order.billing_address.city and order.billing_address.city != "" %} {{ order.billing_address.city }}
{% endif %} {% if order.billing_address.state and order.billing_address.state != "" %} {{ order.billing_address.state }}
{% endif %} {{ order.billing_address.postcode }}

{% endif %}
{% if order.shipping_address.address and order.shipping_address.address != "" %}

Shipping Address

{{ order.shipping_address.first_name }} {{ order.shipping_address.last_name }}
{{ order.shipping_address.address }}
{% if order.shipping_address.complement and order.shipping_address.complement != "" %} {{ order.shipping_address.complement }}
{% endif %} {% if order.shipping_address.suburb and order.shipping_address.suburb != "" %} {{ order.shipping_address.suburb }}
{% endif %} {% if order.shipping_address.city and order.shipping_address.city != "" %} {{ order.shipping_address.city }}
{% endif %} {% if order.shipping_address.state and order.shipping_address.state != "" %} {{ order.shipping_address.state }}
{% endif %} {{ order.shipping_address.postcode }}

{% endif %}

Purchased Item(s)

{% for item in order._items %} {% endfor %} {% if order.tax > 0 %} {% endif %} {% if order.discount > 0 %} {% endif %}
Product Quantity Price Tax Discount Subtotal Total
{{ item.name }} {% if item.options and item.options != "" %}
{% endif %} {{ item.options | split: "\n" | join: "
" | raw }}
{{ item.qty }} ${{ item.price }} ${{ item.tax }} ${{ item.discount }} ${{ item.subtotal }} ${{ item.total }}
Subtotal ${{ order.subtotal }}
Shipping ${{ order.shipping }}
Tax ${{ order.tax }}
Discount {% if order.coupon and order.coupon != "" %} ({{ order.coupon }}) {% endif %} ${{ order.discount }}
Total ${{ order.total }}
{% if order._deliveries.size > 0 %}

Delivery Method(s)

{% for delivery in order._deliveries %} {{ delivery._supplier.name }}: {{ delivery.name }} - {{ delivery.days }}
{% endfor %}

{% endif %} {% if order.notes and order.notes != "" %}

Additional Notes

{{ order.notes | newline_to_br }}

{% endif %}