@things-factory/operato-wms 4.3.524 → 4.3.526
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/bulk-operation.js +1 -0
- package/client/pages/bulk-operation/validate-ro-popup.js +8 -0
- package/client/pages/inventory/onhand-inventory.js +1 -0
- package/client/pages/outbound/packing-product.js +77 -10
- package/client/pages/report/manifest-report.js +10 -0
- package/config.development.js +18 -155
- package/dist-server/graphql/resolvers/reports/manifest-report.js +4 -2
- package/dist-server/graphql/resolvers/reports/manifest-report.js.map +1 -1
- package/dist-server/graphql/types/reports/manifest-report-type.js +1 -0
- package/dist-server/graphql/types/reports/manifest-report-type.js.map +1 -1
- package/package.json +50 -50
- package/server/graphql/resolvers/reports/manifest-report.ts +4 -2
- package/server/graphql/types/reports/manifest-report-type.ts +1 -0
- package/translations/en.json +5 -0
- package/translations/ko.json +5 -0
- package/translations/ms.json +5 -0
- package/translations/zh.json +5 -0
|
@@ -562,6 +562,7 @@ class BulkOperation extends localize(i18next)(PageView) {
|
|
|
562
562
|
deliveryAddress3: String(record.deliveryAddress3 || ''),
|
|
563
563
|
deliveryAddress4: String(record.deliveryAddress4 || ''),
|
|
564
564
|
attentionTo: String(record.attentionTo || ''),
|
|
565
|
+
attentionCompany: String(record.attentionCompany || ''),
|
|
565
566
|
city: String(record.city || ''),
|
|
566
567
|
state: String(record.state || ''),
|
|
567
568
|
country: String(record.country || ''),
|
|
@@ -118,6 +118,12 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
|
|
|
118
118
|
header: i18next.t('field.attention_to'),
|
|
119
119
|
width: 150
|
|
120
120
|
},
|
|
121
|
+
{
|
|
122
|
+
type: 'string',
|
|
123
|
+
name: 'attentionCompany',
|
|
124
|
+
header: i18next.t('field.attention_company'),
|
|
125
|
+
width: 150
|
|
126
|
+
},
|
|
121
127
|
{
|
|
122
128
|
type: 'string',
|
|
123
129
|
name: 'phone1',
|
|
@@ -326,6 +332,7 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
|
|
|
326
332
|
billingState
|
|
327
333
|
billingCountry
|
|
328
334
|
attentionTo
|
|
335
|
+
attentionCompany
|
|
329
336
|
city
|
|
330
337
|
state
|
|
331
338
|
country
|
|
@@ -386,6 +393,7 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
|
|
|
386
393
|
billingPostalCode: x.billingPostalCode,
|
|
387
394
|
billingCountry: x.billingCountry,
|
|
388
395
|
attentionTo: x.attentionTo,
|
|
396
|
+
attentionCompany: x.attentionCompany,
|
|
389
397
|
city: x.city,
|
|
390
398
|
state: x.state,
|
|
391
399
|
country: x.country,
|
|
@@ -600,6 +600,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
|
|
|
600
600
|
{ header: i18next.t('field.uom'), key: 'uom', width: 15, type: 'string' },
|
|
601
601
|
{ header: i18next.t('field.location'), key: 'location_name', width: 25, type: 'string' },
|
|
602
602
|
{ header: i18next.t('field.exp_date'), key: 'expirationDate', width: 30, type: 'string' },
|
|
603
|
+
{ header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 40, type: 'date' },
|
|
603
604
|
{ header: i18next.t('field.batch_no_ref'), key: 'batchIdRef', width: 50, type: 'string' },
|
|
604
605
|
{ header: i18next.t('field.volume_m3'), key: 'volume', width: 25, type: 'float' },
|
|
605
606
|
{ header: i18next.t('field.unit_cost'), key: 'unitCost', width: 25, type: 'float' },
|
|
@@ -52,7 +52,9 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
52
52
|
_isRequireSerialNumberScanningOutbound: Boolean,
|
|
53
53
|
_isBatchPicking: Boolean,
|
|
54
54
|
_isLmdOption: Boolean,
|
|
55
|
-
_awbAttempts: Number
|
|
55
|
+
_awbAttempts: Number,
|
|
56
|
+
grossWeight: Number,
|
|
57
|
+
_enablePackingGrossWeight: Boolean
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
60
|
|
|
@@ -194,8 +196,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
194
196
|
if (
|
|
195
197
|
this.releaseGoodNo &&
|
|
196
198
|
(this.source == 'OTHERS' || this.source == null) &&
|
|
197
|
-
this.platform == 'operato' &&
|
|
198
|
-
this.completed
|
|
199
|
+
this.platform == 'operato' && this.completed
|
|
199
200
|
) {
|
|
200
201
|
actions.push({
|
|
201
202
|
title: i18next.t('button.print_airway_bill'),
|
|
@@ -269,6 +270,10 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
269
270
|
return this.shadowRoot.querySelector('barcode-scanable-input[name=serialNumber]')?.shadowRoot.querySelector('input')
|
|
270
271
|
}
|
|
271
272
|
|
|
273
|
+
get grossWeightInput() {
|
|
274
|
+
return this.shadowRoot.querySelector('input[name=grossWeight]')
|
|
275
|
+
}
|
|
276
|
+
|
|
272
277
|
get scannable() {
|
|
273
278
|
return this._selectedTaskStatus && this._selectedTaskStatus === WORKSHEET_STATUS.EXECUTING.value
|
|
274
279
|
}
|
|
@@ -291,6 +296,25 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
291
296
|
}
|
|
292
297
|
}
|
|
293
298
|
|
|
299
|
+
addGrossWeightListener() {
|
|
300
|
+
const grossWeightInput = this.shadowRoot.querySelector('#grossWeightInput');
|
|
301
|
+
if (grossWeightInput) {
|
|
302
|
+
grossWeightInput.addEventListener('input', (event) => {
|
|
303
|
+
let value = event.target.value;
|
|
304
|
+
|
|
305
|
+
// Check if the input is valid and contains more than 3 decimal places
|
|
306
|
+
if (value.includes('.')) {
|
|
307
|
+
let [integer, decimals] = value.split('.');
|
|
308
|
+
if (decimals.length > 3) {
|
|
309
|
+
event.target.value = `${integer}.${decimals.slice(0, 3)}`;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
} else {
|
|
314
|
+
console.error("Gross weight input not found.");
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
294
318
|
render() {
|
|
295
319
|
return html`
|
|
296
320
|
<form id="info-form" class="multi-column-form" style="align-items:center">
|
|
@@ -316,7 +340,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
316
340
|
<fieldset>
|
|
317
341
|
${this._enableProductScanning
|
|
318
342
|
? html` <label>${i18next.t('label.product_barcode')}</label>
|
|
319
|
-
<barcode-scanable-input name="productBarcode" custom-input></barcode-scanable-input
|
|
343
|
+
<barcode-scanable-input name="productBarcode" custom-input></barcode-scanable-input>
|
|
344
|
+
|
|
345
|
+
${this._enablePackingGrossWeight
|
|
346
|
+
? html`
|
|
347
|
+
<label>${i18next.t('label.gross_weight')}</label>
|
|
348
|
+
<input name="grossWeight" id="grossWeightInput" type="number" min="0" step="0.001"/>`
|
|
349
|
+
: ''}
|
|
350
|
+
`
|
|
320
351
|
: this._isRequireSerialNumberScanningOutbound && this._isBatchPicking
|
|
321
352
|
? ``
|
|
322
353
|
: html`
|
|
@@ -369,9 +400,12 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
369
400
|
this._isBatchPicking = false
|
|
370
401
|
this._isLmdOption = false
|
|
371
402
|
this._awbAttempts = 0
|
|
403
|
+
this._enablePackingGrossWeight = false
|
|
372
404
|
}
|
|
373
405
|
|
|
406
|
+
|
|
374
407
|
updated(changedProps) {
|
|
408
|
+
this.addGrossWeightListener()
|
|
375
409
|
if (changedProps.has('_selectedTaskStatus') && this._selectedTaskStatus) {
|
|
376
410
|
this.updateContext()
|
|
377
411
|
}
|
|
@@ -644,6 +678,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
644
678
|
}
|
|
645
679
|
|
|
646
680
|
this._enableProductScanning = await fetchSettingRule('enable-product-scanning', worksheetInfo.partnerDomainId)
|
|
681
|
+
this._enablePackingGrossWeight = await fetchSettingRule('enable-packing-gross-weight', worksheetInfo.partnerDomainId)
|
|
647
682
|
|
|
648
683
|
if (this._enableProductScanning) {
|
|
649
684
|
this.focusOnProductBarcodeInput()
|
|
@@ -1147,12 +1182,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1147
1182
|
if (!response.errors) {
|
|
1148
1183
|
if (this._enableProductScanning) {
|
|
1149
1184
|
this.productBarcodeInput.value = ''
|
|
1185
|
+
if (this._enablePackingGrossWeight){
|
|
1186
|
+
this.grossWeightInput.value = ''
|
|
1187
|
+
}
|
|
1150
1188
|
} else {
|
|
1151
1189
|
this.releaseQtyInput.value = ''
|
|
1152
1190
|
this._selectedTaskStatus = null
|
|
1153
1191
|
this._selectedOrderInventory = null
|
|
1154
1192
|
}
|
|
1155
|
-
|
|
1156
1193
|
if (this._isRequireSerialNumberScanningOutbound && this._isBatchPicking) {
|
|
1157
1194
|
this.serialInput.value = ''
|
|
1158
1195
|
}
|
|
@@ -1175,6 +1212,9 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1175
1212
|
} finally {
|
|
1176
1213
|
if (!this._isRequireSerialNumberScanningOutbound) {
|
|
1177
1214
|
this._enableProductScanning ? (this.productBarcodeInput.value = '') : (this.releaseQtyInput.value = '')
|
|
1215
|
+
if(this._enablePackingGrossWeight){
|
|
1216
|
+
this.grossWeightInput.value = ''
|
|
1217
|
+
}
|
|
1178
1218
|
} else {
|
|
1179
1219
|
if (this._isBatchPicking) this.serialInput.value = ''
|
|
1180
1220
|
}
|
|
@@ -1358,8 +1398,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1358
1398
|
validatePacking() {
|
|
1359
1399
|
// validate for order selection
|
|
1360
1400
|
if (this._enableProductScanning) {
|
|
1361
|
-
|
|
1362
|
-
if
|
|
1401
|
+
|
|
1402
|
+
//if entered weight without fully scanning product barcode and settings enabled
|
|
1403
|
+
if (this._enablePackingGrossWeight && this.grossWeightInput.value && (this._selectedOrderInventory?.packedQty !== this._selectedOrderInventory?.releaseQty)) {
|
|
1404
|
+
this._selectedOrderInventory = null
|
|
1405
|
+
throw new Error(i18next.t('text.please_scan_all_items_first_before_entering_the_gross_weight'))
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
if (!this.productBarcodeInput.value && (this._selectedOrderInventory?.packedQty !== this._selectedOrderInventory?.releaseQty)) {
|
|
1363
1409
|
this.focusOnProductBarcodeInput()
|
|
1364
1410
|
throw new Error(i18next.t('text.no_product_barcode_detected'))
|
|
1365
1411
|
}
|
|
@@ -1410,13 +1456,34 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1410
1456
|
}
|
|
1411
1457
|
|
|
1412
1458
|
async complete() {
|
|
1459
|
+
|
|
1460
|
+
if (this._enablePackingGrossWeight) {
|
|
1461
|
+
const grossWeightValue = this.grossWeightInput.value;
|
|
1462
|
+
|
|
1463
|
+
if (!grossWeightValue) {
|
|
1464
|
+
throw new Error(this.showToast({
|
|
1465
|
+
message: i18next.t('text.please_input_the_gross_weight_to_proceed_with_complete_packing')
|
|
1466
|
+
}));
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
if (!/^\d*\.?\d*$/.test(grossWeightValue)) {
|
|
1470
|
+
throw new Error(this.showToast({
|
|
1471
|
+
message: i18next.t('text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing')
|
|
1472
|
+
}));
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
|
|
1413
1477
|
const response = await client.mutate({
|
|
1414
1478
|
mutation: gql`
|
|
1415
|
-
mutation completePacking($releaseGoodNo: String!, $orderPackageId: String
|
|
1416
|
-
completePacking(releaseGoodNo: $releaseGoodNo, orderPackageId: $orderPackageId)
|
|
1479
|
+
mutation completePacking($releaseGoodNo: String!, $orderPackageId: String!, $grossWeight: Float) {
|
|
1480
|
+
completePacking(releaseGoodNo: $releaseGoodNo, orderPackageId: $orderPackageId, grossWeight: $grossWeight)
|
|
1417
1481
|
}
|
|
1418
1482
|
`,
|
|
1419
|
-
variables: {
|
|
1483
|
+
variables: {
|
|
1484
|
+
releaseGoodNo: this.releaseGoodNo,
|
|
1485
|
+
orderPackageId: this._orderPackageInformation?.orderPackage?.id,
|
|
1486
|
+
grossWeight: this._enablePackingGrossWeight && this.grossWeightInput.value ? parseFloat(this.grossWeightInput.value) : null }
|
|
1420
1487
|
})
|
|
1421
1488
|
|
|
1422
1489
|
if (!response.errors) {
|
|
@@ -182,6 +182,7 @@ class ManifestReport extends localize(i18next)(PageView) {
|
|
|
182
182
|
'roNo',
|
|
183
183
|
'status',
|
|
184
184
|
'trackingNo',
|
|
185
|
+
'grossWeight',
|
|
185
186
|
'name',
|
|
186
187
|
'manifestedAt',
|
|
187
188
|
'manifestedBy',
|
|
@@ -227,6 +228,13 @@ class ManifestReport extends localize(i18next)(PageView) {
|
|
|
227
228
|
label: true,
|
|
228
229
|
width: 120
|
|
229
230
|
},
|
|
231
|
+
{
|
|
232
|
+
type: 'float',
|
|
233
|
+
name: 'grossWeight',
|
|
234
|
+
header: i18next.t('field.gross_weight'),
|
|
235
|
+
label: true,
|
|
236
|
+
width: 120
|
|
237
|
+
},
|
|
230
238
|
{
|
|
231
239
|
type: 'string',
|
|
232
240
|
name: 'manifestNo',
|
|
@@ -296,6 +304,7 @@ class ManifestReport extends localize(i18next)(PageView) {
|
|
|
296
304
|
refNo
|
|
297
305
|
roNo
|
|
298
306
|
status
|
|
307
|
+
grossWeight
|
|
299
308
|
trackingNo
|
|
300
309
|
manifestNo
|
|
301
310
|
manifestedAt
|
|
@@ -406,6 +415,7 @@ class ManifestReport extends localize(i18next)(PageView) {
|
|
|
406
415
|
{ header: i18next.t('field.ro_no'), key: 'roNo', width: 30, type: 'string' },
|
|
407
416
|
{ header: i18next.t('field.status'), key: 'status', width: 15, type: 'string' },
|
|
408
417
|
{ header: i18next.t('field.tracking_no'), key: 'trackingNo', width: 15, type: 'string' },
|
|
418
|
+
{ header: i18next.t('field.gross_weight'), key: 'grossWeight', width: 15, type: 'number' },
|
|
409
419
|
{ header: i18next.t('field.manifest_no'), key: 'manifestNo', width: 20, type: 'string' },
|
|
410
420
|
{ header: i18next.t('field.manifested_at'), key: 'manifestedAt', width: 20, type: 'string' },
|
|
411
421
|
{ header: i18next.t('field.manifested_by'), key: 'manifestedBy', width: 20, type: 'string' },
|
package/config.development.js
CHANGED
|
@@ -4,118 +4,33 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
8
|
-
inspect: '
|
|
9
|
-
// postgres
|
|
7
|
+
port: 1100,
|
|
8
|
+
inspect: '9430',
|
|
10
9
|
ormconfig: {
|
|
11
10
|
name: 'default',
|
|
12
11
|
type: 'postgres',
|
|
13
|
-
database: '
|
|
12
|
+
database: 'dev',
|
|
14
13
|
username: 'postgres',
|
|
15
14
|
password: 'hatio',
|
|
16
15
|
host: '192.168.0.161',
|
|
17
16
|
port: 15432,
|
|
18
|
-
synchronize:
|
|
17
|
+
synchronize: false,
|
|
19
18
|
logging: true
|
|
20
19
|
},
|
|
21
|
-
|
|
22
|
-
//eric2
|
|
23
|
-
// ormconfig: {
|
|
24
|
-
// name: 'default',
|
|
25
|
-
// type: 'postgres',
|
|
26
|
-
// database: 'eric2',
|
|
27
|
-
// username: 'postgres',
|
|
28
|
-
// password: 'hatio',
|
|
29
|
-
// host: '192.168.0.153',
|
|
30
|
-
// port: 15432,
|
|
31
|
-
// synchronize: false,
|
|
32
|
-
// logging: true
|
|
33
|
-
// },
|
|
34
|
-
// arif's
|
|
35
|
-
// ormconfig: {
|
|
36
|
-
// name: 'default',
|
|
37
|
-
// type: 'postgres',
|
|
38
|
-
// database: 'arif',
|
|
39
|
-
// username: 'postgres',
|
|
40
|
-
// password: 'hatio',
|
|
41
|
-
// host: '192.168.0.151',
|
|
42
|
-
// port: 15432,
|
|
43
|
-
// synchronize: false,
|
|
44
|
-
// logging: true
|
|
45
|
-
// },
|
|
46
|
-
//EMS
|
|
47
|
-
// ormconfig: {
|
|
48
|
-
// name: 'default',
|
|
49
|
-
// type: 'postgres',
|
|
50
|
-
// database: 'EMS',
|
|
51
|
-
// username: 'postgres',
|
|
52
|
-
// password: 'hatio',
|
|
53
|
-
// host: '192.168.0.161',
|
|
54
|
-
// port: 15432,
|
|
55
|
-
// synchronize: false,
|
|
56
|
-
// logging: true
|
|
57
|
-
// },
|
|
58
|
-
//db nora
|
|
59
20
|
// ormconfig: {
|
|
60
21
|
// name: 'default',
|
|
61
22
|
// type: 'postgres',
|
|
62
23
|
// database: 'postgres',
|
|
63
24
|
// username: 'postgres',
|
|
64
|
-
// password: '
|
|
65
|
-
// host: '192.168.0.36',
|
|
66
|
-
// port: 15432,
|
|
67
|
-
// synchronize: true,
|
|
68
|
-
// logging: true
|
|
69
|
-
// },
|
|
70
|
-
// ormconfig: {
|
|
71
|
-
// name: 'default',
|
|
72
|
-
// type: 'postgres',
|
|
73
|
-
// database: 'eric',
|
|
74
|
-
// username: 'postgres',
|
|
75
|
-
// password: 'hatio',
|
|
76
|
-
// host: '192.168.0.153',
|
|
77
|
-
// port: 15432,
|
|
78
|
-
// synchronize: true,
|
|
79
|
-
// logging: true
|
|
80
|
-
// },
|
|
81
|
-
//db izzah
|
|
82
|
-
// ormconfig: {
|
|
83
|
-
// name: 'default',
|
|
84
|
-
// type: 'postgres',
|
|
85
|
-
// database: '06072023',
|
|
86
|
-
// username: 'postgres',
|
|
87
|
-
// password: 'hatio',
|
|
88
|
-
// host: '192.168.0.153',
|
|
89
|
-
// port: 15432,
|
|
90
|
-
// synchronize: false,
|
|
91
|
-
// logging: true
|
|
92
|
-
// },
|
|
93
|
-
// ormconfig: {
|
|
94
|
-
// name: 'default',
|
|
95
|
-
// type: 'postgres',
|
|
25
|
+
// password: 'abcd1234',
|
|
96
26
|
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
97
27
|
// port: 55432,
|
|
98
|
-
// database: 'postgres',
|
|
99
|
-
// username: 'postgres',
|
|
100
|
-
// password: 'abcd1234',
|
|
101
28
|
// synchronize: false,
|
|
102
|
-
// logging: true
|
|
103
|
-
// connectTimeoutMS: 30000,
|
|
104
|
-
// extra: { poolSize: 30 }
|
|
29
|
+
// logging: true
|
|
105
30
|
// },
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
// database: 'dev2',
|
|
110
|
-
// username: 'postgres',
|
|
111
|
-
// password: 'hatio',
|
|
112
|
-
// host: 'localhost',
|
|
113
|
-
// port: 15432,
|
|
114
|
-
// synchronize: false,
|
|
115
|
-
// logging: true,
|
|
116
|
-
// connectTimeoutMS: 30000,
|
|
117
|
-
// extra: { poolSize: 30 }
|
|
118
|
-
//},
|
|
31
|
+
sellercraftIntegrationConfig: {
|
|
32
|
+
apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
|
|
33
|
+
},
|
|
119
34
|
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
120
35
|
password: {
|
|
121
36
|
lowerCase: true,
|
|
@@ -129,6 +44,13 @@ module.exports = {
|
|
|
129
44
|
looseCharacterLength: 4,
|
|
130
45
|
history: 2
|
|
131
46
|
},
|
|
47
|
+
// storage: {
|
|
48
|
+
// type: 's3',
|
|
49
|
+
// accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
50
|
+
// secretAccessKey: 'AuDAgmODf9EJNB24OveRhTSLV/OJy6IFFoRxe8k2',
|
|
51
|
+
// bucketName: 'opa-one',
|
|
52
|
+
// region: 'ap-southeast-1'
|
|
53
|
+
// },
|
|
132
54
|
uploads: 'uploads',
|
|
133
55
|
attachmentsPath: 'attachments',
|
|
134
56
|
logger: {
|
|
@@ -178,65 +100,6 @@ module.exports = {
|
|
|
178
100
|
// privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
179
101
|
// }
|
|
180
102
|
},
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
protocol: 'http',
|
|
184
|
-
platform: 'operato',
|
|
185
|
-
application: 'Operato MMS',
|
|
186
|
-
appKey: 'a9bf751e622bf146662b240d58971051',
|
|
187
|
-
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
188
|
-
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
189
|
-
},
|
|
190
|
-
lmdIntegrationNinjavan: {
|
|
191
|
-
clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
|
|
192
|
-
secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
|
|
193
|
-
refreshThreshold: 43200
|
|
194
|
-
},
|
|
195
|
-
|
|
196
|
-
lmdIntegrationEms: { refreshThreshold: 43200 },
|
|
197
|
-
marketplaceIntegrationShopee: {
|
|
198
|
-
platform: 'shopee',
|
|
199
|
-
isUAT: false,
|
|
200
|
-
application: 'Operato MMS',
|
|
201
|
-
partnerId: 846025,
|
|
202
|
-
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
|
|
203
|
-
v2: true
|
|
204
|
-
},
|
|
205
|
-
marketplaceIntegrationLazada: {
|
|
206
|
-
platform: 'lazada',
|
|
207
|
-
application: 'operato-mms',
|
|
208
|
-
appKey: '120961',
|
|
209
|
-
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
210
|
-
callback: 'https://maybank.operato-m.com/lazada-callback'
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
//testinglazada
|
|
214
|
-
// marketplaceIntegrationLazada: {
|
|
215
|
-
// platform: 'lazada',
|
|
216
|
-
// application: 'powrup_bi',
|
|
217
|
-
// appKey: '117890',
|
|
218
|
-
// appSecret: 'tQVllnUa7irAHoNxAwXEVxoP1we1bUjE',
|
|
219
|
-
// callback: 'https://73c5-175-141-30-142.ngrok-free.app/lazada-callback'
|
|
220
|
-
// },
|
|
221
|
-
reportApiUrl: 'http://localhost:8888/rest/report/show_html',
|
|
222
|
-
// reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
|
|
223
|
-
// reportApiUrl: 'http://10.100.109.66:8090/rest/report/show_html',
|
|
224
|
-
awbFileStorage: {
|
|
225
|
-
type: 's3',
|
|
226
|
-
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
227
|
-
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
228
|
-
bucketName: 'operato-awb',
|
|
229
|
-
region: 'ap-southeast-1'
|
|
230
|
-
},
|
|
231
|
-
lambda: {
|
|
232
|
-
region: 'ap-southeast-1',
|
|
233
|
-
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
234
|
-
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e'
|
|
235
|
-
},
|
|
236
|
-
lmdIntegrationConfig: {
|
|
237
|
-
version: {
|
|
238
|
-
v1: 'lmdMiddleware',
|
|
239
|
-
v2: 'lmdMiddlewareV2'
|
|
240
|
-
}
|
|
241
|
-
}
|
|
103
|
+
// reportApiUrl: 'localhost:8888/rest/report/show_html'
|
|
104
|
+
reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
|
|
242
105
|
}
|
|
@@ -45,7 +45,8 @@ exports.manifestReport = {
|
|
|
45
45
|
u.name AS "manifested_by",
|
|
46
46
|
b.name AS "company",
|
|
47
47
|
rg.ref_no AS "ref_no",
|
|
48
|
-
rg.name AS "ro_no"
|
|
48
|
+
rg.name AS "ro_no",
|
|
49
|
+
op.gross_weight
|
|
49
50
|
FROM order_packages op
|
|
50
51
|
LEFT JOIN
|
|
51
52
|
manifests m on m.id = op.manifest_id
|
|
@@ -83,7 +84,8 @@ exports.manifestReport = {
|
|
|
83
84
|
manifestedAt: itm.manifested_at,
|
|
84
85
|
manifestedBy: itm.manifested_by,
|
|
85
86
|
orderedAt: itm.ordered_at,
|
|
86
|
-
transporter: itm.transporter
|
|
87
|
+
transporter: itm.transporter,
|
|
88
|
+
grossWeight: itm.gross_weight
|
|
87
89
|
};
|
|
88
90
|
});
|
|
89
91
|
return { items, total: total[0].count };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/manifest-report.ts"],"names":[],"mappings":";;;AAIa,QAAA,cAAc,GAAG;IAC7B,KAAK,CAAC,cAAc,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QAC3D,IAAI;YACH,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACtE,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,YAAY,CAAC,CAAA;YAC/E,IAAI,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,eAAe,CAAC,CAAA;YAC7E,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACtE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YACrE,IAAI,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,eAAe,CAAC,CAAA;YAE7E,IAAI,CAAC,QAAQ;gBAAE,MAAM,eAAe,CAAA;YAEvC,IAAI,mBAAmB,GAAG,EAAE,CAAA;YAC5B,IAAI,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,KAAK,KAAI,IAAI,EAAE;gBACjC,mBAAmB,IAAI,4BAA4B,CAAA;aACnD;iBAAM,IAAI,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,KAAK,KAAI,KAAK,EAAE;gBACzC,mBAAmB,IAAI,2BAA2B,CAAA;aAClD;YAED,IAAI,iBAAiB,GAAG,EAAE,CAAA;YAC1B,IAAI,aAAa,EAAE;gBAClB,iBAAiB,IAAI,kBAAkB,aAAa,CAAC,KAAK,GAAG,CAAA;aAC7D;YAED,IAAI,qBAAqB,CAAA;YACzB,IAAI,gBAAgB,GAAG,EAAE,CAAA;YACzB,IAAI,UAAU,IAAI,CAAC,EAAE;gBACpB,qBAAqB,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,KAAK;qBACtD,KAAK,CAAC,GAAG,CAAC;qBACV,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,GAAG,CAAC,CAAA;gBAEjD,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAA;gBAEpC,gBAAgB,IAAI,0BAA0B,qBAAqB,GAAG,CAAA;aACtE;YAED,MAAM,EAAE,CAAC,KAAK,CACb
|
|
1
|
+
{"version":3,"file":"manifest-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/manifest-report.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-report-type.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/manifest-report-type.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"manifest-report-type.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/manifest-report-type.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;CAchC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.526",
|
|
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.
|
|
66
|
-
"@things-factory/attachment-ui": "^4.3.
|
|
67
|
-
"@things-factory/auth-ui": "^4.3.
|
|
68
|
-
"@things-factory/barcode-ui": "^4.3.
|
|
69
|
-
"@things-factory/biz-ui": "^4.3.
|
|
70
|
-
"@things-factory/board-service": "^4.3.
|
|
71
|
-
"@things-factory/board-ui": "^4.3.
|
|
72
|
-
"@things-factory/code-ui": "^4.3.
|
|
73
|
-
"@things-factory/context-ui": "^4.3.
|
|
74
|
-
"@things-factory/export-ui": "^4.3.
|
|
75
|
-
"@things-factory/export-ui-csv": "^4.3.
|
|
76
|
-
"@things-factory/export-ui-excel": "^4.3.
|
|
77
|
-
"@things-factory/fav-base": "^4.3.
|
|
78
|
-
"@things-factory/form-ui": "^4.3.
|
|
79
|
-
"@things-factory/geography": "^4.3.
|
|
80
|
-
"@things-factory/grist-ui": "^4.3.
|
|
81
|
-
"@things-factory/help": "^4.3.
|
|
82
|
-
"@things-factory/i18n-base": "^4.3.
|
|
83
|
-
"@things-factory/id-rule-base": "^4.3.
|
|
84
|
-
"@things-factory/import-ui": "^4.3.
|
|
85
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
86
|
-
"@things-factory/menu-ui": "^4.3.
|
|
87
|
-
"@things-factory/more-ui": "^4.3.
|
|
88
|
-
"@things-factory/notification": "^4.3.
|
|
89
|
-
"@things-factory/pdf": "^4.3.
|
|
90
|
-
"@things-factory/print-proxy-service": "^4.3.
|
|
91
|
-
"@things-factory/print-ui": "^4.3.
|
|
92
|
-
"@things-factory/product-base": "^4.3.
|
|
93
|
-
"@things-factory/resource-ui": "^4.3.
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
95
|
-
"@things-factory/scene-data-transform": "^4.3.
|
|
96
|
-
"@things-factory/scene-excel": "^4.3.
|
|
97
|
-
"@things-factory/scene-firebase": "^4.3.
|
|
98
|
-
"@things-factory/scene-form": "^4.3.
|
|
99
|
-
"@things-factory/scene-google-map": "^4.3.
|
|
100
|
-
"@things-factory/scene-graphql": "^4.3.
|
|
101
|
-
"@things-factory/scene-label": "^4.3.
|
|
102
|
-
"@things-factory/scene-marker": "^4.3.
|
|
103
|
-
"@things-factory/scene-mqtt": "^4.3.
|
|
104
|
-
"@things-factory/scene-restful": "^4.3.
|
|
105
|
-
"@things-factory/scene-visualizer": "^4.3.
|
|
106
|
-
"@things-factory/setting-ui": "^4.3.
|
|
107
|
-
"@things-factory/system-ui": "^4.3.
|
|
108
|
-
"@things-factory/transport-base": "^4.3.
|
|
109
|
-
"@things-factory/tutorial-ui": "^4.3.
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
65
|
+
"@things-factory/apptool-ui": "^4.3.526",
|
|
66
|
+
"@things-factory/attachment-ui": "^4.3.526",
|
|
67
|
+
"@things-factory/auth-ui": "^4.3.526",
|
|
68
|
+
"@things-factory/barcode-ui": "^4.3.526",
|
|
69
|
+
"@things-factory/biz-ui": "^4.3.526",
|
|
70
|
+
"@things-factory/board-service": "^4.3.526",
|
|
71
|
+
"@things-factory/board-ui": "^4.3.526",
|
|
72
|
+
"@things-factory/code-ui": "^4.3.526",
|
|
73
|
+
"@things-factory/context-ui": "^4.3.526",
|
|
74
|
+
"@things-factory/export-ui": "^4.3.526",
|
|
75
|
+
"@things-factory/export-ui-csv": "^4.3.526",
|
|
76
|
+
"@things-factory/export-ui-excel": "^4.3.526",
|
|
77
|
+
"@things-factory/fav-base": "^4.3.526",
|
|
78
|
+
"@things-factory/form-ui": "^4.3.526",
|
|
79
|
+
"@things-factory/geography": "^4.3.526",
|
|
80
|
+
"@things-factory/grist-ui": "^4.3.526",
|
|
81
|
+
"@things-factory/help": "^4.3.526",
|
|
82
|
+
"@things-factory/i18n-base": "^4.3.526",
|
|
83
|
+
"@things-factory/id-rule-base": "^4.3.526",
|
|
84
|
+
"@things-factory/import-ui": "^4.3.526",
|
|
85
|
+
"@things-factory/import-ui-excel": "^4.3.526",
|
|
86
|
+
"@things-factory/menu-ui": "^4.3.526",
|
|
87
|
+
"@things-factory/more-ui": "^4.3.526",
|
|
88
|
+
"@things-factory/notification": "^4.3.526",
|
|
89
|
+
"@things-factory/pdf": "^4.3.526",
|
|
90
|
+
"@things-factory/print-proxy-service": "^4.3.526",
|
|
91
|
+
"@things-factory/print-ui": "^4.3.526",
|
|
92
|
+
"@things-factory/product-base": "^4.3.526",
|
|
93
|
+
"@things-factory/resource-ui": "^4.3.526",
|
|
94
|
+
"@things-factory/sales-ui": "^4.3.526",
|
|
95
|
+
"@things-factory/scene-data-transform": "^4.3.526",
|
|
96
|
+
"@things-factory/scene-excel": "^4.3.526",
|
|
97
|
+
"@things-factory/scene-firebase": "^4.3.526",
|
|
98
|
+
"@things-factory/scene-form": "^4.3.526",
|
|
99
|
+
"@things-factory/scene-google-map": "^4.3.526",
|
|
100
|
+
"@things-factory/scene-graphql": "^4.3.526",
|
|
101
|
+
"@things-factory/scene-label": "^4.3.526",
|
|
102
|
+
"@things-factory/scene-marker": "^4.3.526",
|
|
103
|
+
"@things-factory/scene-mqtt": "^4.3.526",
|
|
104
|
+
"@things-factory/scene-restful": "^4.3.526",
|
|
105
|
+
"@things-factory/scene-visualizer": "^4.3.526",
|
|
106
|
+
"@things-factory/setting-ui": "^4.3.526",
|
|
107
|
+
"@things-factory/system-ui": "^4.3.526",
|
|
108
|
+
"@things-factory/transport-base": "^4.3.526",
|
|
109
|
+
"@things-factory/tutorial-ui": "^4.3.526",
|
|
110
|
+
"@things-factory/warehouse-base": "^4.3.526",
|
|
111
|
+
"@things-factory/worksheet-base": "^4.3.526"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
|
-
"@things-factory/builder": "^4.3.
|
|
114
|
+
"@things-factory/builder": "^4.3.526",
|
|
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": "
|
|
120
|
+
"gitHead": "a9a0046f9332bc4b538265ac81c93f0a14346330"
|
|
121
121
|
}
|
|
@@ -52,7 +52,8 @@ export const manifestReport = {
|
|
|
52
52
|
u.name AS "manifested_by",
|
|
53
53
|
b.name AS "company",
|
|
54
54
|
rg.ref_no AS "ref_no",
|
|
55
|
-
rg.name AS "ro_no"
|
|
55
|
+
rg.name AS "ro_no",
|
|
56
|
+
op.gross_weight
|
|
56
57
|
FROM order_packages op
|
|
57
58
|
LEFT JOIN
|
|
58
59
|
manifests m on m.id = op.manifest_id
|
|
@@ -97,7 +98,8 @@ export const manifestReport = {
|
|
|
97
98
|
manifestedAt: itm.manifested_at,
|
|
98
99
|
manifestedBy: itm.manifested_by,
|
|
99
100
|
orderedAt: itm.ordered_at,
|
|
100
|
-
transporter: itm.transporter
|
|
101
|
+
transporter: itm.transporter,
|
|
102
|
+
grossWeight: itm.gross_weight
|
|
101
103
|
}
|
|
102
104
|
})
|
|
103
105
|
|
package/translations/en.json
CHANGED
|
@@ -185,6 +185,7 @@
|
|
|
185
185
|
"field.assigned_uom": "assigned uom",
|
|
186
186
|
"field.assigned": "assigned",
|
|
187
187
|
"field.attention_to": "attention to",
|
|
188
|
+
"field.attention_company": "attention company",
|
|
188
189
|
"field.aux_unit_2": "aux unit 2",
|
|
189
190
|
"field.aux_unit_x": "aux unit {state.x}",
|
|
190
191
|
"field.aux_unit": "aux unit",
|
|
@@ -935,6 +936,7 @@
|
|
|
935
936
|
"label.fully_unpack": "fully unpack",
|
|
936
937
|
"label.gan": "GAN no.",
|
|
937
938
|
"label.grn_no": "GRN No.",
|
|
939
|
+
"label.gross_weight": "Gross Weight (KG)",
|
|
938
940
|
"label.handling": "handling",
|
|
939
941
|
"label.import_cargo": "import cargo",
|
|
940
942
|
"label.imported": "imported",
|
|
@@ -1599,6 +1601,8 @@
|
|
|
1599
1601
|
"text.please_enter_transfer_qty": "please enter transfer quantity",
|
|
1600
1602
|
"text.please_fill_in_the_shipping_information_in_shipment_tab": "please fill in the shipping information in shipment tab.",
|
|
1601
1603
|
"text.please_insert_batch_no": "please insert batch no",
|
|
1604
|
+
"text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "Please input a positive gross weight to proceed with complete packing.",
|
|
1605
|
+
"text.please_input_the_gross_weight_to_proceed_with_complete_packing": "Please input the gross weight to proceed with complete packing",
|
|
1602
1606
|
"text.please_key_in_new_serial_number": "please key in new serial number",
|
|
1603
1607
|
"text.please_recheck_your_request_data": "please recheck your request data",
|
|
1604
1608
|
"text.please_select_a_company": "please select a company",
|
|
@@ -1621,6 +1625,7 @@
|
|
|
1621
1625
|
"text.please_select_the_location": "please select the location",
|
|
1622
1626
|
"text.please_select_the_product": "please select the product",
|
|
1623
1627
|
"text.please_select_transport_type": "please select transport type",
|
|
1628
|
+
"text.please_scan_all_items_first_before_entering_the_gross_weight": "please scan all items first before entering the gross weight",
|
|
1624
1629
|
"text.please_take_necessary_action_to_prevent_any_potential_issues": "please take necessary action to prevent any potential issues",
|
|
1625
1630
|
"text.please_wait_for_current_process_to_be_completed": "please wait for current process to be completed",
|
|
1626
1631
|
"text.please_wait": "please wait",
|
package/translations/ko.json
CHANGED
|
@@ -181,6 +181,7 @@
|
|
|
181
181
|
"field.assigned_uom": "[ko]assigned uom",
|
|
182
182
|
"field.assigned": "할당",
|
|
183
183
|
"field.attention_to": "[ko] attention to",
|
|
184
|
+
"field.attention_company": "[ko}attention company",
|
|
184
185
|
"field.aux_unit_2": "[ko]aux unit 2",
|
|
185
186
|
"field.aux_unit": "보조 단위",
|
|
186
187
|
"field.aux_unit_x": "[ko]aux unit {state.x}",
|
|
@@ -936,6 +937,7 @@
|
|
|
936
937
|
"label.gan_ref_if_any": "GAN no. ref if any",
|
|
937
938
|
"label.gan": "입고주문",
|
|
938
939
|
"label.grn_no": "입고주문 번호",
|
|
940
|
+
"label.gross_weight": "[ko]Gross Weight (KG)",
|
|
939
941
|
"label.half_load": "HALF LOAD",
|
|
940
942
|
"label.handling": "handling",
|
|
941
943
|
"label.import_cargo": "수입 화물",
|
|
@@ -1588,6 +1590,8 @@
|
|
|
1588
1590
|
"text.please_enter_transfer_qty": "[ko] please enter transfer quantity",
|
|
1589
1591
|
"text.please_fill_in_the_shipping_information_in_shipment_tab": "[ko] please fill in the shipping information in shipment tab.",
|
|
1590
1592
|
"text.please_insert_batch_no": "[ko]please insert batch no",
|
|
1593
|
+
"text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "[ko] Please input a positive gross weight to proceed with complete packing.",
|
|
1594
|
+
"text.please_input_the_gross_weight_to_proceed_with_complete_packing": "[ko] Please input the gross weight to proceed with complete packing",
|
|
1591
1595
|
"text.please_key_in_new_serial_number": "[ko]please key in new serial number",
|
|
1592
1596
|
"text.please_recheck_your_request_data": "[ko]please recheck your request data",
|
|
1593
1597
|
"text.please_select_a_company": "회사 선택",
|
|
@@ -1613,6 +1617,7 @@
|
|
|
1613
1617
|
"text.please_select_the_location": "로케이션 선택",
|
|
1614
1618
|
"text.please_select_the_product": "[ko]please select the product",
|
|
1615
1619
|
"text.please_select_transport_type": "차량유형을 선택해 주세요",
|
|
1620
|
+
"text.please_scan_all_items_first_before_entering_the_gross_weight": "[ko] please scan all items first before entering the gross weight",
|
|
1616
1621
|
"text.please_wait": "잠시만 기다려주세요",
|
|
1617
1622
|
"text.please_write_down_full_name_clearly": "please write down full name clearly",
|
|
1618
1623
|
"text.please_select_order_with_status_deactivated_only": " [ko] please select order with status deactivated only",
|
package/translations/ms.json
CHANGED
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
"field.assigned_uom": "[ms]assigned uom",
|
|
177
177
|
"field.assigned": "ditugaskan",
|
|
178
178
|
"field.attention_to": "[ms] attention to",
|
|
179
|
+
"field.attention_company": "[ms}attention company",
|
|
179
180
|
"field.aux_unit_2": "[ms]aux unit 2",
|
|
180
181
|
"field.aux_unit": "[ms]aux unit",
|
|
181
182
|
"field.aux_unit_x": "[ms]aux unit {state.x}",
|
|
@@ -917,6 +918,7 @@
|
|
|
917
918
|
"label.gan_ref_if_any": "no. GAN (jika ada)",
|
|
918
919
|
"label.gan": "GAN",
|
|
919
920
|
"label.grn_no": "No GRN",
|
|
921
|
+
"label.gross_weight": "[ms]Gross Weight (KG)",
|
|
920
922
|
"label.handling": "pengendalian",
|
|
921
923
|
"label.import_cargo": "import kargo",
|
|
922
924
|
"label.imported": "telah diimport",
|
|
@@ -1540,6 +1542,8 @@
|
|
|
1540
1542
|
"text.please_enter_transfer_qty": "[ms] please enter transfer quantity",
|
|
1541
1543
|
"text.please_fill_in_the_shipping_information_in_shipment_tab": "[ms] please fill in the shipping information in shipment tab.",
|
|
1542
1544
|
"text.please_insert_batch_no": "[ms]please insert batch no",
|
|
1545
|
+
"text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "[ms] Please input a positive gross weight to proceed with complete packing.",
|
|
1546
|
+
"text.please_input_the_gross_weight_to_proceed_with_complete_packing": "[ms] Please input the gross weight to proceed with complete packing",
|
|
1543
1547
|
"text.please_key_in_new_serial_number": "[ms]please key in new serial number",
|
|
1544
1548
|
"text.please_recheck_your_request_data": "[ms]please recheck your request data",
|
|
1545
1549
|
"text.please_select_a_company": "sila pilih syarikat",
|
|
@@ -1559,6 +1563,7 @@
|
|
|
1559
1563
|
"text.please_select_the_location": "sila pilih lokasi",
|
|
1560
1564
|
"text.please_select_the_product": "[ms]please select the product",
|
|
1561
1565
|
"text.please_select_transport_type": "sila pilih jenis kenderaan",
|
|
1566
|
+
"text.please_scan_all_items_first_before_entering_the_gross_weight": "[ms] please scan all items first before entering the gross weight",
|
|
1562
1567
|
"text.please_wait": "sila tunggu",
|
|
1563
1568
|
"text.please_select_order_with_status_deactivated_only": " [ms] please select order with status deactivated only",
|
|
1564
1569
|
"text.please_select_at_least_one_order_with_status_deactivated_to_proceed": "[ms] please select at least one order with status deactivated to proceed",
|
package/translations/zh.json
CHANGED
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
"field.assigned_uom": "[zh]assigned uom",
|
|
174
174
|
"field.assigned": "assigned",
|
|
175
175
|
"field.attention_to": "[zh] attention to",
|
|
176
|
+
"field.attention_company": "[zh}attention company",
|
|
176
177
|
"field.aux_unit_2": "[zh]aux unit 2",
|
|
177
178
|
"field.aux_unit": "[zh]aux unit",
|
|
178
179
|
"field.aux_unit_x": "[zh]aux unit {state.x}",
|
|
@@ -886,6 +887,7 @@
|
|
|
886
887
|
"label.fully_unpack": "fully unpack",
|
|
887
888
|
"label.gan": "GAN",
|
|
888
889
|
"label.grn_no": "GRN No.",
|
|
890
|
+
"label.gross_weight": "[zh]Gross Weight (KG)",
|
|
889
891
|
"label.handling": "handling",
|
|
890
892
|
"label.import_cargo": "import cargo",
|
|
891
893
|
"label.imported": "imported",
|
|
@@ -1507,6 +1509,8 @@
|
|
|
1507
1509
|
"text.please_enter_transfer_qty": "[zh] please enter transfer quantity",
|
|
1508
1510
|
"text.please_fill_in_the_shipping_information_in_shipment_tab": "[zh] please fill in the shipping information in shipment tab.",
|
|
1509
1511
|
"text.please_insert_batch_no": "[zh]please insert batch no",
|
|
1512
|
+
"text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "[zh] Please input a positive gross weight to proceed with complete packing.",
|
|
1513
|
+
"text.please_input_the_gross_weight_to_proceed_with_complete_packing": "[zh] Please input the gross weight to proceed with complete packing",
|
|
1510
1514
|
"text.please_key_in_new_serial_number": "[zh]please key in new serial number",
|
|
1511
1515
|
"text.please_recheck_your_request_data": "[zh]please recheck your request data",
|
|
1512
1516
|
"text.please_select_a_company": "[zh] please select a company",
|
|
@@ -1526,6 +1530,7 @@
|
|
|
1526
1530
|
"text.please_select_the_location": "please select the location",
|
|
1527
1531
|
"text.please_select_the_product": "[zh]please select the product",
|
|
1528
1532
|
"text.please_select_transport_type": "please select transport type",
|
|
1533
|
+
"text.please_scan_all_items_first_before_entering_the_gross_weight": "[zh] please scan all items first before entering the gross weight",
|
|
1529
1534
|
"text.please_wait": "please wait",
|
|
1530
1535
|
"text.please_select_order_with_status_deactivated_only": " [zh] please select order with status deactivated only",
|
|
1531
1536
|
"text.please_select_at_least_one_order_with_status_deactivated_to_proceed": "[zh] please select at least one order with status deactivated to proceed",
|