@things-factory/operato-wms 4.1.23 → 4.1.24

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.
@@ -525,6 +525,7 @@ class InventoryHistory extends localize(i18next)(PageView) {
525
525
  async _fetchInventoryHistoriesForExport() {
526
526
  try {
527
527
  this._validate()
528
+
528
529
  let inventoryHistory = {}
529
530
  let filters = []
530
531
  const _customFields = this.searchForm.formFields
@@ -614,11 +615,15 @@ class InventoryHistory extends localize(i18next)(PageView) {
614
615
  if (this._toDateInput.value < fromDate) this._toDateInput.value = fromDate
615
616
 
616
617
  let min = new Date(fromDate)
617
- let today = new Date()
618
- today.setHours(0, 0, 0, 0)
618
+ let max = new Date(fromDate)
619
+ max.setMonth(max.getMonth() + 1)
620
+ max.setDate(max.getDate() - 1)
619
621
 
620
622
  min = min.toISOString().split('T')[0]
623
+ max = max.toISOString().split('T')[0]
621
624
 
625
+ this._toDateInput.value = max
626
+ this._toDateInput.max = max
622
627
  this._toDateInput.min = min
623
628
  }
624
629
 
@@ -653,6 +658,7 @@ class InventoryHistory extends localize(i18next)(PageView) {
653
658
  { header: i18next.t('field.sku'), key: 'sku', width: 75, type: 'string' },
654
659
  { header: i18next.t('field.product_name'), key: 'productName', width: 75, type: 'string' },
655
660
  { header: i18next.t('field.product_description'), key: 'productDescription', width: 75, type: 'string' },
661
+ { header: i18next.t('field.brand'), key: 'brand', width: 75, type: 'string' },
656
662
  { header: i18next.t('field.seq'), key: 'seq', width: 75, type: 'number' },
657
663
  { header: i18next.t('field.lot_id'), key: 'palletId', width: 75, type: 'string' },
658
664
  { header: i18next.t('field.carton_id'), key: 'cartonId', width: 75, type: 'string' },
@@ -662,6 +668,7 @@ class InventoryHistory extends localize(i18next)(PageView) {
662
668
  { header: i18next.t('field.uom_value'), key: 'uomValue', width: 75, type: 'number' },
663
669
  { header: i18next.t('field.uom'), key: 'uom', width: 75, type: 'string' },
664
670
  { header: i18next.t('field.location'), key: 'location', width: 75, type: 'string' },
671
+ { header: i18next.t('field.batch_id'), key: 'batchId', width: 75, type: 'string' },
665
672
  { header: i18next.t('field.batch_no_ref'), key: 'batchIdRef', width: 75, type: 'string' },
666
673
  { header: i18next.t('field.order_no'), key: 'orderNo', width: 75, type: 'string' },
667
674
  { header: i18next.t('field.ref_no'), key: 'refNo', width: 75, type: 'string' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.1.23",
3
+ "version": "4.1.24",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -86,7 +86,7 @@
86
86
  "@things-factory/print-ui": "^4.1.22",
87
87
  "@things-factory/product-base": "^4.1.22",
88
88
  "@things-factory/resource-ui": "^4.1.22",
89
- "@things-factory/sales-ui": "^4.1.23",
89
+ "@things-factory/sales-ui": "^4.1.24",
90
90
  "@things-factory/scene-data-transform": "^4.1.19",
91
91
  "@things-factory/scene-excel": "^4.1.19",
92
92
  "@things-factory/scene-firebase": "^4.1.19",
@@ -103,10 +103,10 @@
103
103
  "@things-factory/transport-base": "^4.1.22",
104
104
  "@things-factory/tutorial-ui": "^4.1.22",
105
105
  "@things-factory/warehouse-base": "^4.1.22",
106
- "@things-factory/worksheet-base": "^4.1.23"
106
+ "@things-factory/worksheet-base": "^4.1.24"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@things-factory/builder": "^4.1.19"
110
110
  },
111
- "gitHead": "f13228576595836d2a4c2e5412adf412c0f82f33"
111
+ "gitHead": "4b53e53d4daa1258317b2e9f5260fc3038586a18"
112
112
  }