@things-factory/operato-wms 3.8.9 → 3.8.13

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.
@@ -652,6 +652,12 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
652
652
  var decodedHTML = atob(orderDocInfo[0].file)
653
653
  this._callPrintDialog(decodedHTML)
654
654
  break
655
+
656
+ default:
657
+ let url = new URL(window.location)
658
+
659
+ convertedPdfUrl = `${url.origin}/proxy?url=${encodeURIComponent(orderDocInfo[0].airwayBill)}`
660
+ this._callPrintDialog(convertedPdfUrl)
655
661
  }
656
662
  }
657
663
  }
@@ -401,7 +401,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
401
401
  return {
402
402
  ...record,
403
403
  gtin: productDetail.gtin,
404
- productName: productDetail.name
404
+ productName: product.name
405
405
  }
406
406
  })
407
407
  } else {
@@ -442,7 +442,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
442
442
  return {
443
443
  ...record,
444
444
  gtin: productDetail.gtin,
445
- productName: productDetail.name
445
+ productName: product.name
446
446
  }
447
447
  })
448
448
  } else {
@@ -561,7 +561,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
561
561
  return {
562
562
  ...record,
563
563
  gtin: productDetail.gtin,
564
- productName: productDetail.name
564
+ productName: product.name
565
565
  }
566
566
  })
567
567
  } else {
@@ -601,7 +601,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
601
601
  return {
602
602
  ...record,
603
603
  gtin: productDetail.gtin,
604
- productName: productDetail.name
604
+ productName: product.name
605
605
  }
606
606
  })
607
607
  } else {
@@ -698,7 +698,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
698
698
  return {
699
699
  ...record,
700
700
  gtin: productDetail.gtin,
701
- productName: productDetail.name
701
+ productName: product.name
702
702
  }
703
703
  })
704
704
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "3.8.9",
3
+ "version": "3.8.13",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -71,7 +71,7 @@
71
71
  "@things-factory/print-ui": "^3.8.0",
72
72
  "@things-factory/product-base": "^3.8.9",
73
73
  "@things-factory/resource-ui": "^3.8.0",
74
- "@things-factory/sales-ui": "^3.8.9",
74
+ "@things-factory/sales-ui": "^3.8.12",
75
75
  "@things-factory/scene-chartjs": "^3.7.5",
76
76
  "@things-factory/scene-clock": "^3.7.5",
77
77
  "@things-factory/scene-clone": "^3.7.5",
@@ -102,11 +102,11 @@
102
102
  "@things-factory/system-ui": "^3.8.0",
103
103
  "@things-factory/transport-base": "^3.8.0",
104
104
  "@things-factory/tutorial-ui": "^3.8.0",
105
- "@things-factory/warehouse-base": "^3.8.9",
106
- "@things-factory/worksheet-base": "^3.8.9"
105
+ "@things-factory/warehouse-base": "^3.8.12",
106
+ "@things-factory/worksheet-base": "^3.8.12"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^3.7.5"
110
110
  },
111
- "gitHead": "7a9270f0a733762814364529eb6c54f258a7417f"
111
+ "gitHead": "9ef0c5b4dab02fcd97623eb2d72431d2776bd3c6"
112
112
  }