@hitsoft/uretim-yonetimi 1.0.33 → 1.0.35
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/esm2020/lib/components/hit-boiler-ym-product-waste/hit-boiler-ym-product-waste.component.mjs +8 -4
- package/fesm2015/hitsoft-uretim-yonetimi.mjs +9 -3
- package/fesm2015/hitsoft-uretim-yonetimi.mjs.map +1 -1
- package/fesm2020/hitsoft-uretim-yonetimi.mjs +7 -3
- package/fesm2020/hitsoft-uretim-yonetimi.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2300,13 +2300,17 @@ class HitBoilerYMProductWasteComponent {
|
|
|
2300
2300
|
this.isEmriBarkoduGecerliMi = true;
|
|
2301
2301
|
}
|
|
2302
2302
|
else {
|
|
2303
|
-
|
|
2303
|
+
const message = responseYM?.errors?.length
|
|
2304
|
+
? responseYM.errors.join('\n')
|
|
2305
|
+
: 'YM ürün bilgileri alınamadı.';
|
|
2306
|
+
this.confirmation.error('', message, this.options).subscribe(() => {
|
|
2304
2307
|
this.clearAll();
|
|
2305
2308
|
});
|
|
2306
2309
|
}
|
|
2307
2310
|
},
|
|
2308
|
-
error: () => {
|
|
2309
|
-
|
|
2311
|
+
error: (err) => {
|
|
2312
|
+
const message = err?.error?.error?.message || 'YM ürün bilgileri alınamadı.';
|
|
2313
|
+
this.confirmation.error('', message, this.options).subscribe(() => {
|
|
2310
2314
|
this.clearAll();
|
|
2311
2315
|
});
|
|
2312
2316
|
},
|