@crystaldesign/basket-model 24.12.1 → 24.12.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.
@@ -434,10 +434,10 @@ var OrderLineData = /*#__PURE__*/function () {
434
434
  return false;
435
435
  }
436
436
 
437
- /**
438
- *
439
- * @param t i18n translation instance
440
- * @returns general Article description
437
+ /**
438
+ *
439
+ * @param t i18n translation instance
440
+ * @returns general Article description
441
441
  */
442
442
  }, {
443
443
  key: "getArticleInfoText",
@@ -766,8 +766,8 @@ var OrderSetData = /*#__PURE__*/function () {
766
766
  this.SetPlanData = DivaUtils__default["default"].encodeBase64(setPlanData);
767
767
  }
768
768
 
769
- /**
770
- * get the docking point infos of all orderlines of the set
769
+ /**
770
+ * get the docking point infos of all orderlines of the set
771
771
  */
772
772
  }, {
773
773
  key: "getDockingPointInfo",
@@ -1052,11 +1052,11 @@ var processNonPartlistOrderlines = function processNonPartlistOrderlines(basket,
1052
1052
  }
1053
1053
 
1054
1054
  /* Activate when base prices and additional prices should be displayed. */
1055
- /*if (orderLine.ConfigPriceDatas?.BasePrice && !withoutPrices) {
1056
- sapOrderLineText += appendToTheRight(mLength + 1, ' ');
1057
- sapOrderLineText += appendToTheRight(artikelLength, 'Basispreis');
1058
- sapOrderLineText += appendToTheLeft(preisLength - 6, formatPrice(orderLine.ConfigPriceDatas?.BasePrice.toString() ?? '0'));
1059
- sapOrderLineText += newLine + newLine;
1055
+ /*if (orderLine.ConfigPriceDatas?.BasePrice && !withoutPrices) {
1056
+ sapOrderLineText += appendToTheRight(mLength + 1, ' ');
1057
+ sapOrderLineText += appendToTheRight(artikelLength, 'Basispreis');
1058
+ sapOrderLineText += appendToTheLeft(preisLength - 6, formatPrice(orderLine.ConfigPriceDatas?.BasePrice.toString() ?? '0'));
1059
+ sapOrderLineText += newLine + newLine;
1060
1060
  }*/
1061
1061
  /* -------------------------------------------------------------------- */
1062
1062
 
@@ -1204,12 +1204,12 @@ var addVariants = function addVariants(articleLength, orderLine, articleLength2R
1204
1204
  variantDataText += writeOtherLines(vbLines, startPositionArticle2Row /*additionalPrice ? true : false*/);
1205
1205
 
1206
1206
  /* Activate when base prices and additional prices should be displayed. */
1207
- /*if (additionalPrice && false) {
1208
- variantDataText += appendToTheLeft(
1209
- preisLength + (artikelLength - vbLines[vbLines.length - 1].length) - 5,
1210
- formatPrice(additionalPrice?.Price.toString() ?? '0'),
1211
- );
1212
- variantDataText += newLine;
1207
+ /*if (additionalPrice && false) {
1208
+ variantDataText += appendToTheLeft(
1209
+ preisLength + (artikelLength - vbLines[vbLines.length - 1].length) - 5,
1210
+ formatPrice(additionalPrice?.Price.toString() ?? '0'),
1211
+ );
1212
+ variantDataText += newLine;
1213
1213
  }*/
1214
1214
  }
1215
1215
  return variantDataText;
@@ -422,10 +422,10 @@ var OrderLineData = /*#__PURE__*/function () {
422
422
  return false;
423
423
  }
424
424
 
425
- /**
426
- *
427
- * @param t i18n translation instance
428
- * @returns general Article description
425
+ /**
426
+ *
427
+ * @param t i18n translation instance
428
+ * @returns general Article description
429
429
  */
430
430
  }, {
431
431
  key: "getArticleInfoText",
@@ -754,8 +754,8 @@ var OrderSetData = /*#__PURE__*/function () {
754
754
  this.SetPlanData = DivaUtils.encodeBase64(setPlanData);
755
755
  }
756
756
 
757
- /**
758
- * get the docking point infos of all orderlines of the set
757
+ /**
758
+ * get the docking point infos of all orderlines of the set
759
759
  */
760
760
  }, {
761
761
  key: "getDockingPointInfo",
@@ -1040,11 +1040,11 @@ var processNonPartlistOrderlines = function processNonPartlistOrderlines(basket,
1040
1040
  }
1041
1041
 
1042
1042
  /* Activate when base prices and additional prices should be displayed. */
1043
- /*if (orderLine.ConfigPriceDatas?.BasePrice && !withoutPrices) {
1044
- sapOrderLineText += appendToTheRight(mLength + 1, ' ');
1045
- sapOrderLineText += appendToTheRight(artikelLength, 'Basispreis');
1046
- sapOrderLineText += appendToTheLeft(preisLength - 6, formatPrice(orderLine.ConfigPriceDatas?.BasePrice.toString() ?? '0'));
1047
- sapOrderLineText += newLine + newLine;
1043
+ /*if (orderLine.ConfigPriceDatas?.BasePrice && !withoutPrices) {
1044
+ sapOrderLineText += appendToTheRight(mLength + 1, ' ');
1045
+ sapOrderLineText += appendToTheRight(artikelLength, 'Basispreis');
1046
+ sapOrderLineText += appendToTheLeft(preisLength - 6, formatPrice(orderLine.ConfigPriceDatas?.BasePrice.toString() ?? '0'));
1047
+ sapOrderLineText += newLine + newLine;
1048
1048
  }*/
1049
1049
  /* -------------------------------------------------------------------- */
1050
1050
 
@@ -1192,12 +1192,12 @@ var addVariants = function addVariants(articleLength, orderLine, articleLength2R
1192
1192
  variantDataText += writeOtherLines(vbLines, startPositionArticle2Row /*additionalPrice ? true : false*/);
1193
1193
 
1194
1194
  /* Activate when base prices and additional prices should be displayed. */
1195
- /*if (additionalPrice && false) {
1196
- variantDataText += appendToTheLeft(
1197
- preisLength + (artikelLength - vbLines[vbLines.length - 1].length) - 5,
1198
- formatPrice(additionalPrice?.Price.toString() ?? '0'),
1199
- );
1200
- variantDataText += newLine;
1195
+ /*if (additionalPrice && false) {
1196
+ variantDataText += appendToTheLeft(
1197
+ preisLength + (artikelLength - vbLines[vbLines.length - 1].length) - 5,
1198
+ formatPrice(additionalPrice?.Price.toString() ?? '0'),
1199
+ );
1200
+ variantDataText += newLine;
1201
1201
  }*/
1202
1202
  }
1203
1203
  return variantDataText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/basket-model",
3
- "version": "24.12.1",
3
+ "version": "24.12.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -17,5 +17,5 @@
17
17
  "lodash": "^4.17.21"
18
18
  },
19
19
  "main": "build/cjs/index.js",
20
- "gitHead": "10505d5064511472829e3a6dbf82b1a961fe6e53"
20
+ "gitHead": "c52f390c626615e95e0e22ae62b8b236aece192b"
21
21
  }