@things-factory/operato-wms 4.3.178 → 4.3.180

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.
@@ -1766,14 +1766,26 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
1766
1766
  records = records
1767
1767
  .filter(record => record.productSKU)
1768
1768
  .map(record => {
1769
- record.unitPrice =
1770
- record.unitPrice == null && record.unitPrice !== undefined
1771
- ? '0.00'
1772
- : record.unitPrice === undefined
1773
- ? null
1774
- : parseFloat(record.unitPrice).toFixed(2)
1775
1769
  return {
1776
- ...record
1770
+ ...record,
1771
+ unitPrice:
1772
+ record.unitPrice == null && record.unitPrice !== undefined
1773
+ ? '0.00'
1774
+ : record.unitPrice === undefined
1775
+ ? null
1776
+ : parseFloat(record.unitPrice).toFixed(2),
1777
+ packQty:
1778
+ record.packQty == null && record.packQty !== undefined
1779
+ ? '0'
1780
+ : record.packQty === undefined
1781
+ ? null
1782
+ : parseInt(record.packQty),
1783
+ palletQty:
1784
+ record.palletQty == null && record.palletQty !== undefined
1785
+ ? '0'
1786
+ : record.palletQty === undefined
1787
+ ? null
1788
+ : parseInt(record.palletQty)
1777
1789
  }
1778
1790
  })
1779
1791
 
@@ -14,7 +14,7 @@ module.exports = {
14
14
  password: 'hatio',
15
15
  host: 'localhost',
16
16
  port: 15432,
17
- synchronize: false,
17
+ synchronize: true,
18
18
  logging: true
19
19
  },
20
20
  // ormconfig: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.178",
3
+ "version": "4.3.180",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -62,60 +62,60 @@
62
62
  "@operato/scene-tab": "^0.1.8",
63
63
  "@operato/scene-table": "^0.1.8",
64
64
  "@operato/scene-wheel-sorter": "^0.1.8",
65
- "@things-factory/apptool-ui": "^4.3.176",
66
- "@things-factory/attachment-ui": "^4.3.176",
67
- "@things-factory/auth-ui": "^4.3.176",
68
- "@things-factory/barcode-ui": "^4.3.176",
69
- "@things-factory/biz-ui": "^4.3.176",
70
- "@things-factory/board-service": "^4.3.176",
71
- "@things-factory/board-ui": "^4.3.176",
72
- "@things-factory/code-ui": "^4.3.176",
73
- "@things-factory/context-ui": "^4.3.176",
74
- "@things-factory/export-ui": "^4.3.176",
75
- "@things-factory/export-ui-csv": "^4.3.176",
76
- "@things-factory/export-ui-excel": "^4.3.176",
77
- "@things-factory/fav-base": "^4.3.176",
78
- "@things-factory/form-ui": "^4.3.176",
79
- "@things-factory/geography": "^4.3.176",
80
- "@things-factory/grist-ui": "^4.3.176",
81
- "@things-factory/help": "^4.3.176",
82
- "@things-factory/i18n-base": "^4.3.176",
83
- "@things-factory/id-rule-base": "^4.3.176",
84
- "@things-factory/import-ui": "^4.3.176",
85
- "@things-factory/import-ui-excel": "^4.3.176",
86
- "@things-factory/menu-ui": "^4.3.176",
87
- "@things-factory/more-ui": "^4.3.176",
88
- "@things-factory/notification": "^4.3.176",
65
+ "@things-factory/apptool-ui": "^4.3.179",
66
+ "@things-factory/attachment-ui": "^4.3.179",
67
+ "@things-factory/auth-ui": "^4.3.179",
68
+ "@things-factory/barcode-ui": "^4.3.179",
69
+ "@things-factory/biz-ui": "^4.3.179",
70
+ "@things-factory/board-service": "^4.3.179",
71
+ "@things-factory/board-ui": "^4.3.179",
72
+ "@things-factory/code-ui": "^4.3.179",
73
+ "@things-factory/context-ui": "^4.3.179",
74
+ "@things-factory/export-ui": "^4.3.179",
75
+ "@things-factory/export-ui-csv": "^4.3.179",
76
+ "@things-factory/export-ui-excel": "^4.3.179",
77
+ "@things-factory/fav-base": "^4.3.179",
78
+ "@things-factory/form-ui": "^4.3.179",
79
+ "@things-factory/geography": "^4.3.179",
80
+ "@things-factory/grist-ui": "^4.3.179",
81
+ "@things-factory/help": "^4.3.179",
82
+ "@things-factory/i18n-base": "^4.3.179",
83
+ "@things-factory/id-rule-base": "^4.3.179",
84
+ "@things-factory/import-ui": "^4.3.179",
85
+ "@things-factory/import-ui-excel": "^4.3.179",
86
+ "@things-factory/menu-ui": "^4.3.179",
87
+ "@things-factory/more-ui": "^4.3.179",
88
+ "@things-factory/notification": "^4.3.179",
89
89
  "@things-factory/pdf": "^4.3.159",
