tplus-components-touch 3.27.26 → 3.27.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -462,7 +462,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
462
462
  }
463
463
  item.InventoryName = item.Inventory.Name;
464
464
  item.Discount = (0, _utils.getRoundValue)(item.RetailPrice - item.TaxPrice, pricePrecision);
465
- item.TotalDiscount = (0, _utils.getFixedNumber)(item.Discount * item.Quantity);
465
+ //item.TotalDiscount = getFixedNumber(item.Discount * item.Quantity);
466
+ item.TotalDiscount = item.DetailDiscountAmount;
466
467
  item.nAmount = (0, _utils.getFixedNumber)(item.TaxAmount);
467
468
  item.UnitName = item.Unit.Name;
468
469
  item.nQuantity = (0, _utils.getRoundValue)(item.Quantity, quantityPrecision);