diff --git a/Tanshu.Accounts.PointOfSale/Controllers/BillController.cs b/Tanshu.Accounts.PointOfSale/Controllers/BillController.cs index 80a763c..6432fae 100644 --- a/Tanshu.Accounts.PointOfSale/Controllers/BillController.cs +++ b/Tanshu.Accounts.PointOfSale/Controllers/BillController.cs @@ -912,7 +912,7 @@ namespace Tanshu.Accounts.PointOfSale if (updateTable) using (var ft = new FoodTableBI(session, false)) { - tableExists = ft.Get(x => x.Name == _billInfo.TableID).VoucherID == 0; + tableExists = ft.Get(x => x.Name == _billInfo.TableID).VoucherID != 0; ft.UpdateStatus(_billInfo); }