Well there is no need for that conversation. @stephanhenning you’ve got a configuration issue so to help us on finding the issue show us screen shots of your ticket that contains a gift order, printer template and the print out generated with demo printer.
If i use the Gift button it prints correctly saying “Gift” when I use the “ask question” method it add a new line but does not calculate the total with the gifted item price included.
[LAYOUT]
-- General layout
<ec>
<BMP>C:\Program Files\SambaPOS4\Zucchini Logo Black.BMP
<el>
<T>PROFORMA
<J00>Date: {TICKET DATE} | Table: {ENTITY NAME:Tables}
<J00>Time: {TIME} | Waiter: {USER NAME}
{ENTITIES}
<J00>Ticket No:{TICKET NO} | Guests: {TICKET TAG:Person Count}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
<J10>Total:|R{TICKET TOTAL}
<L>
<R00>TIP: R______________
<L>
<L>
<R00>TOTAL: R______________
<L>
{PAYMENTS}
<DB>
<F>=
<C10>Live music every Sunday 1-3pm!
<C00> 044-8821240 info@zucchini.co.za
[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}
[ORDERS GROUP:İçecekler]
<C00>-{GROUP KEY}-
<C00>Monday Special 2 for 1!
[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}| @{TOTAL}| {TOTAL AMOUNT}
{ORDER TAGS}
[ORDERS:Gift]
-- Format for gifted orders
<J00>- {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:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
<J00>Total FREE:|{ORDER STATE TOTAL:Gift}]
<J00>Discounts:|=F(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))]
<J00>TOTAL SAVINGS:|=F(-1*(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))+TN('{ORDER STATE TOTAL:Gift}'))]
So you simply just need to add another automation to change order State of the item and copy what Gift button does. I will give you an example.
Modify your Add Order action and put the following:
Order State Name = [:Order State Name]
Order State = [:Order State]
Then delete the action from your Automation Command Executed rule and save it… open it up again and add the action. Fill everything in like before but this time for Order State Name put GStatus and for Order State put Gift
Thats all you need to do it will work like you described.
Moore's Dairy Creme
Owner Jesse And Melissa Parker
( XXX ) XXX - XXXX
Ticket# 67 OP# 0001 TE# 1 TR# 395
1 Burrito 4.00
- 1 Dr Pepper.Small **GIFT**
Subtotal 4.00
State Sales Tax 6.50 % 0.26
County Sales Tax 1.75 % 0.07
Total 4.33
Cash Tend 5.00
Change Due 0.67
# ITEMS SOLD 2
TC# 5126 4934 8224 1601 5794
Thank you very much @Jesse
Please have a look at my printer template above, concerning the last bit of teh template to show discount explanation for a customer discount on the bill. Does it all seem right?
I’m getting an error when a customer is selected during print bill, unselect a customer and it prints perfectly.
The error says: check template and printer
Positive number required
Parameter name: lenghtInTextElement
Your last 2 expressions are missing the opening [ bracket.