To ensure proper data synchronization, the system locks an order, meaning that it prevents editing of the same order from different devices.
An order being edited on another device (e.g., at the cash register) will be marked with a lock icon.
When you try to open it, a system notification will appear on the screen.
Until the employee exits the order editing mode at another station, it will not be possible to open it in the app. And vice versa: if an order is edited in the app, it cannot be opened from another device.
If there are problems with data transfer to the cash register server, a situation may arise where the sent order will be locked both in the application and at the cash register. Automatic unblocking will occur in 1.5 minutes.
An order opened for editing in the application is locked for 90 seconds. During the process of working with the order, for correct operation, it can be locked again until the moment of exiting the order. When exiting the order in the application, it is unlocked by the cash register server. If the request from the application to unlock the order does not reach the cash register server (network problems or unavailability of the cash register server), the order will remain locked both at the cash register and in the application. In this case, after 1.5 minutes, the cash register server will unlock the order automatically.
Since automatic order locking closes access to order editing, the application has added automatic order unlocking when the smartphone screen is locked. This will eliminate the locking of the order if the waiter forgot to exit the order and immediately locked the device screen.
If there were unsaved dishes in the order, they will be saved automatically.
If the order is empty when the screen is locked, it will not be saved.
If the screen is locked while creating a dish (editing its mandatory parameters), such a dish will not be saved.