Hi
updated the ticket close rule to have keepopen state instead of update ticket status
-When I add 0 priced item the keepopen state is actually false
-the first method u showed me did keepopen but the following gives false when order added:
Set first action to set state as true.
Add constraint ON THE ACTION of [=TN(’{TICKET TOTAL}’)] = 0
On the second one set the state as FALSE
Add actions constraint of [=TN(’{TICKET TOTAL}’)] > 0
Those are the main to.
You just then need to make sure the befroe ticket closing rule with the void constraint etc is setup as needed to ‘catch’ the senarios that may leave keepopen true like if you ass a 0 priced order then cancel it and close.
You are either doing it wrong or have other rules interfering, this screenshots I tested and works fine for me.
All me sending you a backup will do is give you a empty DB with default products and default setup plus the two rule i screenshot for you… Achives nothing.
Thank u for reply, ill try the brackets, i dunno what is wrong with the log out , it started happening after i installed the conditional task of time clock
I have fixed the autologout by removing the timeclock auto logout rule.
I fixed the QUOTES , now when i add a zero priced item the ticket keepopen state is TRUE but when i close ticket it just disapears. it does print to kitchen but doesnt stay open , whole ticket disapears
if i add order with zero price KeepOpen state is True
if i add another 0 priced : still true
if i add priced order its false
but if i close ticket with zero priced total it does send to kitchen but then disapears, the whole order just disapears doesnt stay open
i checked the quotes , all fixed , copied the quotes from ur code and added them just to be in the safe zone , what can i do to keep it in the entity screen as its still not showing after order is sent to kitchen
@S-SHERIF, I noticed that when opened the rule but do yourself a favour and make yourself a generic ask question action and when you arent getting expected result C&P your constraints etc into the question on the action where somethings not working as expected and remove/bypass constraints (set to any and add 1=1 or something), that way you can see what the expressions your using in your sonstraints are returning.
In this example you would have been expecting it to show as ‘True’ but you would have been getting blank…
This works pretty well for us… The only item we sell with a zero price is water… and the only issue i have run into is if you add water to a ticket… then someone adds a drink but then the customer decides they rather not do the drink and wants water the state changes to false for keep open so then the ticket completely closes out when closed. Is there a way for it to say if specific menu item is on a ticket and only that menu item without anything else the ticket is always left open? This way even if they change their mind it wont close the ticket. If someone orders water and just water or they order a water and leave we would then need to void the ticket to properly close it.
I would imagine you would need to have a report ticket expression on before ticket closing rule to check qty of menuitem x against ticket total order qty.