Invoice ID {{ order.invoice_id }}

Order Details

{{ $index+1 }} {{ items.item_name }} (x{{ items.item_quantity | formatDecimal:2 }}) {{ items.item_total | formatDecimal:2 }}
Subtotal {{ order.subtotal | formatDecimal:2 }}
Discount {{ order.discount_type == 'percentage' ? '('+order.discount_amount+'%)' : '' }} {{ order.discount_type == 'percentage' ? (_percentage(order.payable_amount, order.discount_amount) | formatDecimal:2) : (order.discount_amount | formatDecimal:2) }}
TAX {{ order.tax_amount | formatDecimal:2 }}
Previous Due {{ order.previous_due | formatDecimal:2 }}
Payable Amount ({{ order.total_items }} items) {{ order.payable_amount | formatDecimal:2 }}
{{ payments.name }} on {{ payments.created_at }} by {{ payments.by }} {{ payments.amount | formatDecimal:2 }}
Due {{ order.due | formatDecimal:2 }}
Balance {{ order.balance | formatDecimal:2 }}
Notes: {{ order.invoice_note }}