NKAHAT Resturant
Samtah, Le Le Mall
Phone: 0500581579
Email: nkahat@gmail.com
Date: 9/24/2015 TICKET NO: 88
Time: 6:41 PM Sales Rep: Administrator
Customer: ALABBAS
---------------------------------------------
Items QUANTITY x PRICE
---------------------------------------------
PIZZA CHICKEN.SMALL 2 x 13.00
* VIP Discount 1
------------- Total Before Discount ---------
Total Amount: |
-------------------- Gift -------------------
Total Gift: 0.00
------------------ Discount -----------------
VIP Discounts: 4.00
Happy Hour Discounts: 0.00
Other Discounts: 0.00
Total Discounts: 4.00
------------------ Total --------------------
Total $ 22.00
----------------- Payment -------------------
Paid $100.00
Change $78.00
---------------------------------------------
T H A N K Y O U
fOLLOW US ON TWITTER @NKAHAT
@Jesse{PLAIN TOTAL} displays a value if it is different than {TICKET TOTAL}. That small trick allows you to remove {PLAIN TOTAL} (sub total) with square brackets on tickets that have no discount.
As discounts are order tags plain total will not work and we need to add them to ticket total by using expressions. However how discount types structured as separate order tag groups makes it a little long expression. I think @Jesseās sample explains how it should be done.
<J00>Total Discounts:|[=F(-1*(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))+TN('{ORDER STATE TOTAL:Gift}'))]
Here is something I can help you with: TIP:
Do not use a hairdryer on your keyboard to dry it - the keys may melt
I now have a brand new keyboard after tipping my water bottle on the old one andā¦guess the rest.
You might want to change < L > to < F > so instead of setting left alignmet you use fill. It may not cause you issues unless tou change your template and forget that its sets the format to left
< F > fills the character you type after it across the while ticket, good for using dividing sections on the receipt so instead of typing loads of ------- to fill across the receipt you could just format as:
I have always used <L00> for my blank lines and never had any issues, presumably the size numbers make it a line formatter rather than a āset leftā tag if that makes sense?