@things-factory/operato-wms 4.3.381 → 4.3.382

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.
@@ -285,7 +285,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
285
285
  handlers: { click: this.showInventoryMovement.bind(this) }
286
286
  },
287
287
  { type: 'string', name: 'inventoryItemChanges', hidden: true },
288
- { type: 'string', name: 'productDetailName', hidden: true },
288
+ { type: 'string', name: 'productName', hidden: true },
289
289
  {
290
290
  type: 'string',
291
291
  name: 'palletId',
@@ -374,7 +374,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
374
374
  },
375
375
  imex: {
376
376
  header: i18next.t('field.product'),
377
- key: 'productDetailName',
377
+ key: 'productName',
378
378
  width: 150,
379
379
  type: 'string'
380
380
  },
@@ -830,7 +830,6 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
830
830
  return {
831
831
  ...item,
832
832
  sku: item.product.sku,
833
- productDetailName: item.productDetail.name,
834
833
  productName: item.product.name,
835
834
  brand: item.product.brand,
836
835
  unitCost: parseFloat(item.unitCost == null ? 0 : item.unitCost).toFixed(2),
@@ -1014,7 +1013,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1014
1013
  if (result.isConfirmed) {
1015
1014
  const response = await client.mutate({
1016
1015
  mutation: gql`
1017
- mutation submitInventoryChanges($patches: [InventoryPatch!]) {
1016
+ mutation submitInventoryChanges($patches: [InventoryPatch!]!) {
1018
1017
  submitInventoryChanges(patches: $patches)
1019
1018
  }
1020
1019
  `,
@@ -1280,7 +1279,7 @@ class InventoryAdjustment extends connect(store)(localize(i18next)(PageView)) {
1280
1279
  }
1281
1280
 
1282
1281
  if (column.name == 'product') {
1283
- column.name = 'productDetailName'
1282
+ column.name = 'productName'
1284
1283
  column.type = 'string'
1285
1284
  }
1286
1285
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.381",
3
+ "version": "4.3.382",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -89,9 +89,9 @@
89
89
  "@things-factory/pdf": "^4.3.381",
90
90
  "@things-factory/print-proxy-service": "^4.3.381",
91
91
  "@things-factory/print-ui": "^4.3.381",
92
- "@things-factory/product-base": "^4.3.381",
92
+ "@things-factory/product-base": "^4.3.382",
93
93
  "@things-factory/resource-ui": "^4.3.381",
94
- "@things-factory/sales-ui": "^4.3.381",
94
+ "@things-factory/sales-ui": "^4.3.382",
95
95
  "@things-factory/scene-data-transform": "^4.3.381",
96
96
  "@things-factory/scene-excel": "^4.3.381",
97
97
  "@things-factory/scene-firebase": "^4.3.381",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.381",
108
108
  "@things-factory/transport-base": "^4.3.381",
109
109
  "@things-factory/tutorial-ui": "^4.3.381",
110
- "@things-factory/warehouse-base": "^4.3.381",
111
- "@things-factory/worksheet-base": "^4.3.381"
110
+ "@things-factory/warehouse-base": "^4.3.382",
111
+ "@things-factory/worksheet-base": "^4.3.382"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.381",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "853888b22dd91352f37d4fe660e3233405beefd1"
120
+ "gitHead": "ca3a4efd56577d2a3c9e5b04545ba84251852891"
121
121
  }