Major error, table exists check was wrong. Did not allow opening new table.

This commit is contained in:
Tanshu 2012-12-01 16:19:06 +05:30
parent c71e302e97
commit 5a8918ddf5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}