90
- "@things-factory/print-proxy-service": "^4.3.176",
91
- "@things-factory/print-ui": "^4.3.176",
92
- "@things-factory/product-base": "^4.3.176",
93
- "@things-factory/resource-ui": "^4.3.176",
94
- "@things-factory/sales-ui": "^4.3.178",
90
+ "@things-factory/print-proxy-service": "^4.3.179",
91
+ "@things-factory/print-ui": "^4.3.179",
92
+ "@things-factory/product-base": "^4.3.179",
93
+ "@things-factory/resource-ui": "^4.3.179",
94
+ "@things-factory/sales-ui": "^4.3.180",
95
95
  "@things-factory/scene-data-transform": "^4.3.159",
96
96
  "@things-factory/scene-excel": "^4.3.159",
97
97
  "@things-factory/scene-firebase": "^4.3.159",
98
98
  "@things-factory/scene-form": "^4.3.159",
99
99
  "@things-factory/scene-google-map": "^4.3.159",
100
100
  "@things-factory/scene-graphql": "^4.3.159",
101
- "@things-factory/scene-label": "^4.3.176",
101
+ "@things-factory/scene-label": "^4.3.179",
102
102
  "@things-factory/scene-marker": "^4.3.159",
103
- "@things-factory/scene-mqtt": "^4.3.159",
103
+ "@things-factory/scene-mqtt": "^4.3.179",
104
104
  "@things-factory/scene-restful": "^4.3.159",
105
105
  "@things-factory/scene-visualizer": "^4.3.159",
106
- "@things-factory/setting-ui": "^4.3.176",
107
- "@things-factory/system-ui": "^4.3.176",
108
- "@things-factory/transport-base": "^4.3.176",
109
- "@things-factory/tutorial-ui": "^4.3.176",
110
- "@things-factory/warehouse-base": "^4.3.178",
111
- "@things-factory/worksheet-base": "^4.3.178"
106
+ "@things-factory/setting-ui": "^4.3.179",
107
+ "@things-factory/system-ui": "^4.3.179",
108
+ "@things-factory/transport-base": "^4.3.179",
109
+ "@things-factory/tutorial-ui": "^4.3.179",
110
+ "@things-factory/warehouse-base": "^4.3.180",
111
+ "@things-factory/worksheet-base": "^4.3.180"
112
112
  },
113
113
  "devDependencies": {
114
- "@things-factory/builder": "^4.3.159",
114
+ "@things-factory/builder": "^4.3.179",
115
115
  "cypress": "^9.4.1",
116
116
  "cypress-file-upload": "^5.0.8",
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "f465872c9a3879f5c917fc6e50798cf707f91ec0"
120
+ "gitHead": "15d2c49b93638fceb097e06570bd0116ed5e24e3"
121
121
  }