Date: ${OrderDate}
Customer: ${CustomerID} (${CompanyName!'N/A'})
| Product | Quantity | Unit Price | Discount | Line Total |
|---|---|---|---|---|
| ${item.ProductName!'N/A'} | ${qty} | ${price?string("0.00")} | ${discount?string("0%")} | ${lineTotal?string("0.00")} |
| Subtotal: | ${subtotal?string("0.00")} | |||
| Freight: | ${(Freight!0)?string("0.00")} | |||
| Tax (8%): | ${tax?string("0.00")} | |||
| Grand Total: | ${(subtotal + freightVal + tax)?string("0.00")} | |||