Fix: OpenBill was not resetting _editVoucherID value before loading bill.
This commit is contained in:
parent
7050ff5bd3
commit
57f3f7e08d
@ -195,11 +195,9 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
FoodTable ft;
|
||||
using (var bi = new FoodTableBI())
|
||||
ft = bi.Get(x => x.VoucherID == _editVoucherID.Value);
|
||||
if (ft == null)
|
||||
{
|
||||
_editVoucherID = null;
|
||||
}
|
||||
LoadBill(_editVoucherID.Value);
|
||||
if (ft != null)
|
||||
_editVoucherID = null;
|
||||
return SaleFormState.Billing;
|
||||
}
|
||||
return SaleFormState.Waiting;
|
||||
|
Loading…
Reference in New Issue
Block a user