@things-factory/operato-wms 4.3.327 → 4.3.329

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.
@@ -465,6 +465,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
465
465
  remark
466
466
  unitCost
467
467
  adjustmentNote
468
+ condition
468
469
  }
469
470
  total
470
471
  }
@@ -488,7 +489,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
488
489
  console.log(response)
489
490
 
490
491
  return {
491
- total: response.data.onhandInventories.total || 0,
492
+ total: response.data.onhandInventories.total || 0,
492
493
  records:
493
494
  response.data.onhandInventories.items.map(item => {
494
495
  return flattenObject(
@@ -502,8 +503,6 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
502
503
  },
503
504
  volume: parseFloat(item.product.volume * item.remainQty).toFixed(4),
504
505
  // Need to move to serverside processing and fetch with db query for consistent performance
505
- condition: this.getCondition(item.location.type)
506
- // Need to move to serverside processing and fetch with db query for consistent performance
507
506
  },
508
507
  '_'
509
508
  )
@@ -512,25 +511,6 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
512
511
  }
513
512
 
514
513
  // Need to move to serverside processing and fetch with db query for consistent performance
515
- getCondition(locationType) {
516
- switch (locationType) {
517
- case 'BIN':
518
- case 'BUFFER':
519
- case 'FLOOR':
520
- case 'SHELF':
521
- case 'STORAGE':
522
- return 'New'
523
- case 'RESERVE':
524
- return 'Reserve'
525
- case 'DAMAGE':
526
- return 'Damage'
527
- case 'QUARANTINE':
528
- return 'Quarantine'
529
- }
530
- }
531
-
532
- // Need to move to serverside processing and fetch with db query for consistent performance
533
-
534
514
  async _fetchPartners() {
535
515
  const filters = []
536
516
  const response = await client.query({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.327",
3
+ "version": "4.3.329",
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.281",
92
92
  "@things-factory/product-base": "^4.3.318",
93
93
  "@things-factory/resource-ui": "^4.3.281",
94
- "@things-factory/sales-ui": "^4.3.327",
94
+ "@things-factory/sales-ui": "^4.3.329",
95
95
  "@things-factory/scene-data-transform": "^4.3.281",
96
96
  "@things-factory/scene-excel": "^4.3.281",
97
97
  "@things-factory/scene-firebase": "^4.3.281",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.281",
108
108
  "@things-factory/transport-base": "^4.3.301",
109
109
  "@things-factory/tutorial-ui": "^4.3.281",
110
- "@things-factory/warehouse-base": "^4.3.327",
111
- "@things-factory/worksheet-base": "^4.3.327"
110
+ "@things-factory/warehouse-base": "^4.3.329",
111
+ "@things-factory/worksheet-base": "^4.3.329"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.281",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "966193b943f8afd8160da603f857f9d61a917ee3"
120
+ "gitHead": "ca8ce0b97d088d0f821f0ce6686542395a934d45"
121
121
  }