@pmcretail/mapper-library 0.0.7 → 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.
- package/bundles/pmcretail-mapper-library.umd.js +3 -3
- package/bundles/pmcretail-mapper-library.umd.js.map +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js.map +1 -1
- package/esm2015/lib/RJ-mapper.class.js +4 -4
- package/esm2015/lib/mapper-library.component.js +5 -5
- package/esm2015/lib/mapper-library.module.js +1 -1
- package/esm5/lib/RJ-mapper.class.js +4 -4
- package/esm5/lib/mapper-library.component.js +1 -1
- package/esm5/lib/mapper-library.module.js +1 -1
- package/fesm2015/pmcretail-mapper-library.js +7 -7
- package/fesm2015/pmcretail-mapper-library.js.map +1 -1
- package/fesm5/pmcretail-mapper-library.js +3 -3
- package/fesm5/pmcretail-mapper-library.js.map +1 -1
- package/package.json +1 -1
|
@@ -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: '',
|