Please can samba 5 handle when an order have stayed too long change colour on the system, eg a waiter takes order, the colour of the table change to green, can I set it that when the order is not settled in 1hr it should change to red ?
Yes, it can be done with SambaPOS 5, but not automatically out-of-the-box. You’ll need to use rules, states, and possibly a small workaround.
1 Like
Am interested also towards the solution
you have to use State Display Format
go under Entity Screens and Tick Use State Display Format
then Go under States in the Display Format section add this
<bold>$1</bold><background {CALL:fn.getColor('{ENTITY STATE MINUTES:Status}')}><size 20><br/>{ENTITY STATE MINUTES BY NAME:Tables.$1:Status}</size></background>
then go under scripts and add this script
Name: Functions
Handler: fn
Script: function getColor(minutes){
if(minutes > 60)
return 'red';
if(minutes > 30)
return 'coral';
if(minutes > 15)
return 'orange';
return 'Green';
}
1 Like
