We have had SambaPOS v4.1.82 running well since 2014. The restaurant has recently moved location and we took the opportunity to upgrade to v5 (5.2.13) now a problem has appeared which I think may be a SambaPOS v5 issue.
For commercial reasons we classify all products as Food, Drink and Non-F&B. The restaurant has two shifts and the staff follow the same procedure as they have done since 2014.
-
SambaPOS is started in the morning with all empty tables
-
In early evening the shift is changed. At this point, some tables will still be open with bills unpaid (for this example assume these are tables 0, 1 and 2 but in reality, will probably be many more). To allow the work period to be closed and a new one started, we temporarily set a pre-order flag and set the entity state by running a simple SQL script via an automation button on a management screen as follows
-
The cashier then prints an end of shift report that includes
a) Total cash transactions
b) Total credit card transactions (not currently in use as CC is not operational yet)
c) Value of Food, Drink and Non-F&B transactions -
If all is well, the sum of c is equal to the sum of a + b and is equal to the money in the cashbox
-
A new work period is started by the new cashier and she updates the table status by reversing the procedure of 2 above
-
New tables are added and paid; checking the end of shift report shows these are updated on the report as they are paid so condition c = a + b remains valid.
-
At some point the tables that were held in step 2 above are paid but the paid value does not get updated on the EOS cash/CC report. It does however get updated in the Food/Drink/Non-F&B report so now a + b ≠c.
-
It doesn’t matter whether more items are added to the held tables (0, 1, 2) after the shift change, the final value of the bill is still not updated.
-
In the above example
-
ticket 885 was added after the shift change and updated the report correctly
-
ticket 881 was established before the shift change (value 775) and has not been updated in the report
-
ticket 880 was established before the shift change (original value 515) and was added to after the shift change (added 505). Total value of 1,010 has not been updated in the report
- I have calculated the cash transaction value using SambaPOS
{ACCOUNT TRANSACTION TOTAL:Payment Transaction:Cash}
and also with an SQL script; both give identical incorrect values, which is why I think this may be an issue with SambaPOS. - At the end of the evening, the cashier closes her shift and prints her EOS report before closing down with all tables unoccupied. In the morning it all starts again
The EOS report is sent to the restaurant owner so needs to be correct. The value of SUM(Food+Drink+Non F&B) is correct and has been verified by calculating from the printed receipts, but it does not correspond to the cash+CC transaction value on the EOS report