mangdto 1.2.74 → 1.2.77

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.
@@ -132,12 +132,13 @@ class ArtikelAktuell {
132
132
  });
133
133
  });
134
134
  this.produkt.auswahlen.forEach((auswahl) => {
135
- console.log('eine auswahl');
135
+ console.log("eine auswahl");
136
136
  if (auswahl.gewaehlteOption) {
137
+ console.log("varianten: " + auswahl.gewaehlteOption.base.varianten.length);
137
138
  auswahl.gewaehlteOption.base.varianten.forEach((v) => {
138
- console.log(v.varianteId + ' ' + varianteId);
139
+ console.log(v.varianteId + " " + varianteId);
139
140
  if (v.varianteId == varianteId) {
140
- console.log('ich füge hinzu ' + v.preis);
141
+ console.log("ich füge hinzu " + v.preis);
141
142
  preis += v.preis;
142
143
  return;
143
144
  }
@@ -265,6 +266,7 @@ class ProduktAuswahl {
265
266
  const result = new ProduktAuswahl();
266
267
  result.base = base;
267
268
  let defOptionId = base.defaultOptionId;
269
+ console.log("wieviele optionen?: " + base.optionen.length);
268
270
  base.optionen.forEach((element) => {
269
271
  var _a;
270
272
  const pOption = ProduktAuswahlOption.fromBase(element);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mangdto",
3
- "version": "1.2.74",
3
+ "version": "1.2.77",
4
4
  "description": "Die Mangeroo DTO Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",