sam2
March 21, 2019, 7:46pm
1
Hi sir i want to make time notification on kitchen display as now it show after 6 minute but i need immediate time on kitchen display and duration format of my widget is this
0-5: null:
5-10: <size 15>Order <m:> Minutes Ago Received.
10-60:<block 4 red><size 15>ATTENTION: <m:> Minutes Passed!!!
60:date:
Depends on methods used for display.
You would use state duration report expression as on method and if you wish to have different formatting for set periods would use ternary expression to return formatting tags depended on duration.
Pretty sure tasks have a similar duration expression available.
Another alternative to ternary expression in template might be to use a script to sender that section.
sam2
March 21, 2019, 8:30pm
3
this time and date starts after 20 to 30 minutes but same thing i want immediate after the ticket is starts display on kitchen screen so how to do this sir
Dont understand what your showing, a kitchen screen with date and time on each order. Right?
As I said you need to change the temple…
sam2
March 21, 2019, 8:36pm
5
hi sir this is my present template so what i have to change in this sir
[LAYOUT]
{ORDERS}
[ORDERS]
++New Order {ENTITY NAME:Table}
(Id={ORDER NO}-{NAME}-{TICKET ID})
(Table={ENTITY NAME:Table}-{TICKET ID})
(Table Name={ENTITY NAME:Table})
(Customer={ENTITY NAME:Customer})
(Product={PRODUCT NAME})
(Quantity={QUANTITY})
(Time={DATE:HH:mm})
{QUANTITY} {PRODUCT NAME}
{SORTED ORDER TAGS}
[ORDERS:Void]
++VOID {ENTITY NAME:Table}
(Id={ORDER NO}-{NAME}-{TICKET ID})
(Table={ENTITY NAME:Table}-{TICKET ID})
(Customer={ENTITY NAME:Customer})
(Product={PRODUCT NAME})
(Table Name={ENTITY NAME:Table})
(Time={DATE:HH:mm})
(Color=Red)
{QUANTITY} {PRODUCT NAME}
—VOID—
{QUANTITY} {PRODUCT NAME}
{SORTED ORDER TAGS}
[SORTED ORDER TAGS]
{ORDER TAG QUANTITY} {ORDER TAG NAME}
Thanks but you need to select code and click </> before posting else forum strips code.
sam2
March 21, 2019, 8:39pm
7
sorry sir i dint know about that
sam2
March 21, 2019, 8:56pm
8
indent preformatted text by 4 spaces
[LAYOUT]
{ORDERS}
[ORDERS]
++New Order {ENTITY NAME:Table}
(Id={ORDER NO}-{NAME}-{TICKET ID})
(Table={ENTITY NAME:Table}-{TICKET ID})
(Table Name={ENTITY NAME:Table})
(Customer={ENTITY NAME:Customer})
(Product={PRODUCT NAME})
(Quantity={QUANTITY})
(Time={DATE:HH:mm})
{QUANTITY} {PRODUCT NAME}
{SORTED ORDER TAGS}
[ORDERS:Void]
++VOID {ENTITY NAME:Table}
(Id={ORDER NO}-{NAME}-{TICKET ID})
(Table={ENTITY NAME:Table}-{TICKET ID})
(Customer={ENTITY NAME:Customer})
(Product={PRODUCT NAME})
(Table Name={ENTITY NAME:Table})
(Time={DATE:HH:mm})
(Color=Red)
{QUANTITY} {PRODUCT NAME}
—VOID—
{QUANTITY} {PRODUCT NAME}
{SORTED ORDER TAGS}
[SORTED ORDER TAGS]
{ORDER TAG QUANTITY} {ORDER TAG NAME}
Swing and a miss, try again.
If nothing else do a screenshot!!!
sam2
March 21, 2019, 9:02pm
10
ok sir i have share screen shot of template
Hmm ok, not what I was expecting. So what widget are you using on entity screen.
Show its settings/properties.
Where is [Content] template?
sam2
March 21, 2019, 9:11pm
14
[Content Template i have not made only kitchen template i have made sir
Ok, well see a few variances betweek your setup and Qs kitchen display;
#Automation
##Automation Command
Create a button to navigate to the Kitchen Display.
[image]
##Actions
###Navigate Module Action
This Action is used to display the Kitchen Display screen.
[image]
###Update Order State Action
This Action will update the Order State called KDStatus. This is how we will determine if the Order has been Printed, so that we don’t print the Order multiple times.
[image]
State Name: KDStatus
Current State: [:CurrentState]
State: [:NewState]
###Execute …
For one your using {DATE:} this cant be correct as that is system/current date/time… You need to use {ORDER TIME} surely?
Not fluent in tasks and task widget but if I had to guess I would say using {DATE} is always going to be 0-5 (AKA null) since DATE is current time not time of order.
sam2
March 21, 2019, 9:35pm
16
i checked everything is correct sir and change this also in template {ORDER TIME} but not working
As Jesse said, drop the sir.
I’m no sir, I work for a living.
Not working… With new ticket left one 5 minutes? Won’t backdate to past tickets…
sam2
March 21, 2019, 9:52pm
19
ya JTR bro i have check with new tickets also it is same
I’m no expert but your template doesn’t match you output.
You have new order entity name on ++ title within order but not shown on entity screen.