@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.
- 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
|
@@ -5086,8 +5086,8 @@ var RJMapperBuilderClass = /** @class */ (function () {
|
|
|
5086
5086
|
var obj = {
|
|
5087
5087
|
XMLSchemaVersion: (/** @type {?} */ (_this)).xmlSchemaVersion,
|
|
5088
5088
|
LineNumber: (/** @type {?} */ (_this)).generateLineNumber(),
|
|
5089
|
-
NetValue: (/** @type {?} */ (_this)).convertToString(-1 * (Math.round(element.amount))),
|
|
5090
|
-
EffectiveNetValue: (/** @type {?} */ (_this)).convertToString(-1 * (Math.round(element.amount))),
|
|
5089
|
+
NetValue: (/** @type {?} */ (_this)).convertToString(-1 * (/** @type {?} */ (_this)).removeDecimal((Math.round(element.amount)))),
|
|
5090
|
+
EffectiveNetValue: (/** @type {?} */ (_this)).convertToString(-1 * (/** @type {?} */ (_this)).removeDecimal((Math.round(element.amount)))),
|
|
5091
5091
|
Description: (/** @type {?} */ (_this)).getDescription(value[0].paymentType, element),
|
|
5092
5092
|
//todo
|
|
5093
5093
|
DeviceID: (/** @type {?} */ (_this)).deviceId,
|
|
@@ -5097,7 +5097,7 @@ var RJMapperBuilderClass = /** @class */ (function () {
|
|
|
5097
5097
|
DateTimeCreated: (/** @type {?} */ (_this)).transactionDocument.updatedAt,
|
|
5098
5098
|
TenderType: value[0].tenderType,
|
|
5099
5099
|
TenderSubType: value[0].tenderSubType,
|
|
5100
|
-
TenderAmount: (/** @type {?} */ (_this)).convertToString(-1 * (Math.round(element.amount))),
|
|
5100
|
+
TenderAmount: (/** @type {?} */ (_this)).convertToString(-1 * (/** @type {?} */ (_this)).removeDecimal((Math.round(element.amount)))),
|
|
5101
5101
|
CurrencyID: (/** @type {?} */ (_this)).transactionDocument.baseCurrency,
|
|
5102
5102
|
CurrencyDescription: (/** @type {?} */ (_this)).transactionDocument.baseCurrency,
|
|
5103
5103
|
GiftVoucherSalesAllowed: '',
|