@things-factory/operato-wms 4.1.31 → 4.1.32

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.
@@ -511,9 +511,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
511
511
  }
512
512
 
513
513
  printSellercraftAirwayBill() {
514
- let url = new URL(window.location)
514
+ let convertedPdfUrl = ''
515
+ if (this.airwayBill.includes('partner.shopeemobile.com')) {
516
+ convertedPdfUrl = `/pdf/merge?urls=${this.airwayBill}`
517
+ } else {
518
+ let url = new URL(window.location)
519
+ convertedPdfUrl = `${url.origin}/proxy?url=${this.airwayBill}`
520
+ }
515
521
 
516
- var convertedPdfUrl = `${url.origin}/proxy?url=${this.airwayBill}`
517
522
  this._callPrintDialog(convertedPdfUrl)
518
523
  }
519
524
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.1.31",
3
+ "version": "4.1.32",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -108,5 +108,5 @@
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^4.1.28"
110
110
  },
111
- "gitHead": "87a1ee9d97613f76b7b06bbbc59a16e1029e4dc9"
111
+ "gitHead": "b7a603b009e2835b4f48861f8b1eaf2103805294"
112
112
  }