Fix: Table two also pointed to voucher one only.

This commit is contained in:
tanshu 2014-11-02 13:42:32 +05:30
parent 3ca8b29e04
commit dc3576437f

View File

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