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