@things-factory/operato-wms 4.3.777 → 4.3.778

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.
@@ -435,7 +435,7 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
435
435
  content: [
436
436
  {
437
437
  header: 'Product Name',
438
- field: 'product.name',
438
+ field: 'product.nameDisplay',
439
439
  type: 'string',
440
440
  style: '-webkit-line-clamp: 2;'
441
441
  }
@@ -1168,7 +1168,13 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1168
1168
  : worksheetDetailInfo.packQty === 0
1169
1169
  ? true // if 0
1170
1170
  : false, // if undefined or null
1171
- sku: worksheetDetailInfo.product.sku
1171
+ sku: worksheetDetailInfo.product.sku,
1172
+ product: {
1173
+ ...worksheetDetailInfo.product,
1174
+ nameDisplay: worksheetDetailInfo.product.description
1175
+ ? `${worksheetDetailInfo.product.name} (${worksheetDetailInfo.product.description})`
1176
+ : worksheetDetailInfo.product.name
1177
+ }
1172
1178
  }
1173
1179
  }),
1174
1180
  ['validity'],
@@ -1284,7 +1290,13 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
1284
1290
  return {
1285
1291
  ...worksheetDetailInfo,
1286
1292
  validity: worksheetDetailInfo.actualPackQty === worksheetDetailInfo.packQty,
1287
- sku: worksheetDetailInfo.product.sku
1293
+ sku: worksheetDetailInfo.product.sku,
1294
+ product: {
1295
+ ...worksheetDetailInfo.product,
1296
+ nameDisplay: worksheetDetailInfo.product.description
1297
+ ? `${worksheetDetailInfo.product.name} (${worksheetDetailInfo.product.description})`
1298
+ : worksheetDetailInfo.product.name
1299
+ }
1288
1300
  }
1289
1301
  }),
1290
1302
  ['validity'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.777",
3
+ "version": "4.3.778",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -91,7 +91,7 @@
91
91
  "@things-factory/print-ui": "^4.3.767",
92
92
  "@things-factory/product-base": "^4.3.776",
93
93
  "@things-factory/resource-ui": "^4.3.770",
94
- "@things-factory/sales-ui": "^4.3.777",
94
+ "@things-factory/sales-ui": "^4.3.778",
95
95
  "@things-factory/scene-data-transform": "^4.3.767",
96
96
  "@things-factory/scene-excel": "^4.3.767",
97
97
  "@things-factory/scene-firebase": "^4.3.767",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.767",
108
108
  "@things-factory/transport-base": "^4.3.767",
109
109
  "@things-factory/tutorial-ui": "^4.3.767",
110
- "@things-factory/warehouse-base": "^4.3.776",
111
- "@things-factory/worksheet-base": "^4.3.777"
110
+ "@things-factory/warehouse-base": "^4.3.778",
111
+ "@things-factory/worksheet-base": "^4.3.778"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.767",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "7f574cc7c94e99f728d7d0e732dffddf231ea0b5"
120
+ "gitHead": "ea6776f60dc2c0fd0c1d8b87536215ff183a8cef"
121
121
  }