@things-factory/operato-wms 4.0.38 → 4.0.39
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.
- package/client/pages/bulk-operation/validate-gan-popup.js +2 -2
- package/client/pages/bulk-operation/validate-ro-popup.js +11 -5
- package/client/pages/inbound/putaway-product.js +12 -10
- package/client/pages/inbound/unload-product.js +17 -19
- package/client/pages/order/arrival-notice/create-arrival-notice.js +1 -1
- package/client/pages/order/release-order/b2b/b2b-order-list.js +12 -1
- package/client/pages/order/release-order/create-release-order.js +14 -0
- package/client/pages/order/release-order/release-order-detail.js +2 -1
- package/client/pages/outbound/picking-product.js +2 -0
- package/config.development.js +73 -0
- package/config.production.js +113 -0
- package/package.json +52 -52
- package/translations/en.json +2 -0
- package/translations/ko.json +3 -1
- package/translations/ms.json +3 -1
- package/translations/zh.json +3 -1
|
@@ -71,7 +71,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
71
71
|
appendable: false,
|
|
72
72
|
classifier: (record, rowIndex) => {
|
|
73
73
|
return {
|
|
74
|
-
emphasized: record.
|
|
74
|
+
emphasized: record.errorMsg && record.errorMsg != ''
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
},
|
|
@@ -364,7 +364,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
_validateArrivalNotices() {
|
|
367
|
-
if (this.records.some(record => record.
|
|
367
|
+
if (this.records.some(record => record.errorMsg && record.errorMsg != '')) {
|
|
368
368
|
throw new Error(i18next.t('text.please_recheck_your_request_data'))
|
|
369
369
|
}
|
|
370
370
|
}
|
|
@@ -367,13 +367,19 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
|
|
|
367
367
|
this._showToast({ message: i18next.t('text.release_order_created') })
|
|
368
368
|
history.back()
|
|
369
369
|
} else {
|
|
370
|
-
let
|
|
371
|
-
if (
|
|
372
|
-
|
|
373
|
-
// display the available items again.
|
|
374
|
-
await this._getAvailableItems(this.records, this.bizplaceId)
|
|
370
|
+
let invalidDataError = response.errors.find(err => err.extensions.exception.errorCode == 'ivd1')
|
|
371
|
+
if (invalidDataError) {
|
|
372
|
+
this.records = JSON.parse(invalidDataError.extensions.exception.detail.data)
|
|
375
373
|
this._showToast({ message: i18next.t('text.please_recheck_your_request_data') })
|
|
376
374
|
}
|
|
375
|
+
|
|
376
|
+
// let insufficientStockError = response.errors.find(err => err.extensions.exception.errorCode == 'ins1')
|
|
377
|
+
// if (insufficientStockError) {
|
|
378
|
+
// // if system suddenly found that any item is insufficient,
|
|
379
|
+
// // display the available items again.
|
|
380
|
+
// await this._getAvailableItems(this.records, this.bizplaceId)
|
|
381
|
+
// this._showToast({ message: i18next.t('text.please_recheck_your_request_data') })
|
|
382
|
+
// }
|
|
377
383
|
}
|
|
378
384
|
} catch (e) {
|
|
379
385
|
this._showToast(e)
|
|
@@ -721,17 +721,17 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
721
721
|
worksheetDetailNames.push(itm.name)
|
|
722
722
|
})
|
|
723
723
|
if (worksheetDetails.find(itm => itm.expirationDate)) {
|
|
724
|
-
|
|
724
|
+
let answer = await this._checkExpiry(worksheetDetails, locationDetails.type)
|
|
725
|
+
if (!answer?.value) return (this._scanning = false)
|
|
725
726
|
}
|
|
726
727
|
} else {
|
|
727
728
|
worksheetDetailNames.push(this._selectedOrderProduct.name)
|
|
728
729
|
if (this._selectedOrderProduct.expirationDate) {
|
|
729
|
-
|
|
730
|
+
let answer = await this._checkExpiry(this._selectedOrderProduct, locationDetails.type)
|
|
731
|
+
if (!answer?.value) return (this._scanning = false)
|
|
730
732
|
}
|
|
731
733
|
}
|
|
732
734
|
|
|
733
|
-
if (!answer.value) return (this._scanning = false)
|
|
734
|
-
|
|
735
735
|
const response = await client.mutate({
|
|
736
736
|
mutation: gql`
|
|
737
737
|
mutation putaway(
|
|
@@ -798,17 +798,17 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
798
798
|
worksheetDetailNames.push(itm.name)
|
|
799
799
|
})
|
|
800
800
|
if (worksheetDetails.find(itm => itm.expirationDate)) {
|
|
801
|
-
|
|
801
|
+
let answer = await this._checkExpiry(worksheetDetails, locationDetails.type)
|
|
802
|
+
if (!answer?.value) return (this._scanning = false)
|
|
802
803
|
}
|
|
803
804
|
} else {
|
|
804
805
|
worksheetDetailNames.push(this._selectedOrderProduct.name)
|
|
805
806
|
if (this._selectedOrderProduct.expirationDate) {
|
|
806
|
-
|
|
807
|
+
let answer = await this._checkExpiry(this._selectedOrderProduct, locationDetails.type)
|
|
808
|
+
if (!answer?.value) return (this._scanning = false)
|
|
807
809
|
}
|
|
808
810
|
}
|
|
809
811
|
|
|
810
|
-
if (!answer.value) return (this._scanning = false)
|
|
811
|
-
|
|
812
812
|
const response = await client.mutate({
|
|
813
813
|
mutation: gql`
|
|
814
814
|
mutation putawayReturn(
|
|
@@ -882,8 +882,10 @@ class PutawayProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
882
882
|
if (!this.incompleteLocationName) {
|
|
883
883
|
let worksheetDetailNames = []
|
|
884
884
|
if (this._enableCartonLabel) {
|
|
885
|
-
|
|
886
|
-
|
|
885
|
+
let worksheetDetails = this._getSelectedOrderProducts(this.cartonInput.value)
|
|
886
|
+
worksheetDetails.forEach(itm => {
|
|
887
|
+
worksheetDetailNames.push(itm.name)
|
|
888
|
+
})
|
|
887
889
|
} else worksheetDetailNames.push(this._selectedOrderProduct.name)
|
|
888
890
|
|
|
889
891
|
const response = await client.mutate({
|
|
@@ -793,9 +793,10 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
793
793
|
if (this._scanning) return this._showToast({ message: i18next.t('text.previous_scan_is_executing') })
|
|
794
794
|
this._scanning = true
|
|
795
795
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
796
|
+
if (this._isRequiredCheckExpiry && this._expirationPeriod > 0) {
|
|
797
|
+
const answer = await this._checkExpiry()
|
|
798
|
+
if (!answer?.value) return (this._scanning = false)
|
|
799
|
+
}
|
|
799
800
|
|
|
800
801
|
try {
|
|
801
802
|
const response = await client.mutate({
|
|
@@ -838,29 +839,26 @@ class UnloadProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
838
839
|
}
|
|
839
840
|
|
|
840
841
|
async _checkExpiry() {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
})
|
|
851
|
-
}
|
|
842
|
+
let date = new Date()
|
|
843
|
+
const acceptBefore = new Date(date.setDate(date.getDate() + this._expirationPeriod))
|
|
844
|
+
let expiryDate = new Date(this.expDateInput.value)
|
|
845
|
+
if (expiryDate < acceptBefore) {
|
|
846
|
+
return await CustomAlert({
|
|
847
|
+
title: i18next.t('title.item_unloading_is_expiring_soon'),
|
|
848
|
+
confirmButton: { text: i18next.t('button.confirm') },
|
|
849
|
+
cancelButton: { text: i18next.t('button.cancel') }
|
|
850
|
+
})
|
|
852
851
|
}
|
|
853
|
-
|
|
854
|
-
return answer
|
|
855
852
|
}
|
|
856
853
|
|
|
857
854
|
async _qtyUnload() {
|
|
858
855
|
if (this._scanning) return this._showToast({ message: i18next.t('text.previous_scan_is_executing') })
|
|
859
856
|
this._scanning = true
|
|
860
857
|
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
858
|
+
if (this._isRequiredCheckExpiry && this._expirationPeriod > 0) {
|
|
859
|
+
const answer = await this._checkExpiry()
|
|
860
|
+
if (!answer?.value) return (this._scanning = false)
|
|
861
|
+
}
|
|
864
862
|
|
|
865
863
|
try {
|
|
866
864
|
const response = await client.mutate({
|
|
@@ -1658,7 +1658,7 @@ class CreateArrivalNotice extends localize(i18next)(PageView) {
|
|
|
1658
1658
|
async bulkUploadValidateOrderProducts(patches) {
|
|
1659
1659
|
const response = await client.query({
|
|
1660
1660
|
query: gql`
|
|
1661
|
-
query bulkUploadValidateOrderProducts($orderProducts: [NewOrderProduct], $partnerBizplaceId: String!) {
|
|
1661
|
+
query bulkUploadValidateOrderProducts($orderProducts: [NewOrderProduct!], $partnerBizplaceId: String!) {
|
|
1662
1662
|
bulkUploadValidateOrderProducts(orderProducts: $orderProducts, partnerBizplaceId: $partnerBizplaceId) {
|
|
1663
1663
|
id
|
|
1664
1664
|
packingType
|
|
@@ -106,7 +106,7 @@ class B2bOrderList extends localize(i18next)(PageView) {
|
|
|
106
106
|
async pageInitialized() {
|
|
107
107
|
this.isUserBelongsDomain = await this._checkUserBelongsDomain()
|
|
108
108
|
const [_orderStatusReq, _bizplacesReq] = await Promise.allSettled([
|
|
109
|
-
getCodeByName('
|
|
109
|
+
getCodeByName('RO_REQUESTS_STATUS'),
|
|
110
110
|
this._fetchBizplaces()
|
|
111
111
|
])
|
|
112
112
|
|
|
@@ -577,6 +577,17 @@ class B2bOrderList extends localize(i18next)(PageView) {
|
|
|
577
577
|
})
|
|
578
578
|
return { header: headerSetting, data: data }
|
|
579
579
|
}
|
|
580
|
+
|
|
581
|
+
_showToast({ type, message }) {
|
|
582
|
+
document.dispatchEvent(
|
|
583
|
+
new CustomEvent('notify', {
|
|
584
|
+
detail: {
|
|
585
|
+
type,
|
|
586
|
+
message
|
|
587
|
+
}
|
|
588
|
+
})
|
|
589
|
+
)
|
|
590
|
+
}
|
|
580
591
|
}
|
|
581
592
|
|
|
582
593
|
window.customElements.define('b2b-order-list', B2bOrderList)
|
|
@@ -252,6 +252,8 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
252
252
|
} else {
|
|
253
253
|
this._warehouseTransportInput.checked = true
|
|
254
254
|
this._warehouseTransport = true
|
|
255
|
+
this._exportOptionInput.checked = false
|
|
256
|
+
this._exportOption = false
|
|
255
257
|
}
|
|
256
258
|
this._validateTransport()
|
|
257
259
|
}}"
|
|
@@ -269,6 +271,8 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
269
271
|
if (this._warehouseTransport) {
|
|
270
272
|
this._ownTransportInput.checked = false
|
|
271
273
|
this._ownTransport = false
|
|
274
|
+
this._exportOptionInput.checked = false
|
|
275
|
+
this._exportOption = false
|
|
272
276
|
} else {
|
|
273
277
|
this._ownTransportInput.checked = true
|
|
274
278
|
this._ownTransport = true
|
|
@@ -288,6 +292,16 @@ class CreateReleaseOrder extends localize(i18next)(PageView) {
|
|
|
288
292
|
?hidden="${!this._checkTransport}"
|
|
289
293
|
@change="${e => {
|
|
290
294
|
this._exportOption = e.currentTarget.checked
|
|
295
|
+
if (this._exportOption == true) {
|
|
296
|
+
this._warehouseTransportInput.checked = false
|
|
297
|
+
this._warehouseTransport = false
|
|
298
|
+
this._ownTransportInput.checked = true
|
|
299
|
+
this._ownTransport = true
|
|
300
|
+
}
|
|
301
|
+
if (this._warehouseTransport) {
|
|
302
|
+
this._exportOptionInput.checked = false
|
|
303
|
+
this._exportOption = false
|
|
304
|
+
}
|
|
291
305
|
}}"
|
|
292
306
|
/>
|
|
293
307
|
<label for="exportOption" ?hidden="${!this._checkTransport}">${i18next.t('label.export')}</label>
|
|
@@ -294,7 +294,8 @@ class ReleaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
|
|
|
294
294
|
<input name="refNo3" ?readonly="${!this?._editable}" />
|
|
295
295
|
|
|
296
296
|
<label>${i18next.t('label.release_date')}</label>
|
|
297
|
-
<input name="releaseDate" type="date" ?readonly="${!this
|
|
297
|
+
<input name="releaseDate" type="date" ?readonly="${!this
|
|
298
|
+
?._editable}" min="${this._getStdDate()}" required />
|
|
298
299
|
|
|
299
300
|
<label ?hidden="${!this._ownTransport}">${i18next.t('label.co_no')}</label>
|
|
300
301
|
<input name="collectionOrderNo" ?hidden="${!this._ownTransport}" ?readonly="${!this?._editable}" />
|
|
@@ -1474,6 +1474,8 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1474
1474
|
.releaseGoodNo="${this.releaseGoodNo}"
|
|
1475
1475
|
@reusable-pallet-info="${e => {
|
|
1476
1476
|
this._reusablePalletList = e.detail
|
|
1477
|
+
const plasticPallet = this._reusablePalletList.records.map(itm => itm.name)
|
|
1478
|
+
this._worksheetInfo.plasticPallet = plasticPallet.toString()
|
|
1477
1479
|
}}"
|
|
1478
1480
|
></outbound-reusable-pallet>
|
|
1479
1481
|
`,
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
useVirtualHostBasedDomain: false,
|
|
3
|
+
ormconfig: {
|
|
4
|
+
name: 'default',
|
|
5
|
+
type: 'postgres',
|
|
6
|
+
host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
7
|
+
database: 'operato',
|
|
8
|
+
username: 'operato',
|
|
9
|
+
password: 'abcd1234',
|
|
10
|
+
port: 55432,
|
|
11
|
+
synchronize: false,
|
|
12
|
+
logging: true
|
|
13
|
+
},
|
|
14
|
+
reportApiUrl: 'http://localhost:8090/rest/report/show_html',
|
|
15
|
+
storage: {
|
|
16
|
+
type: 's3',
|
|
17
|
+
accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
18
|
+
secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
19
|
+
bucketName: 'opa-one'
|
|
20
|
+
},
|
|
21
|
+
port: 3000,
|
|
22
|
+
uploads: 'uploads',
|
|
23
|
+
attachmentsPath: 'attachments',
|
|
24
|
+
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
25
|
+
logger: {
|
|
26
|
+
file: {
|
|
27
|
+
filename: 'logs/application-%DATE%.log',
|
|
28
|
+
datePattern: 'YYYY-MM-DD-HH',
|
|
29
|
+
zippedArchive: true,
|
|
30
|
+
maxSize: '200m',
|
|
31
|
+
maxFiles: '1m',
|
|
32
|
+
level: 'info'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
email: {
|
|
37
|
+
host: 'smtp.office365.com',
|
|
38
|
+
port: 587,
|
|
39
|
+
secure: false, // true for 465, false for other ports
|
|
40
|
+
auth: {
|
|
41
|
+
user: 'no-reply@hatiolab.com', // generated ethereal user
|
|
42
|
+
pass: 'h@ti0LAB1008' // generated ethereal password
|
|
43
|
+
},
|
|
44
|
+
secureConnection: false,
|
|
45
|
+
tls: {
|
|
46
|
+
ciphers: 'SSLv3'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
notification: {
|
|
51
|
+
fcm: {
|
|
52
|
+
serviceAccount: {
|
|
53
|
+
project_id: 'operato',
|
|
54
|
+
private_key:
|
|
55
|
+
'-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmnVAEv3zACi\nFH9+eFK3e+Q214XfgWz/v4p/FZdRLCYni5VBNHcwyWxLLS/V1ynzB3KM1sDiTRmI\npcT7+uTtwrKgJq64sXtFE2pYrFxDdCiyqzkhv/2ed4YIowAjpKBbbcCDKeVxVkoz\nC1P4PAzs9EeU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viceaccount.com'
|
|
57
|
+
},
|
|
58
|
+
appConfig: {
|
|
59
|
+
apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
|
|
60
|
+
projectId: 'operato',
|
|
61
|
+
messagingSenderId: 79537064975,
|
|
62
|
+
appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
|
|
63
|
+
},
|
|
64
|
+
serverKey:
|
|
65
|
+
'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
|
|
66
|
+
},
|
|
67
|
+
vapidKey: {
|
|
68
|
+
subject: 'mailto:heartyoh@hatiolab.com',
|
|
69
|
+
publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
|
|
70
|
+
privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
useVirtualHostBasedDomain: false,
|
|
3
|
+
|
|
4
|
+
ormconfig: {
|
|
5
|
+
name: 'default',
|
|
6
|
+
|
|
7
|
+
type: 'postgres',
|
|
8
|
+
|
|
9
|
+
host: 'operato-instance-1.cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
10
|
+
|
|
11
|
+
database: 'operato',
|
|
12
|
+
|
|
13
|
+
username: 'operato',
|
|
14
|
+
|
|
15
|
+
password: 'abcd1234',
|
|
16
|
+
|
|
17
|
+
port: 55432,
|
|
18
|
+
|
|
19
|
+
synchronize: false,
|
|
20
|
+
|
|
21
|
+
logging: true
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
reportApiUrl: 'http://localhost:8090/rest/report/show_html',
|
|
25
|
+
|
|
26
|
+
storage: {
|
|
27
|
+
type: 's3',
|
|
28
|
+
|
|
29
|
+
accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
30
|
+
|
|
31
|
+
secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
32
|
+
|
|
33
|
+
bucketName: 'opa-one'
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
port: 3000,
|
|
37
|
+
|
|
38
|
+
uploads: 'uploads',
|
|
39
|
+
|
|
40
|
+
attachmentsPath: 'attachments',
|
|
41
|
+
|
|
42
|
+
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
43
|
+
|
|
44
|
+
logger: {
|
|
45
|
+
file: {
|
|
46
|
+
filename: 'logs/application-%DATE%.log',
|
|
47
|
+
|
|
48
|
+
datePattern: 'YYYY-MM-DD-HH',
|
|
49
|
+
|
|
50
|
+
zippedArchive: true,
|
|
51
|
+
|
|
52
|
+
maxSize: '200m',
|
|
53
|
+
|
|
54
|
+
maxFiles: '1m',
|
|
55
|
+
|
|
56
|
+
level: 'info'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
email: {
|
|
61
|
+
host: 'smtp.office365.com',
|
|
62
|
+
|
|
63
|
+
port: 587,
|
|
64
|
+
|
|
65
|
+
secure: false, // true for 465, false for other ports
|
|
66
|
+
|
|
67
|
+
auth: {
|
|
68
|
+
user: 'no-reply@hatiolab.com', // generated ethereal user
|
|
69
|
+
|
|
70
|
+
pass: 'h@ti0LAB1008' // generated ethereal password
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
secureConnection: false,
|
|
74
|
+
|
|
75
|
+
tls: {
|
|
76
|
+
ciphers: 'SSLv3'
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
notification: {
|
|
81
|
+
fcm: {
|
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6zh5Ip\nBcDwF0X67cNSN3Wl40bS4yLFdolhEAyj5m0WPuYYXpjzhHhZ0W3V3ItdBkrmwIvy\nWOWu26qN0ZbwxVS2qVpHuj6iHWJKHuDZZUkFtJg3BeeBSOUHSA8TvjnA0xd83xeb\n8ZJasWoFvwKBgQDFs/gQ/gIdcq0exLfluh5nw0qgcmyHpNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
|
|
87
|
+
|
|
88
|
+
client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
appConfig: {
|
|
92
|
+
apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
|
|
93
|
+
|
|
94
|
+
projectId: 'operato',
|
|
95
|
+
|
|
96
|
+
messagingSenderId: 79537064975,
|
|
97
|
+
|
|
98
|
+
appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
serverKey:
|
|
102
|
+
'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
vapidKey: {
|
|
106
|
+
subject: 'mailto:heartyoh@hatiolab.com',
|
|
107
|
+
|
|
108
|
+
publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
|
|
109
|
+
|
|
110
|
+
privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.39",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"docker:run": "docker run --platform linux/amd64 -p 4000:3000 hatiolab/operato-wms:latest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@operato/ghost-print": "^0.3.
|
|
44
|
+
"@operato/ghost-print": "^0.3.19",
|
|
45
45
|
"@operato/scene-chartjs": "^0.1.2",
|
|
46
46
|
"@operato/scene-clock": "^0.1.2",
|
|
47
47
|
"@operato/scene-clone": "^0.1.2",
|
|
@@ -55,58 +55,58 @@
|
|
|
55
55
|
"@operato/scene-tab": "^0.1.2",
|
|
56
56
|
"@operato/scene-table": "^0.1.2",
|
|
57
57
|
"@operato/scene-wheel-sorter": "^0.1.2",
|
|
58
|
-
"@things-factory/apptool-ui": "^4.0.
|
|
59
|
-
"@things-factory/attachment-ui": "^4.0.
|
|
60
|
-
"@things-factory/auth-ui": "^4.0.
|
|
61
|
-
"@things-factory/barcode-ui": "^4.0.
|
|
62
|
-
"@things-factory/biz-ui": "^4.0.
|
|
63
|
-
"@things-factory/board-service": "^4.0.
|
|
64
|
-
"@things-factory/board-ui": "^4.0.
|
|
65
|
-
"@things-factory/code-ui": "^4.0.
|
|
66
|
-
"@things-factory/context-ui": "^4.0.
|
|
67
|
-
"@things-factory/export-ui": "^4.0.
|
|
68
|
-
"@things-factory/export-ui-csv": "^4.0.
|
|
69
|
-
"@things-factory/export-ui-excel": "^4.0.
|
|
70
|
-
"@things-factory/fav-base": "^4.0.
|
|
71
|
-
"@things-factory/form-ui": "^4.0.
|
|
72
|
-
"@things-factory/grist-ui": "^4.0.
|
|
73
|
-
"@things-factory/help": "^4.0.
|
|
74
|
-
"@things-factory/i18n-ui": "^4.0.
|
|
75
|
-
"@things-factory/id-rule-base": "^4.0.
|
|
76
|
-
"@things-factory/import-ui": "^4.0.
|
|
77
|
-
"@things-factory/import-ui-excel": "^4.0.
|
|
78
|
-
"@things-factory/menu-ui": "^4.0.
|
|
79
|
-
"@things-factory/more-ui": "^4.0.
|
|
80
|
-
"@things-factory/notification": "^4.0.
|
|
81
|
-
"@things-factory/pdf": "^4.0.
|
|
82
|
-
"@things-factory/print-proxy-service": "^4.0.
|
|
83
|
-
"@things-factory/print-service": "^4.0.
|
|
84
|
-
"@things-factory/print-ui": "^4.0.
|
|
85
|
-
"@things-factory/product-base": "^4.0.
|
|
86
|
-
"@things-factory/resource-ui": "^4.0.
|
|
87
|
-
"@things-factory/sales-ui": "^4.0.
|
|
88
|
-
"@things-factory/scene-data-transform": "^4.0.
|
|
89
|
-
"@things-factory/scene-excel": "^4.0.
|
|
90
|
-
"@things-factory/scene-firebase": "^4.0.
|
|
91
|
-
"@things-factory/scene-form": "^4.0.
|
|
92
|
-
"@things-factory/scene-google-map": "^4.0.
|
|
93
|
-
"@things-factory/scene-graphql": "^4.0.
|
|
58
|
+
"@things-factory/apptool-ui": "^4.0.39",
|
|
59
|
+
"@things-factory/attachment-ui": "^4.0.39",
|
|
60
|
+
"@things-factory/auth-ui": "^4.0.39",
|
|
61
|
+
"@things-factory/barcode-ui": "^4.0.39",
|
|
62
|
+
"@things-factory/biz-ui": "^4.0.39",
|
|
63
|
+
"@things-factory/board-service": "^4.0.39",
|
|
64
|
+
"@things-factory/board-ui": "^4.0.39",
|
|
65
|
+
"@things-factory/code-ui": "^4.0.39",
|
|
66
|
+
"@things-factory/context-ui": "^4.0.39",
|
|
67
|
+
"@things-factory/export-ui": "^4.0.39",
|
|
68
|
+
"@things-factory/export-ui-csv": "^4.0.39",
|
|
69
|
+
"@things-factory/export-ui-excel": "^4.0.39",
|
|
70
|
+
"@things-factory/fav-base": "^4.0.39",
|
|
71
|
+
"@things-factory/form-ui": "^4.0.39",
|
|
72
|
+
"@things-factory/grist-ui": "^4.0.39",
|
|
73
|
+
"@things-factory/help": "^4.0.39",
|
|
74
|
+
"@things-factory/i18n-ui": "^4.0.39",
|
|
75
|
+
"@things-factory/id-rule-base": "^4.0.39",
|
|
76
|
+
"@things-factory/import-ui": "^4.0.39",
|
|
77
|
+
"@things-factory/import-ui-excel": "^4.0.39",
|
|
78
|
+
"@things-factory/menu-ui": "^4.0.39",
|
|
79
|
+
"@things-factory/more-ui": "^4.0.39",
|
|
80
|
+
"@things-factory/notification": "^4.0.39",
|
|
81
|
+
"@things-factory/pdf": "^4.0.39",
|
|
82
|
+
"@things-factory/print-proxy-service": "^4.0.39",
|
|
83
|
+
"@things-factory/print-service": "^4.0.39",
|
|
84
|
+
"@things-factory/print-ui": "^4.0.39",
|
|
85
|
+
"@things-factory/product-base": "^4.0.39",
|
|
86
|
+
"@things-factory/resource-ui": "^4.0.39",
|
|
87
|
+
"@things-factory/sales-ui": "^4.0.39",
|
|
88
|
+
"@things-factory/scene-data-transform": "^4.0.39",
|
|
89
|
+
"@things-factory/scene-excel": "^4.0.39",
|
|
90
|
+
"@things-factory/scene-firebase": "^4.0.39",
|
|
91
|
+
"@things-factory/scene-form": "^4.0.39",
|
|
92
|
+
"@things-factory/scene-google-map": "^4.0.39",
|
|
93
|
+
"@things-factory/scene-graphql": "^4.0.39",
|
|
94
94
|
"@things-factory/scene-half-roundrect": "^4.0.9",
|
|
95
|
-
"@things-factory/scene-label": "^4.0.
|
|
96
|
-
"@things-factory/scene-marker": "^4.0.
|
|
97
|
-
"@things-factory/scene-mqtt": "^4.0.
|
|
98
|
-
"@things-factory/scene-news-ticker": "^4.0.
|
|
99
|
-
"@things-factory/scene-restful": "^4.0.
|
|
100
|
-
"@things-factory/scene-visualizer": "^4.0.
|
|
101
|
-
"@things-factory/setting-ui": "^4.0.
|
|
102
|
-
"@things-factory/system-ui": "^4.0.
|
|
103
|
-
"@things-factory/transport-base": "^4.0.
|
|
104
|
-
"@things-factory/tutorial-ui": "^4.0.
|
|
105
|
-
"@things-factory/warehouse-base": "^4.0.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.0.
|
|
95
|
+
"@things-factory/scene-label": "^4.0.39",
|
|
96
|
+
"@things-factory/scene-marker": "^4.0.39",
|
|
97
|
+
"@things-factory/scene-mqtt": "^4.0.39",
|
|
98
|
+
"@things-factory/scene-news-ticker": "^4.0.39",
|
|
99
|
+
"@things-factory/scene-restful": "^4.0.39",
|
|
100
|
+
"@things-factory/scene-visualizer": "^4.0.39",
|
|
101
|
+
"@things-factory/setting-ui": "^4.0.39",
|
|
102
|
+
"@things-factory/system-ui": "^4.0.39",
|
|
103
|
+
"@things-factory/transport-base": "^4.0.39",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.0.39",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.0.39",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.0.39"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@things-factory/builder": "^4.0.
|
|
109
|
+
"@things-factory/builder": "^4.0.39"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "a4f93ea85a26cf70ae0aa2fcd298aa59b55dd039"
|
|
112
112
|
}
|
package/translations/en.json
CHANGED
|
@@ -1167,6 +1167,7 @@
|
|
|
1167
1167
|
"text.order_has_been_set_to_ready_to_ship": "order has been set to ready to ship",
|
|
1168
1168
|
"text.order_no_is_empty": "order no is empty",
|
|
1169
1169
|
"text.order_status_not_qualified_for_bulk_printing_packing_list": "order status not qualified for bulk printing packing list",
|
|
1170
|
+
"text.orders_has_been_activated": "orders has been activated",
|
|
1170
1171
|
"text.package_qty_should_be_positive": "package qty should be positive",
|
|
1171
1172
|
"text.packing_is_completed": "packing is completed",
|
|
1172
1173
|
"text.pallet_is_in_progressing": "pallet is in progressing",
|
|
@@ -1529,6 +1530,7 @@
|
|
|
1529
1530
|
"title.palletizing_with_pallets": "palletizing with pallets",
|
|
1530
1531
|
"title.palletizing": "palletizing",
|
|
1531
1532
|
"title.pallets": "pallets",
|
|
1533
|
+
"title.partner": "partner",
|
|
1532
1534
|
"title.picking_bins": "picking bins",
|
|
1533
1535
|
"title.picking_strategy": "picking strategy",
|
|
1534
1536
|
"title.picking": "picking",
|
package/translations/ko.json
CHANGED
|
@@ -1865,5 +1865,7 @@
|
|
|
1865
1865
|
"text.use_normal_pallet": "[ko] use normal pallet",
|
|
1866
1866
|
"text.invalid_return_location": "[ko] invalid return location",
|
|
1867
1867
|
"button.disable": "[ko] disable",
|
|
1868
|
-
"text.x_is_expiring": "[ko] {x} is expiring"
|
|
1868
|
+
"text.x_is_expiring": "[ko] {x} is expiring",
|
|
1869
|
+
"text.orders_has_been_activated": "[ko] orders has been activated",
|
|
1870
|
+
"title.partner": "[ko] partner"
|
|
1869
1871
|
}
|
package/translations/ms.json
CHANGED
|
@@ -1735,5 +1735,7 @@
|
|
|
1735
1735
|
"text.invalid_return_location": "[ms] invalid return location",
|
|
1736
1736
|
"text.use_normal_pallet": "[ms] use normal pallet",
|
|
1737
1737
|
"button.disable": "[ms] disable",
|
|
1738
|
-
"text.x_is_expiring": "[
|
|
1738
|
+
"text.x_is_expiring": "[ms] {x} is expiring",
|
|
1739
|
+
"text.orders_has_been_activated": "[ms] orders has been activated",
|
|
1740
|
+
"title.partner": "[ms] partner"
|
|
1739
1741
|
}
|
package/translations/zh.json
CHANGED
|
@@ -1685,5 +1685,7 @@
|
|
|
1685
1685
|
"text.invalid_return_location": "[zh] invalid return location",
|
|
1686
1686
|
"text.use_normal_pallet": "[zh] use normal pallet",
|
|
1687
1687
|
"button.disable": "[zh] disable",
|
|
1688
|
-
"text.x_is_expiring": "[
|
|
1688
|
+
"text.x_is_expiring": "[zh] {x} is expiring",
|
|
1689
|
+
"text.orders_has_been_activated": "[zh] orders has been activated",
|
|
1690
|
+
"title.partner": "[zh] partner"
|
|
1689
1691
|
}
|