tplus-components-touch 3.23.5 → 3.24.2

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.
@@ -1,6 +1,6 @@
1
1
  .protoWraper{
2
2
  .ant-modal-body {
3
- // height: 376px !important;
3
+ height: 376px !important;
4
4
  padding: 0 !important;
5
5
  overflow: hidden;
6
6
  .tableContainer {
@@ -450,7 +450,8 @@ var Settlement = (0, _mobxReact.observer)(_class = (_temp = _class2 = function (
450
450
  }
451
451
  item.InventoryName = item.Inventory.Name;
452
452
  item.Discount = (0, _utils.getRoundValue)(item.RetailPrice - item.TaxPrice, pricePrecision);
453
- item.TotalDiscount = (0, _utils.getFixedNumber)(item.Discount * item.Quantity);
453
+ //item.TotalDiscount = getFixedNumber(item.Discount * item.Quantity);
454
+ item.TotalDiscount = item.DetailDiscountAmount;
454
455
  item.nAmount = (0, _utils.getFixedNumber)(item.TaxAmount);
455
456
  item.UnitName = item.Unit.Name;
456
457
  item.nQuantity = (0, _utils.getRoundValue)(item.Quantity, quantityPrecision);