@pmcretail/mapper-library 0.0.6 → 0.0.8

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.
@@ -5306,8 +5306,8 @@
5306
5306
  var obj = {
5307
5307
  XMLSchemaVersion: (/** @type {?} */ (_this)).xmlSchemaVersion,
5308
5308
  LineNumber: (/** @type {?} */ (_this)).generateLineNumber(),
5309
- NetValue: (/** @type {?} */ (_this)).convertToString(-1 * (Math.round(element.amount))),
5310
- EffectiveNetValue: (/** @type {?} */ (_this)).convertToString(-1 * (Math.round(element.amount))),
5309
+ NetValue: (/** @type {?} */ (_this)).convertToString(-1 * (/** @type {?} */ (_this)).removeDecimal((Math.round(element.amount)))),
5310
+ EffectiveNetValue: (/** @type {?} */ (_this)).convertToString(-1 * (/** @type {?} */ (_this)).removeDecimal((Math.round(element.amount)))),
5311
5311
  Description: (/** @type {?} */ (_this)).getDescription(value[0].paymentType, element),
5312
5312
  //todo
5313
5313
  DeviceID: (/** @type {?} */ (_this)).deviceId,
@@ -5317,7 +5317,7 @@
5317
5317
  DateTimeCreated: (/** @type {?} */ (_this)).transactionDocument.updatedAt,
5318
5318
  TenderType: value[0].tenderType,
5319
5319
  TenderSubType: value[0].tenderSubType,
5320
- TenderAmount: (/** @type {?} */ (_this)).convertToString(-1 * (Math.round(element.amount))),
5320
+ TenderAmount: (/** @type {?} */ (_this)).convertToString(-1 * (/** @type {?} */ (_this)).removeDecimal((Math.round(element.amount)))),
5321
5321
  CurrencyID: (/** @type {?} */ (_this)).transactionDocument.baseCurrency,
5322
5322
  CurrencyDescription: (/** @type {?} */ (_this)).transactionDocument.baseCurrency,
5323
5323
  GiftVoucherSalesAllowed: '',