Fix: Because of changes in bill loading, there were errors in
reprint/split and other functions where inventories from
old vouchers was added to new voucher.
This commit is contained in:
@ -192,7 +192,9 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
ClearBill();
|
||||
if (_editVoucherID.HasValue)
|
||||
{
|
||||
FoodTable ft = new FoodTableBI().Get(x => x.VoucherID == _editVoucherID.Value);
|
||||
FoodTable ft;
|
||||
using (var bi = new FoodTableBI())
|
||||
ft = bi.Get(x => x.VoucherID == _editVoucherID.Value);
|
||||
if (ft == null)
|
||||
{
|
||||
_editVoucherID = null;
|
||||
|
||||
Reference in New Issue
Block a user