@things-factory/operato-wms 4.3.105 → 4.3.107

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.
@@ -298,7 +298,7 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
298
298
  const filters = [{ name: 'status', operator: 'notin', value: ['INTRANSIT', 'TERMINATED', 'DELETED'] }]
299
299
 
300
300
  if (searchInfo.productInfo !== '')
301
- filters.push({ name: 'product_info', operator: 'eq', value: searchInfo.productInfo })
301
+ filters.push({ name: 'productInfo', operator: 'eq', value: searchInfo.productInfo })
302
302
 
303
303
  if (searchInfo.batchId !== '')
304
304
  filters.push({ name: 'batch_id', operator: 'i_like', value: `%${searchInfo.batchId}%` })
@@ -651,6 +651,10 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
651
651
  gtin
652
652
  }
653
653
  }
654
+ productDetail {
655
+ name
656
+ gtin
657
+ }
654
658
  bizplace {
655
659
  id
656
660
  name
@@ -693,14 +697,12 @@ class PrintProductLabel extends connect(store)(localize(i18next)(PageView)) {
693
697
  bizplaceName: inventory.bizplace.name
694
698
  }
695
699
 
696
- if (product.productDetails && product.productDetails.length) {
697
- return product.productDetails.map(productDetail => {
698
- return {
699
- ...record,
700
- gtin: productDetail.gtin,
701
- productName: product.name
702
- }
703
- })
700
+ if (inventory?.productDetail) {
701
+ return {
702
+ ...record,
703
+ gtin: inventory.productDetail.gtin,
704
+ productName: inventory.productDetail.name
705
+ }
704
706
  } else {
705
707
  return {
706
708
  ...record,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.105",
3
+ "version": "4.3.107",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -63,60 +63,60 @@
63
63
  "@operato/scene-tab": "^0.1.8",
64
64
  "@operato/scene-table": "^0.1.8",
65
65
  "@operato/scene-wheel-sorter": "^0.1.8",
66
- "@things-factory/apptool-ui": "^4.3.99",
67
- "@things-factory/attachment-ui": "^4.3.99",
68
- "@things-factory/auth-ui": "^4.3.99",
69
- "@things-factory/barcode-ui": "^4.3.99",
70
- "@things-factory/biz-ui": "^4.3.99",
71
- "@things-factory/board-service": "^4.3.99",
72
- "@things-factory/board-ui": "^4.3.99",
73
- "@things-factory/code-ui": "^4.3.99",
74
- "@things-factory/context-ui": "^4.3.99",
75
- "@things-factory/export-ui": "^4.3.99",
76
- "@things-factory/export-ui-csv": "^4.3.99",
77
- "@things-factory/export-ui-excel": "^4.3.99",
78
- "@things-factory/fav-base": "^4.3.99",
79
- "@things-factory/form-ui": "^4.3.99",
80
- "@things-factory/geography": "^4.3.99",
81
- "@things-factory/grist-ui": "^4.3.99",
82
- "@things-factory/help": "^4.3.99",
83
- "@things-factory/i18n-base": "^4.3.99",
84
- "@things-factory/id-rule-base": "^4.3.99",
85
- "@things-factory/import-ui": "^4.3.99",
86
- "@things-factory/import-ui-excel": "^4.3.99",
87
- "@things-factory/menu-ui": "^4.3.99",
88
- "@things-factory/more-ui": "^4.3.99",
89
- "@things-factory/notification": "^4.3.99",
90
- "@things-factory/pdf": "^4.3.99",
91
- "@things-factory/print-proxy-service": "^4.3.99",
92
- "@things-factory/print-ui": "^4.3.99",
93
- "@things-factory/product-base": "^4.3.101",
94
- "@things-factory/resource-ui": "^4.3.99",
95
- "@things-factory/sales-ui": "^4.3.105",
96
- "@things-factory/scene-data-transform": "^4.3.99",
97
- "@things-factory/scene-excel": "^4.3.99",
98
- "@things-factory/scene-firebase": "^4.3.99",
99
- "@things-factory/scene-form": "^4.3.99",
100
- "@things-factory/scene-google-map": "^4.3.99",
101
- "@things-factory/scene-graphql": "^4.3.99",
102
- "@things-factory/scene-label": "^4.3.99",
103
- "@things-factory/scene-marker": "^4.3.99",
104
- "@things-factory/scene-mqtt": "^4.3.99",
105
- "@things-factory/scene-restful": "^4.3.99",
106
- "@things-factory/scene-visualizer": "^4.3.99",
107
- "@things-factory/setting-ui": "^4.3.99",
108
- "@things-factory/system-ui": "^4.3.99",
109
- "@things-factory/transport-base": "^4.3.99",
110
- "@things-factory/tutorial-ui": "^4.3.99",
111
- "@things-factory/warehouse-base": "^4.3.103",
112
- "@things-factory/worksheet-base": "^4.3.105"
66
+ "@things-factory/apptool-ui": "^4.3.107",
67
+ "@things-factory/attachment-ui": "^4.3.107",
68
+ "@things-factory/auth-ui": "^4.3.107",
69
+ "@things-factory/barcode-ui": "^4.3.107",
70
+ "@things-factory/biz-ui": "^4.3.107",
71
+ "@things-factory/board-service": "^4.3.107",
72
+ "@things-factory/board-ui": "^4.3.107",
73
+ "@things-factory/code-ui": "^4.3.107",
74
+ "@things-factory/context-ui": "^4.3.107",
75
+ "@things-factory/export-ui": "^4.3.107",
76
+ "@things-factory/export-ui-csv": "^4.3.107",
77
+ "@things-factory/export-ui-excel": "^4.3.107",
78
+ "@things-factory/fav-base": "^4.3.107",
79
+ "@things-factory/form-ui": "^4.3.107",
80
+ "@things-factory/geography": "^4.3.107",
81
+ "@things-factory/grist-ui": "^4.3.107",
82
+ "@things-factory/help": "^4.3.107",
83
+ "@things-factory/i18n-base": "^4.3.107",
84
+ "@things-factory/id-rule-base": "^4.3.107",
85
+ "@things-factory/import-ui": "^4.3.107",
86
+ "@things-factory/import-ui-excel": "^4.3.107",
87
+ "@things-factory/menu-ui": "^4.3.107",
88
+ "@things-factory/more-ui": "^4.3.107",
89
+ "@things-factory/notification": "^4.3.107",
90
+ "@things-factory/pdf": "^4.3.107",
91
+ "@things-factory/print-proxy-service": "^4.3.107",
92
+ "@things-factory/print-ui": "^4.3.107",
93
+ "@things-factory/product-base": "^4.3.107",
94
+ "@things-factory/resource-ui": "^4.3.107",
95
+ "@things-factory/sales-ui": "^4.3.107",
96
+ "@things-factory/scene-data-transform": "^4.3.107",
97
+ "@things-factory/scene-excel": "^4.3.107",
98
+ "@things-factory/scene-firebase": "^4.3.107",
99
+ "@things-factory/scene-form": "^4.3.107",
100
+ "@things-factory/scene-google-map": "^4.3.107",
101
+ "@things-factory/scene-graphql": "^4.3.107",
102
+ "@things-factory/scene-label": "^4.3.107",
103
+ "@things-factory/scene-marker": "^4.3.107",
104
+ "@things-factory/scene-mqtt": "^4.3.107",
105
+ "@things-factory/scene-restful": "^4.3.107",
106
+ "@things-factory/scene-visualizer": "^4.3.107",
107
+ "@things-factory/setting-ui": "^4.3.107",
108
+ "@things-factory/system-ui": "^4.3.107",
109
+ "@things-factory/transport-base": "^4.3.107",
110
+ "@things-factory/tutorial-ui": "^4.3.107",
111
+ "@things-factory/warehouse-base": "^4.3.107",
112
+ "@things-factory/worksheet-base": "^4.3.107"
113
113
  },
114
114
  "devDependencies": {
115
- "@things-factory/builder": "^4.3.99",
115
+ "@things-factory/builder": "^4.3.107",
116
116
  "cypress": "^9.4.1",
117
117
  "cypress-file-upload": "^5.0.8",
118
118
  "cypress-localstorage-commands": "^1.6.1",
119
119
  "eslint-plugin-cypress": "^2.12.1"
120
120
  },
121
- "gitHead": "62c2cb76038cdb0f60f9349529e449de9721009d"
121
+ "gitHead": "6f972d110c7b502f370d3887062bb6b38d1ddbc9"
122
122
  }