i am trying to align the bill template but i its not aligning. we have try to play around but no use.
layout:
> ` [LAYOUT]
-- General layout
<F>=
<XCT>27,33,48
<J>TAX INVOICE
<XCT>27,33,0
<F>=
<J00>{TICKET DATE} {TIME}|{TICKET TAG:SG}
<J00>Service:{USER NAME}|People: {TICKET TAG:People}
<XCT>27,33,48
<J>Table: {ENTITY NAME:Table}
<XCT>27,33,0
{ENTITIES}
<F>=
<J00>QTY DESCRIPTION|AMOUNT
<F>=
{ORDERS}
<F>=
[<J00>|Amount:| ${PLAIN TOTAL}]
{DISCOUNTS}
{TAXES}
{SERVICES}
[<J00>|Total Gift:| ${ORDER STATE TOTAL:Gift}]
<XCT>27,33,48
[<J00>|TOTAL:| ${TICKET TOTAL}]
<XCT>27,33,0
{PAYMENTS}
[<J00>|{TICKET TAG:CCtype}]
[<J00>|Tendered Total:| ${TENDERED TOTAL}]
{CHANGES}
[<J00>|Balance:| ${CHANGE TOTAL}]
<F>=
<XCT>27,33,48
<J>Order Number: {TICKET NO}
<XCT>27,33,0
<F>=
<C00>THANK YOU FOR VISITING
<C00>PLEASE COME AGAIN
<L>
[DISCOUNTS]
[<J00>|{CALCULATION NAME} ({CALCULATION AMOUNT}%):| ${CALCULATION TOTAL}]
[TAXES]
<J00>|{TAX NAME}:| ${TAX AMOUNT}
[PAYMENTS]
<J00> |{PAYMENT NAME}:| ${PAYMENT AMOUNT}
[CHANGES]
[<J00>|{CHANGE TOTAL}]
[SERVICES]
<J00>|{CALCULATION NAME}:| ${CALCULATION TOTAL}
[ORDERS]
-- Default format for orders
<J00>{QUANTITY} {NAME}| ${TOTAL AMOUNT}
{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}
[ENTITIES:Customer]
-- Customer entity format
<C00>Customer: {ENTITY NAME}
<C00>Balance: $[=F(0-TN('{ENTITY Balance}'))
<L>
[ENTITIES:Layby]
-- Customer entity format
<C00>Layby: {ENTITY NAME}
<C00>Balance: $[=F(0-TN('{ENTITY Balance}'))
<L>
[ENTITIES:Gift Certificate]
-- Customer entity format
<C00>Gift Certificate: {ENTITY NAME}
<C00>Balance: $[=F(0-TN('{ENTITY Balance}'))
<QR>{ENTITY NAME}
<L>`
NOTE:
if bill pay by CC then its display aligned
and if i remove the CC tag from template
>{PAYMENTS}
>[|{TICKET TAG:CCtype}]
then it aligns properly
i spend so much time playing around with the template
now i have achieved alignement