Major error, table exists check was wrong. Did not allow opening new table.
This commit is contained in:
parent
c71e302e97
commit
5a8918ddf5
@ -912,7 +912,7 @@ namespace Tanshu.Accounts.PointOfSale
|
|||||||
if (updateTable)
|
if (updateTable)
|
||||||
using (var ft = new FoodTableBI(session, false))
|
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);
|
ft.UpdateStatus(_billInfo);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user