Weird thing, I can’t figure out what I did to get the [ORDERS] section messed up… {QUANTITY} {NAME}
gets displayed before product name as per the template… but the rest of the lines are reversed.
Below is the exact template I’m using.
[LAYOUT]
-- General layout
<div style="font-weight:normal;font-size:15px;font-family:'Tahoma'">
<BMP>C:\Users\int4\Documents\SambaPOS4\Images\abunaim.png
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
<C00>Check #{TICKET NO}
<F>
<F>
{ORDERS}
<F>
<F>
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<div style="font-weight:bold;font-size:20px;font-family:'Tahoma'">
<J10>Total:|[=FF('{TICKET TOTAL}','#,##0.##')]
</div>
{PAYMENTS}
<F>
<div style="font-size:20px;text-align:center;font-family:'Tahoma'">شكراً</div>
</div>
<DB>
[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
<J00>{PAYMENT NAME}|[=FF('{PAYMENT AMOUNT}','#,##0.##')]
[ORDERS]
-- Default format for orders
<L00>{QUANTITY} {NAME} [=FF('{TOTAL}','#,##0.##')]
{ORDER TAGS}
[ORDERS:Gift]
-- Format for gifted orders
<L00>{QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}
[ORDERS:Void]
-- Nothing will print for void lines
[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}
[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}
[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}