Fix: Table two also pointed to voucher one only.
This commit is contained in:
1 parent
3ca8b29e04
commit
dc3576437f
1 file changed
+1
-1
@@ -276,7 +276,7 @@ namespace Tanshu.Accounts.Repository
|
||||
_session.Update(tableFirst);
|
||||
|
||||
var tableSecond = _session.QueryOver<FoodTable>().Where(x => x.FoodTableID == second.Table.FoodTableID).SingleOrDefault();
|
||||
tableSecond.VoucherID = first.VoucherID;
|
||||
tableSecond.VoucherID = second.VoucherID;
|
||||
tableSecond.Status = status;
|
||||
_session.Update(tableFirst);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user