Finally Deployed. Don't know the total amount of changes.
This commit is contained in:
@ -783,7 +783,6 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
_billInfo.Printed = finalBill;
|
||||
_billInfo.Void = false;
|
||||
_billInfo.Narration = "";
|
||||
//UpdateKotDiscountAndPrice();
|
||||
var kot = GetKot(_bill.Where(x => x.Key.BillItemType == BillItemType.Product && x.Key.KotID == Guid.Empty && x.Value.Quantity != 0));
|
||||
if (kot == null)
|
||||
return null;
|
||||
@ -804,6 +803,7 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
voucher.Customer = _billInfo.Customer;
|
||||
voucher.Waiter = _billInfo.Waiter;
|
||||
voucher.Printed = finalBill;
|
||||
voucher.VoucherType = _billInfo.VoucherType;
|
||||
foreach (var item in _bill.Where(x => x.Key.BillItemType == BillItemType.Product && x.Key.KotID != Guid.Empty))
|
||||
{
|
||||
var i = voucher.Kots.Single(x => x.KotID == item.Key.KotID).Inventories.Single(x => x.Product.ProductID == item.Key.ProductID);
|
||||
|
||||
Reference in New Issue
Block a user