@things-factory/operato-wms 4.3.472 → 4.3.473

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.
@@ -219,6 +219,8 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
219
219
 
220
220
  selected.forEach((obj, idx) => {
221
221
  for (let index = 0; index < obj.printQty; index++) {
222
+ let manufactureDate= new Date(obj.manufactureDate)
223
+ let manufactureYear= manufactureDate.getFullYear()
222
224
  printData.push({
223
225
  batchId: obj.batchId,
224
226
  productSku: obj.productSku,
@@ -228,7 +230,8 @@ class CartonLabelPopup extends connect(store)(localize(i18next)(LitElement)) {
228
230
  refNo: obj.refNo,
229
231
  refNo2: obj.refNo2,
230
232
  refNo3: obj.refNo3,
231
- manufactureDate: new Date(obj.manufactureDate).toLocaleDateString(),
233
+ manufactureDate: manufactureDate.toLocaleDateString(),
234
+ manufactureYear: manufactureYear.toString(),
232
235
  cartonId: cartonLabels[idx].cartonId,
233
236
  customer: bizplaceName,
234
237
  printCount: index + 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.472",
3
+ "version": "4.3.473",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "da109d65fbb5c7ecc05086a2f6e62e295d61a4a7"
120
+ "gitHead": "97037dbff54e40a9ac1a03d7ada8459dfd3accdd"
121
121
  }