mangdto 1.2.75 → 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,13 +132,13 @@ class ArtikelAktuell {
|
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
134
|
this.produkt.auswahlen.forEach((auswahl) => {
|
|
135
|
-
console.log(
|
|
135
|
+
console.log("eine auswahl");
|
|
136
136
|
if (auswahl.gewaehlteOption) {
|
|
137
|
-
console.log(
|
|
137
|
+
console.log("varianten: " + auswahl.gewaehlteOption.base.varianten.length);
|
|
138
138
|
auswahl.gewaehlteOption.base.varianten.forEach((v) => {
|
|
139
|
-
console.log(v.varianteId +
|
|
139
|
+
console.log(v.varianteId + " " + varianteId);
|
|
140
140
|
if (v.varianteId == varianteId) {
|
|
141
|
-
console.log(
|
|
141
|
+
console.log("ich füge hinzu " + v.preis);
|
|
142
142
|
preis += v.preis;
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
@@ -266,6 +266,7 @@ class ProduktAuswahl {
|
|
|
266
266
|
const result = new ProduktAuswahl();
|
|
267
267
|
result.base = base;
|
|
268
268
|
let defOptionId = base.defaultOptionId;
|
|
269
|
+
console.log("wieviele optionen?: " + base.optionen.length);
|
|
269
270
|
base.optionen.forEach((element) => {
|
|
270
271
|
var _a;
|
|
271
272
|
const pOption = ProduktAuswahlOption.fromBase(element);
|