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
1 changed files with 1 additions and 1 deletions

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