@things-factory/operato-wms 4.1.3 → 4.1.8
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/constants/setting.js +1 -0
- package/client/pages/inbound/adjust-pallet-qty.js +29 -64
- package/client/pages/inbound/worksheet-unloading.js +13 -18
- package/client/pages/order/arrival-notice/arrival-notice-list.js +18 -1
- package/client/pages/order/release-order/b2b/b2b-order-list.js +8 -0
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +121 -24
- package/client/pages/outbound/packing-product.js +41 -4
- package/client/pages/outbound/picking-product.js +7 -3
- package/client/pages/outbound/worksheet-packing.js +1 -1
- package/dist-server/graphql/resolvers/board-setting/board-settings.js +2 -1
- package/dist-server/graphql/resolvers/board-setting/board-settings.js.map +1 -1
- package/dist-server/opa-app-setting-constants.js +2 -1
- package/dist-server/opa-app-setting-constants.js.map +1 -1
- package/package.json +51 -51
- package/server/graphql/resolvers/board-setting/board-settings.ts +4 -2
- package/server/opa-app-setting-constants.ts +1 -0
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
|
@@ -4,3 +4,4 @@ export const LOCATION_LABEL_SETTING_KEY = 'location-label'
|
|
|
4
4
|
export const PALLET_LABEL_SETTING_KEY = 'pallet-label'
|
|
5
5
|
export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
|
|
6
6
|
export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
|
|
7
|
+
export const INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label'
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { SingleColumnFormStyles } from '@things-factory/form-ui'
|
|
2
1
|
import '@things-factory/grist-ui'
|
|
3
|
-
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
|
-
import { css, html, LitElement } from 'lit-element'
|
|
5
|
-
import { openPopup } from '@things-factory/layout-base'
|
|
6
2
|
import './vas-selector'
|
|
7
3
|
|
|
4
|
+
import gql from 'graphql-tag'
|
|
5
|
+
import { css, html, LitElement } from 'lit-element'
|
|
6
|
+
|
|
7
|
+
import { SingleColumnFormStyles } from '@things-factory/form-ui'
|
|
8
|
+
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
|
+
import { client } from '@things-factory/shell'
|
|
10
|
+
|
|
8
11
|
class AdjustPalletQty extends localize(i18next)(LitElement) {
|
|
9
12
|
static get properties() {
|
|
10
13
|
return {
|
|
@@ -95,23 +98,6 @@ class AdjustPalletQty extends localize(i18next)(LitElement) {
|
|
|
95
98
|
value="${this.record.palletQty ? this.record.palletQty : ''}"
|
|
96
99
|
required
|
|
97
100
|
/>
|
|
98
|
-
<!-- this should appear only if it is a loose item -->
|
|
99
|
-
<label ?hidden=${!this.record.isLooseItem}>${i18next.t('label.repalletizing_vas')}</label>
|
|
100
|
-
<input
|
|
101
|
-
?hidden=${!this.record.isLooseItem}
|
|
102
|
-
name="vasSelector"
|
|
103
|
-
value="${this.record.palletizingVasName ? this.record.palletizingVasName : ''}"
|
|
104
|
-
@click="${this.clickHandler}"
|
|
105
|
-
readonly
|
|
106
|
-
/>
|
|
107
|
-
|
|
108
|
-
<label>${i18next.t('label.comment')}</label>
|
|
109
|
-
<input
|
|
110
|
-
name="description"
|
|
111
|
-
type="text"
|
|
112
|
-
value="${this.record.palletizingDescription ? this.record.palletizingDescription : ''}"
|
|
113
|
-
required
|
|
114
|
-
/>
|
|
115
101
|
</fieldset>
|
|
116
102
|
</form>
|
|
117
103
|
|
|
@@ -120,27 +106,15 @@ class AdjustPalletQty extends localize(i18next)(LitElement) {
|
|
|
120
106
|
</div>
|
|
121
107
|
`
|
|
122
108
|
}
|
|
123
|
-
clickHandler(event) {
|
|
124
|
-
this._openVasSelector()
|
|
125
|
-
this.repalletizingClick = !this.repalletizingClick
|
|
126
|
-
}
|
|
127
109
|
|
|
128
110
|
get _form() {
|
|
129
111
|
return this.shadowRoot.querySelector('form')
|
|
130
112
|
}
|
|
131
113
|
|
|
132
|
-
get _vasSelector() {
|
|
133
|
-
return this.shadowRoot.querySelector('input[name=vasSelector]')
|
|
134
|
-
}
|
|
135
|
-
|
|
136
114
|
get _palletQtyInput() {
|
|
137
115
|
return this.shadowRoot.querySelector('input[name=palletQty]')
|
|
138
116
|
}
|
|
139
117
|
|
|
140
|
-
get _descriptionInput() {
|
|
141
|
-
return this.shadowRoot.querySelector('input[name=description]')
|
|
142
|
-
}
|
|
143
|
-
|
|
144
118
|
firstUpdated() {
|
|
145
119
|
this._focusOnInput()
|
|
146
120
|
}
|
|
@@ -149,39 +123,32 @@ class AdjustPalletQty extends localize(i18next)(LitElement) {
|
|
|
149
123
|
setTimeout(() => this._palletQtyInput.select(), 100)
|
|
150
124
|
}
|
|
151
125
|
|
|
152
|
-
|
|
153
|
-
openPopup(
|
|
154
|
-
html`
|
|
155
|
-
<vas-selector
|
|
156
|
-
@selected="${e => {
|
|
157
|
-
this._vasSelector.value = `${e.detail.name} ${e.detail.description ? `(${e.detail.description})` : ''}`
|
|
158
|
-
this._vasSelector.palletizingVasId = e.detail.id
|
|
159
|
-
}}"
|
|
160
|
-
></vas-selector>
|
|
161
|
-
`,
|
|
162
|
-
{
|
|
163
|
-
backdrop: true,
|
|
164
|
-
size: 'large',
|
|
165
|
-
title: i18next.t('title.select_warehouse')
|
|
166
|
-
}
|
|
167
|
-
)
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
_adjustPalletQty() {
|
|
126
|
+
async _adjustPalletQty() {
|
|
171
127
|
try {
|
|
172
128
|
this._validate()
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
129
|
+
|
|
130
|
+
const response = await client.mutate({
|
|
131
|
+
mutation: gql`
|
|
132
|
+
mutation updateOrderProduct($name: String!, $patch: OrderProductPatch!) {
|
|
133
|
+
updateOrderProduct(name: $name, patch: $patch) {
|
|
134
|
+
name
|
|
135
|
+
}
|
|
180
136
|
}
|
|
181
|
-
|
|
182
|
-
|
|
137
|
+
`,
|
|
138
|
+
variables: { name: this.record?.opName, patch: { palletQty: parseInt(this._palletQtyInput.value) } }
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
if (!response.errors) {
|
|
142
|
+
this.dispatchEvent(
|
|
143
|
+
new CustomEvent('pallet-adjusted', {
|
|
144
|
+
detail: {
|
|
145
|
+
palletQty: parseInt(this._palletQtyInput.value)
|
|
146
|
+
}
|
|
147
|
+
})
|
|
148
|
+
)
|
|
183
149
|
|
|
184
|
-
|
|
150
|
+
history.back()
|
|
151
|
+
}
|
|
185
152
|
} catch (e) {
|
|
186
153
|
this._showToast(e)
|
|
187
154
|
}
|
|
@@ -189,8 +156,6 @@ class AdjustPalletQty extends localize(i18next)(LitElement) {
|
|
|
189
156
|
|
|
190
157
|
_validate() {
|
|
191
158
|
if (!this._form.checkValidity()) throw new Error(i18next.t('text.invalid_form'))
|
|
192
|
-
if (this.record.isLooseItem && !this._vasSelector.palletizingVasId)
|
|
193
|
-
throw new Error(i18next.t('text.vas_is_not_selected'))
|
|
194
159
|
}
|
|
195
160
|
|
|
196
161
|
_showToast({ type, message }) {
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import '@things-factory/barcode-ui'
|
|
2
|
+
import '@things-factory/grist-ui'
|
|
3
|
+
import '../components/popup-note'
|
|
4
|
+
import '../vas/related-vas-list'
|
|
5
|
+
import './adjust-pallet-qty'
|
|
6
|
+
import './carton-label-popup'
|
|
7
|
+
import './pallet-label-popup'
|
|
8
|
+
import './putaway-worksheet-generate-popup'
|
|
9
|
+
|
|
10
|
+
import gql from 'graphql-tag'
|
|
11
|
+
import { css, html } from 'lit-element'
|
|
12
|
+
|
|
2
13
|
import { getCodeByName } from '@things-factory/code-base'
|
|
3
14
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
4
|
-
import '@things-factory/grist-ui'
|
|
5
15
|
import { getRenderer } from '@things-factory/grist-ui'
|
|
6
16
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
7
17
|
import { openPopup } from '@things-factory/layout-base'
|
|
8
18
|
import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
9
19
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
10
20
|
import { isMobileDevice } from '@things-factory/utils'
|
|
11
|
-
|
|
12
|
-
import { css, html } from 'lit-element'
|
|
21
|
+
|
|
13
22
|
import { fetchSettingRule } from '../../fetch-setting-value'
|
|
14
|
-
import '../components/popup-note'
|
|
15
23
|
import {
|
|
16
24
|
ARRIVAL_NOTICE,
|
|
17
25
|
ORDER_VAS_STATUS,
|
|
@@ -21,11 +29,6 @@ import {
|
|
|
21
29
|
VAS_PRODUCT_TYPE,
|
|
22
30
|
WORKSHEET_STATUS
|
|
23
31
|
} from '../constants'
|
|
24
|
-
import '../vas/related-vas-list'
|
|
25
|
-
import './adjust-pallet-qty'
|
|
26
|
-
import './carton-label-popup'
|
|
27
|
-
import './pallet-label-popup'
|
|
28
|
-
import './putaway-worksheet-generate-popup'
|
|
29
32
|
|
|
30
33
|
class WorksheetUnloading extends localize(i18next)(PageView) {
|
|
31
34
|
static get properties() {
|
|
@@ -576,6 +579,7 @@ class WorksheetUnloading extends localize(i18next)(PageView) {
|
|
|
576
579
|
return {
|
|
577
580
|
...worksheetDetail.targetProduct,
|
|
578
581
|
id: worksheetDetail.id,
|
|
582
|
+
opName: worksheetDetail.targetProduct.name,
|
|
579
583
|
name: worksheetDetail.name,
|
|
580
584
|
status: worksheetDetail.status,
|
|
581
585
|
description: worksheetDetail.description,
|
|
@@ -802,9 +806,6 @@ class WorksheetUnloading extends localize(i18next)(PageView) {
|
|
|
802
806
|
records: this.data.records.map(item => {
|
|
803
807
|
if (item.name === record.name) {
|
|
804
808
|
item.palletQty = e.detail.palletQty
|
|
805
|
-
item.palletizingDescription = e.detail.palletizingDescription
|
|
806
|
-
item.palletizingVasId = e.detail.palletizingVasId
|
|
807
|
-
item.palletizingVasName = e.detail.palletizingVasName
|
|
808
809
|
}
|
|
809
810
|
|
|
810
811
|
return item
|
|
@@ -926,12 +927,6 @@ class WorksheetUnloading extends localize(i18next)(PageView) {
|
|
|
926
927
|
description: worksheetDetail.description
|
|
927
928
|
}
|
|
928
929
|
|
|
929
|
-
if (!worksheetDetail.isPalletized) {
|
|
930
|
-
_tempObj.palletizingVasId = worksheetDetail.palletizingVasId ? worksheetDetail.palletizingVasId : null
|
|
931
|
-
_tempObj.palletQty = worksheetDetail.palletQty
|
|
932
|
-
_tempObj.palletizingDescription = worksheetDetail.palletizingDescription
|
|
933
|
-
}
|
|
934
|
-
|
|
935
930
|
if (worksheetDetail?.initialBatchId) {
|
|
936
931
|
_tempObj.initialBatchId = worksheetDetail.initialBatchId
|
|
937
932
|
}
|
|
@@ -219,6 +219,7 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
|
219
219
|
'status',
|
|
220
220
|
'createdAt',
|
|
221
221
|
'updatedAt',
|
|
222
|
+
'acceptedBy',
|
|
222
223
|
'creator'
|
|
223
224
|
]
|
|
224
225
|
},
|
|
@@ -358,6 +359,14 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
|
358
359
|
label: true,
|
|
359
360
|
sortable: true,
|
|
360
361
|
width: 200
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
type: 'object',
|
|
365
|
+
name: 'acceptedBy',
|
|
366
|
+
header: i18next.t('field.accepted_by'),
|
|
367
|
+
label: true,
|
|
368
|
+
sortable: true,
|
|
369
|
+
width: 200
|
|
361
370
|
}
|
|
362
371
|
]
|
|
363
372
|
}
|
|
@@ -402,6 +411,11 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
|
402
411
|
name
|
|
403
412
|
description
|
|
404
413
|
}
|
|
414
|
+
acceptedBy {
|
|
415
|
+
id
|
|
416
|
+
name
|
|
417
|
+
description
|
|
418
|
+
}
|
|
405
419
|
creator {
|
|
406
420
|
id
|
|
407
421
|
name
|
|
@@ -495,7 +509,8 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
|
495
509
|
{ header: i18next.t('field.status'), key: 'status', width: 25, type: 'string' },
|
|
496
510
|
{ header: i18next.t('field.created_at'), key: 'createdAt', width: 30, type: 'date' },
|
|
497
511
|
{ header: i18next.t('field.updated_at'), key: 'updatedAt', width: 30, type: 'date' },
|
|
498
|
-
{ header: i18next.t('field.created_by'), key: 'creatorName', width: 25, type: 'string' }
|
|
512
|
+
{ header: i18next.t('field.created_by'), key: 'creatorName', width: 25, type: 'string' },
|
|
513
|
+
{ header: i18next.t('field.accepted_by'), key: 'acceptedByName', width: 25, type: 'string' }
|
|
499
514
|
]
|
|
500
515
|
|
|
501
516
|
if (this.dataGrist.selected && this.dataGrist.selected.length > 0) {
|
|
@@ -503,6 +518,7 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
|
503
518
|
return {
|
|
504
519
|
...record,
|
|
505
520
|
bizplaceName: record.bizplace?.name,
|
|
521
|
+
acceptedByName: record.acceptedBy?.name,
|
|
506
522
|
creatorName: record.creator?.name
|
|
507
523
|
}
|
|
508
524
|
})
|
|
@@ -511,6 +527,7 @@ class ArrivalNoticeList extends localize(i18next)(PageView) {
|
|
|
511
527
|
return {
|
|
512
528
|
...record,
|
|
513
529
|
bizplaceName: record.bizplace?.name,
|
|
530
|
+
acceptedByName: record.acceptedBy?.name,
|
|
514
531
|
creatorName: record.creator?.name
|
|
515
532
|
}
|
|
516
533
|
})
|
|
@@ -359,6 +359,14 @@ class B2bOrderList extends localize(i18next)(PageView) {
|
|
|
359
359
|
imex: { header: i18next.t('field.created_by'), key: 'creator.name', width: 30, type: 'string' },
|
|
360
360
|
sortable: true,
|
|
361
361
|
width: 200
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
type: 'object',
|
|
365
|
+
name: 'acceptedBy',
|
|
366
|
+
header: i18next.t('field.accepted_by'),
|
|
367
|
+
imex: { header: i18next.t('field.accepted_by'), key: 'acceptedBy.name', width: 30, type: 'string' },
|
|
368
|
+
sortable: true,
|
|
369
|
+
width: 200
|
|
362
370
|
}
|
|
363
371
|
]
|
|
364
372
|
}
|
|
@@ -5,23 +5,25 @@ import '../batch-generate-single-picking-worksheet-popup'
|
|
|
5
5
|
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
7
|
import { css, html } from 'lit-element'
|
|
8
|
+
import { connect } from 'pwa-helpers/connect-mixin'
|
|
8
9
|
|
|
10
|
+
import { DirectPrinter } from '@things-factory/barcode-base'
|
|
9
11
|
import { GhostPrint } from '@operato/ghost-print'
|
|
10
12
|
import { getCodeByName } from '@things-factory/code-base'
|
|
11
13
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
12
14
|
import { openPopup } from '@things-factory/layout-base'
|
|
13
|
-
import { client, navigate, PageView } from '@things-factory/shell'
|
|
15
|
+
import { client, navigate, PageView, store } from '@things-factory/shell'
|
|
14
16
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
15
17
|
import { isMobileDevice } from '@things-factory/utils'
|
|
16
18
|
|
|
17
|
-
import { ORDER_STATUS } from '../../../constants'
|
|
19
|
+
import { INTENALIZED_AWB_SETTING_KEY, ORDER_STATUS } from '../../../constants'
|
|
18
20
|
|
|
19
21
|
const HEADER_JSON = {
|
|
20
22
|
'Content-Type': 'application/json',
|
|
21
23
|
Accept: 'application/json'
|
|
22
24
|
}
|
|
23
25
|
|
|
24
|
-
class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
26
|
+
class B2cOrderRequests extends connect(store)(localize(i18next)(PageView)) {
|
|
25
27
|
static get styles() {
|
|
26
28
|
return [
|
|
27
29
|
ScrollbarStyles,
|
|
@@ -46,12 +48,18 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
46
48
|
|
|
47
49
|
static get properties() {
|
|
48
50
|
return {
|
|
51
|
+
_internalizedAWBLabel: Object,
|
|
49
52
|
_searchFields: Array,
|
|
50
53
|
config: Object,
|
|
51
54
|
data: Object
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
|
|
58
|
+
stateChanged(state) {
|
|
59
|
+
let internalizedAWBSetting = state.dashboard[INTENALIZED_AWB_SETTING_KEY]
|
|
60
|
+
this._internalizedAWBLabel = (internalizedAWBSetting && internalizedAWBSetting.board) || {}
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
render() {
|
|
56
64
|
return html`
|
|
57
65
|
<search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
|
|
@@ -65,30 +73,43 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
65
73
|
}
|
|
66
74
|
|
|
67
75
|
get context() {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
let actions = [
|
|
77
|
+
{
|
|
78
|
+
title: i18next.t('button.print_invoice'),
|
|
79
|
+
action: this._printInvoices.bind(this),
|
|
80
|
+
...CommonButtonStyles.label
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
title: i18next.t('button.generate_packing_list'),
|
|
84
|
+
action: this._generatePackingList.bind(this),
|
|
85
|
+
...CommonButtonStyles.label
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
title: i18next.t('button.batch_picking'),
|
|
89
|
+
action: this._openBatchPickingPopup.bind(this),
|
|
90
|
+
...CommonButtonStyles.activate
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
title: i18next.t('button.generate_worksheet'),
|
|
94
|
+
action: this._openBatchGenerateSinglePickingWorksheetPopup.bind(this),
|
|
95
|
+
...CommonButtonStyles.activate
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
|
|
99
|
+
if (Object.keys(this._internalizedAWBLabel).length) {
|
|
100
|
+
actions = [
|
|
76
101
|
{
|
|
77
|
-
title: i18next.t('button.
|
|
78
|
-
action: this.
|
|
102
|
+
title: i18next.t('button.print_internal_awb'),
|
|
103
|
+
action: this._printInternalAWB.bind(this),
|
|
79
104
|
...CommonButtonStyles.label
|
|
80
105
|
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
action: this._openBatchGenerateSinglePickingWorksheetPopup.bind(this),
|
|
89
|
-
...CommonButtonStyles.activate
|
|
90
|
-
}
|
|
91
|
-
],
|
|
106
|
+
...actions
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return {
|
|
111
|
+
title: i18next.t('title.release_order_requests'),
|
|
112
|
+
actions,
|
|
92
113
|
exportable: {
|
|
93
114
|
name: i18next.t('title.release_order_requests'),
|
|
94
115
|
data: this._exportableData.bind(this)
|
|
@@ -360,9 +381,21 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
360
381
|
releaseGoodRequests(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
361
382
|
items {
|
|
362
383
|
id
|
|
384
|
+
trackingNo
|
|
363
385
|
attentionTo
|
|
364
386
|
deliveryAddress1
|
|
387
|
+
deliveryAddress2
|
|
388
|
+
deliveryAddress3
|
|
389
|
+
deliveryAddress4
|
|
390
|
+
deliveryAddress5
|
|
391
|
+
attentionTo
|
|
392
|
+
attentionCompany
|
|
393
|
+
city
|
|
394
|
+
state
|
|
395
|
+
postalCode
|
|
396
|
+
country
|
|
365
397
|
phone1
|
|
398
|
+
phone2
|
|
366
399
|
postalCode
|
|
367
400
|
marketplaceOrderStatus
|
|
368
401
|
transporter
|
|
@@ -378,6 +411,7 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
378
411
|
refNo2
|
|
379
412
|
refNo3
|
|
380
413
|
noOfItems
|
|
414
|
+
createdAt
|
|
381
415
|
updatedAt
|
|
382
416
|
acceptedBy {
|
|
383
417
|
id
|
|
@@ -529,6 +563,65 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
529
563
|
}
|
|
530
564
|
}
|
|
531
565
|
|
|
566
|
+
async _printInternalAWB() {
|
|
567
|
+
const records = this.dataGrist.selected
|
|
568
|
+
var labelId = this._internalizedAWBLabel && this._internalizedAWBLabel.id
|
|
569
|
+
|
|
570
|
+
if (!labelId) {
|
|
571
|
+
this._showToast({
|
|
572
|
+
type: 'error',
|
|
573
|
+
message: `${i18next.t('text.no_label_setting_was_found')}. ${i18next.t('text.please_check_your_setting')}`
|
|
574
|
+
})
|
|
575
|
+
} else {
|
|
576
|
+
for (var record of records) {
|
|
577
|
+
var searchParams = new URLSearchParams()
|
|
578
|
+
searchParams.append('createdAt', this._getDateString(new Date(parseInt(record.createdAt))))
|
|
579
|
+
searchParams.append('refNo', record.refNo)
|
|
580
|
+
searchParams.append('name', record.name)
|
|
581
|
+
searchParams.append('noOfItems', record.noOfItems)
|
|
582
|
+
searchParams.append('postalCode', record.postalCode)
|
|
583
|
+
searchParams.append('attentionTo', record.attentionTo)
|
|
584
|
+
searchParams.append('deliveryAddress1', record.deliveryAddress1 || '')
|
|
585
|
+
searchParams.append('deliveryAddress2', record.deliveryAddress2 || '')
|
|
586
|
+
searchParams.append('deliveryAddress3', record.deliveryAddress3 || '')
|
|
587
|
+
searchParams.append('deliveryAddress4', record.deliveryAddress4 || '')
|
|
588
|
+
searchParams.append('deliveryAddress5', record.deliveryAddress5 || '')
|
|
589
|
+
searchParams.append('phone1', record.phone1 || '')
|
|
590
|
+
searchParams.append('phone2', record.phone2 || '')
|
|
591
|
+
searchParams.append('trackingNo', record.trackingNo)
|
|
592
|
+
searchParams.append('transporter', record.transporter)
|
|
593
|
+
// if (!record?.cartonId) throw new Error(i18next.t('text.selected_inventory_not_using_carton_label'))
|
|
594
|
+
|
|
595
|
+
/* for pallet record mapping */
|
|
596
|
+
// searchParams.append('carton', record.cartonId)
|
|
597
|
+
// searchParams.append('customer', record.bizplace.name)
|
|
598
|
+
|
|
599
|
+
try {
|
|
600
|
+
const response = await fetch(`label-command/${labelId}?${searchParams.toString()}`, {
|
|
601
|
+
method: 'GET'
|
|
602
|
+
})
|
|
603
|
+
|
|
604
|
+
if (response.status !== 200) {
|
|
605
|
+
throw `Error : Can't get label command from server (response: ${response.status})`
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
var command = await response.text()
|
|
609
|
+
|
|
610
|
+
if (!this.printer) {
|
|
611
|
+
this.printer = new DirectPrinter()
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
await this.printer.print(command)
|
|
615
|
+
} catch (e) {
|
|
616
|
+
this._showToast(e)
|
|
617
|
+
|
|
618
|
+
delete this.printer
|
|
619
|
+
break
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
532
625
|
async _callPrintDialog(contentSource) {
|
|
533
626
|
GhostPrint.print({
|
|
534
627
|
srcdoc: contentSource,
|
|
@@ -695,6 +788,10 @@ class B2cOrderRequests extends localize(i18next)(PageView) {
|
|
|
695
788
|
})
|
|
696
789
|
return { header: headerSetting, data: data }
|
|
697
790
|
}
|
|
791
|
+
|
|
792
|
+
_getDateString(date) {
|
|
793
|
+
return `${date.getDate()} ${date.toLocaleString('default', { month: 'short' })} ${date.getFullYear()}`
|
|
794
|
+
}
|
|
698
795
|
}
|
|
699
796
|
|
|
700
797
|
window.customElements.define('b2c-order-requests', B2cOrderRequests)
|
|
@@ -107,10 +107,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
107
107
|
|
|
108
108
|
if (
|
|
109
109
|
this.releaseGoodNo &&
|
|
110
|
-
this.orderInformation.status === 'packed'
|
|
110
|
+
(this.orderInformation.status === 'packed' ||
|
|
111
|
+
this.orderInformation.status === 'unfulfilled' ||
|
|
112
|
+
this.orderInformation.status === 'processing') &&
|
|
111
113
|
!this._trackingNo &&
|
|
112
114
|
!this._logisticsInitiated &&
|
|
113
|
-
this.platform === PLATFORM.LAZADA.value
|
|
115
|
+
(this.platform === PLATFORM.LAZADA.value ||
|
|
116
|
+
this.platform === PLATFORM.SHOPIFY.value ||
|
|
117
|
+
this.platform === PLATFORM.WOOCOMMERCE.value) &&
|
|
114
118
|
this.completed
|
|
115
119
|
) {
|
|
116
120
|
actions.push({
|
|
@@ -364,12 +368,17 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
364
368
|
marketplaceOrder {
|
|
365
369
|
id
|
|
366
370
|
name
|
|
371
|
+
orderNo
|
|
367
372
|
status
|
|
368
373
|
otherInfoJSON
|
|
369
374
|
marketplaceStore {
|
|
370
375
|
id
|
|
371
376
|
platform
|
|
372
377
|
}
|
|
378
|
+
domain {
|
|
379
|
+
id
|
|
380
|
+
name
|
|
381
|
+
}
|
|
373
382
|
}
|
|
374
383
|
platform
|
|
375
384
|
}
|
|
@@ -769,18 +778,46 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
769
778
|
if (this.orderInformation.marketplaceStore.platform === PLATFORM.LAZADA.value) {
|
|
770
779
|
response = await client.mutate({
|
|
771
780
|
mutation: gql`
|
|
772
|
-
mutation updateOrderReadyToShip(
|
|
781
|
+
mutation updateOrderReadyToShip(
|
|
782
|
+
$shippingProvider: String!
|
|
783
|
+
$deliveryType: String!
|
|
784
|
+
$orderNo: String!
|
|
785
|
+
$orderId: String!
|
|
786
|
+
$domainId: String!
|
|
787
|
+
) {
|
|
773
788
|
updateOrderReadyToShip(
|
|
774
789
|
shippingProvider: $shippingProvider
|
|
775
790
|
deliveryType: $deliveryType
|
|
776
791
|
orderNo: $orderNo
|
|
792
|
+
orderId: $orderId
|
|
793
|
+
domainId: $domainId
|
|
777
794
|
)
|
|
778
795
|
}
|
|
779
796
|
`,
|
|
780
797
|
variables: {
|
|
781
798
|
shippingProvider: this.getShippingProvider(),
|
|
782
799
|
deliveryType: this.getDeliveryType(),
|
|
783
|
-
orderNo: this.orderInformation.
|
|
800
|
+
orderNo: this.orderInformation.orderNo,
|
|
801
|
+
orderId: this.orderInformation.name,
|
|
802
|
+
domainId: this.orderInformation.domain.id
|
|
803
|
+
}
|
|
804
|
+
})
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
if (
|
|
808
|
+
this.orderInformation.marketplaceStore.platform === PLATFORM.SHOPIFY.value ||
|
|
809
|
+
this.orderInformation.marketplaceStore.platform === PLATFORM.WOOCOMMERCE.value
|
|
810
|
+
) {
|
|
811
|
+
response = await client.mutate({
|
|
812
|
+
mutation: gql`
|
|
813
|
+
mutation updateOrderReadyToShip($orderNo: String!, $orderId: String!, $domainId: String!) {
|
|
814
|
+
updateOrderReadyToShip(orderNo: $orderNo, orderId: $orderId, domainId: $domainId)
|
|
815
|
+
}
|
|
816
|
+
`,
|
|
817
|
+
variables: {
|
|
818
|
+
orderNo: this.orderInformation.orderNo,
|
|
819
|
+
orderId: this.orderInformation.name,
|
|
820
|
+
domainId: this.orderInformation.domain.id
|
|
784
821
|
}
|
|
785
822
|
})
|
|
786
823
|
}
|
|
@@ -374,7 +374,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
374
374
|
<select
|
|
375
375
|
?hidden="${!this._incompleteLocationName}"
|
|
376
376
|
name="newLocationCode"
|
|
377
|
-
@change="${e => (this.
|
|
377
|
+
@change="${e => (this._locationName = e.currentTarget.value)}"
|
|
378
378
|
>
|
|
379
379
|
<option value="">-- ${i18next.t('text.please_select_the_location')} --</option>
|
|
380
380
|
${(this.locations || []).map(
|
|
@@ -896,7 +896,11 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
896
896
|
if (e.keyCode !== 13) return
|
|
897
897
|
e.preventDefault()
|
|
898
898
|
try {
|
|
899
|
-
await this.validatePicking()
|
|
899
|
+
let answer = await this.validatePicking()
|
|
900
|
+
|
|
901
|
+
if (answer) {
|
|
902
|
+
if (!answer?.value) return
|
|
903
|
+
}
|
|
900
904
|
|
|
901
905
|
let response = {}
|
|
902
906
|
if (this.crossDocking) {
|
|
@@ -1268,7 +1272,7 @@ class PickingProduct extends connect(store)(localize(i18next)(PageView)) {
|
|
|
1268
1272
|
if (!relocateConfirmation.isConfirmed) {
|
|
1269
1273
|
this._incompleteLocationName = false
|
|
1270
1274
|
this.locationNameSplit = []
|
|
1271
|
-
return
|
|
1275
|
+
return relocateConfirmation
|
|
1272
1276
|
}
|
|
1273
1277
|
}
|
|
1274
1278
|
}
|
|
@@ -489,7 +489,7 @@ class WorksheetPacking extends localize(i18next)(PageView) {
|
|
|
489
489
|
|
|
490
490
|
const response = await client.mutate({
|
|
491
491
|
mutation: gql`
|
|
492
|
-
mutation activatePacking($worksheetNo: String!) {
|
|
492
|
+
mutation activatePacking($worksheetNo: [String!]!) {
|
|
493
493
|
activatePacking(worksheetNo: $worksheetNo) {
|
|
494
494
|
name
|
|
495
495
|
}
|
|
@@ -30,7 +30,8 @@ exports.boardSettingsResolver = {
|
|
|
30
30
|
opa_app_setting_constants_1.PALLET_LABEL_SETTING_KEY,
|
|
31
31
|
opa_app_setting_constants_1.REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
32
32
|
HOME_BOARD,
|
|
33
|
-
opa_app_setting_constants_1.CARTON_LABEL_SETTING_KEY
|
|
33
|
+
opa_app_setting_constants_1.CARTON_LABEL_SETTING_KEY,
|
|
34
|
+
opa_app_setting_constants_1.INTENALIZED_AWB_SETTING_KEY
|
|
34
35
|
];
|
|
35
36
|
var qb = queryBuilder
|
|
36
37
|
// .innerJoin(Board, 'Board', 'Board.id = CAST(Setting.value AS uuid)')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,yDAAgD;AAChD,iEAAqD;AACrD,+DAAsD;AAGtD,
|
|
1
|
+
{"version":3,"file":"board-settings.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/board-setting/board-settings.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PRODUCT_LABEL_SETTING_KEY = exports.HOME_DASHBOARD_PREFIX = exports.REUSABLE_PALLET_LABEL_SETTING_KEY = exports.CARTON_LABEL_SETTING_KEY = exports.PALLET_LABEL_SETTING_KEY = exports.LOCATION_LABEL_SETTING_KEY = void 0;
|
|
3
|
+
exports.INTENALIZED_AWB_SETTING_KEY = exports.PRODUCT_LABEL_SETTING_KEY = exports.HOME_DASHBOARD_PREFIX = exports.REUSABLE_PALLET_LABEL_SETTING_KEY = exports.CARTON_LABEL_SETTING_KEY = exports.PALLET_LABEL_SETTING_KEY = exports.LOCATION_LABEL_SETTING_KEY = void 0;
|
|
4
4
|
exports.LOCATION_LABEL_SETTING_KEY = 'location-label';
|
|
5
5
|
exports.PALLET_LABEL_SETTING_KEY = 'pallet-label';
|
|
6
6
|
exports.CARTON_LABEL_SETTING_KEY = 'carton-label';
|
|
7
7
|
exports.REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label';
|
|
8
8
|
exports.HOME_DASHBOARD_PREFIX = 'dashboard';
|
|
9
9
|
exports.PRODUCT_LABEL_SETTING_KEY = 'product-label';
|
|
10
|
+
exports.INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label';
|
|
10
11
|
//# sourceMappingURL=opa-app-setting-constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opa-app-setting-constants.js","sourceRoot":"","sources":["../server/opa-app-setting-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gBAAgB,CAAA;AAC7C,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,iCAAiC,GAAG,uBAAuB,CAAA;AAC3D,QAAA,qBAAqB,GAAG,WAAW,CAAA;AACnC,QAAA,yBAAyB,GAAG,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"opa-app-setting-constants.js","sourceRoot":"","sources":["../server/opa-app-setting-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,gBAAgB,CAAA;AAC7C,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,wBAAwB,GAAG,cAAc,CAAA;AACzC,QAAA,iCAAiC,GAAG,uBAAuB,CAAA;AAC3D,QAAA,qBAAqB,GAAG,WAAW,CAAA;AACnC,QAAA,yBAAyB,GAAG,eAAe,CAAA;AAC3C,QAAA,2BAA2B,GAAG,wBAAwB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-wms",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.8",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -56,57 +56,57 @@
|
|
|
56
56
|
"@operato/scene-tab": "^0.1.4",
|
|
57
57
|
"@operato/scene-table": "^0.1.4",
|
|
58
58
|
"@operato/scene-wheel-sorter": "^0.1.4",
|
|
59
|
-
"@things-factory/apptool-ui": "^4.1.
|
|
60
|
-
"@things-factory/attachment-ui": "^4.1.
|
|
61
|
-
"@things-factory/auth-ui": "^4.1.
|
|
62
|
-
"@things-factory/barcode-ui": "^4.1.
|
|
63
|
-
"@things-factory/biz-ui": "^4.1.
|
|
64
|
-
"@things-factory/board-service": "^4.1.
|
|
65
|
-
"@things-factory/board-ui": "^4.1.
|
|
66
|
-
"@things-factory/code-ui": "^4.1.
|
|
67
|
-
"@things-factory/context-ui": "^4.1.
|
|
68
|
-
"@things-factory/export-ui": "^4.1.
|
|
69
|
-
"@things-factory/export-ui-csv": "^4.1.
|
|
70
|
-
"@things-factory/export-ui-excel": "^4.1.
|
|
71
|
-
"@things-factory/fav-base": "^4.1.
|
|
72
|
-
"@things-factory/form-ui": "^4.1.
|
|
73
|
-
"@things-factory/grist-ui": "^4.1.
|
|
74
|
-
"@things-factory/help": "^4.1.
|
|
75
|
-
"@things-factory/i18n-base": "^4.1.
|
|
76
|
-
"@things-factory/id-rule-base": "^4.1.
|
|
77
|
-
"@things-factory/import-ui": "^4.1.
|
|
78
|
-
"@things-factory/import-ui-excel": "^4.1.
|
|
79
|
-
"@things-factory/menu-ui": "^4.1.
|
|
80
|
-
"@things-factory/more-ui": "^4.1.
|
|
81
|
-
"@things-factory/notification": "^4.1.
|
|
82
|
-
"@things-factory/pdf": "^4.1.
|
|
83
|
-
"@things-factory/print-proxy-service": "^4.1.
|
|
84
|
-
"@things-factory/print-service": "^4.1.
|
|
85
|
-
"@things-factory/print-ui": "^4.1.
|
|
86
|
-
"@things-factory/product-base": "^4.1.
|
|
87
|
-
"@things-factory/resource-ui": "^4.1.
|
|
88
|
-
"@things-factory/sales-ui": "^4.1.
|
|
89
|
-
"@things-factory/scene-data-transform": "^4.1.
|
|
90
|
-
"@things-factory/scene-excel": "^4.1.
|
|
91
|
-
"@things-factory/scene-firebase": "^4.1.
|
|
92
|
-
"@things-factory/scene-form": "^4.1.
|
|
93
|
-
"@things-factory/scene-google-map": "^4.1.
|
|
94
|
-
"@things-factory/scene-graphql": "^4.1.
|
|
95
|
-
"@things-factory/scene-label": "^4.1.
|
|
96
|
-
"@things-factory/scene-marker": "^4.1.
|
|
97
|
-
"@things-factory/scene-mqtt": "^4.1.
|
|
98
|
-
"@things-factory/scene-news-ticker": "^4.1.
|
|
99
|
-
"@things-factory/scene-restful": "^4.1.
|
|
100
|
-
"@things-factory/scene-visualizer": "^4.1.
|
|
101
|
-
"@things-factory/setting-ui": "^4.1.
|
|
102
|
-
"@things-factory/system-ui": "^4.1.
|
|
103
|
-
"@things-factory/transport-base": "^4.1.
|
|
104
|
-
"@things-factory/tutorial-ui": "^4.1.
|
|
105
|
-
"@things-factory/warehouse-base": "^4.1.
|
|
106
|
-
"@things-factory/worksheet-base": "^4.1.
|
|
59
|
+
"@things-factory/apptool-ui": "^4.1.6",
|
|
60
|
+
"@things-factory/attachment-ui": "^4.1.6",
|
|
61
|
+
"@things-factory/auth-ui": "^4.1.6",
|
|
62
|
+
"@things-factory/barcode-ui": "^4.1.6",
|
|
63
|
+
"@things-factory/biz-ui": "^4.1.6",
|
|
64
|
+
"@things-factory/board-service": "^4.1.6",
|
|
65
|
+
"@things-factory/board-ui": "^4.1.6",
|
|
66
|
+
"@things-factory/code-ui": "^4.1.6",
|
|
67
|
+
"@things-factory/context-ui": "^4.1.6",
|
|
68
|
+
"@things-factory/export-ui": "^4.1.6",
|
|
69
|
+
"@things-factory/export-ui-csv": "^4.1.6",
|
|
70
|
+
"@things-factory/export-ui-excel": "^4.1.6",
|
|
71
|
+
"@things-factory/fav-base": "^4.1.6",
|
|
72
|
+
"@things-factory/form-ui": "^4.1.6",
|
|
73
|
+
"@things-factory/grist-ui": "^4.1.6",
|
|
74
|
+
"@things-factory/help": "^4.1.6",
|
|
75
|
+
"@things-factory/i18n-base": "^4.1.6",
|
|
76
|
+
"@things-factory/id-rule-base": "^4.1.6",
|
|
77
|
+
"@things-factory/import-ui": "^4.1.6",
|
|
78
|
+
"@things-factory/import-ui-excel": "^4.1.6",
|
|
79
|
+
"@things-factory/menu-ui": "^4.1.6",
|
|
80
|
+
"@things-factory/more-ui": "^4.1.6",
|
|
81
|
+
"@things-factory/notification": "^4.1.6",
|
|
82
|
+
"@things-factory/pdf": "^4.1.6",
|
|
83
|
+
"@things-factory/print-proxy-service": "^4.1.6",
|
|
84
|
+
"@things-factory/print-service": "^4.1.6",
|
|
85
|
+
"@things-factory/print-ui": "^4.1.6",
|
|
86
|
+
"@things-factory/product-base": "^4.1.6",
|
|
87
|
+
"@things-factory/resource-ui": "^4.1.6",
|
|
88
|
+
"@things-factory/sales-ui": "^4.1.8",
|
|
89
|
+
"@things-factory/scene-data-transform": "^4.1.6",
|
|
90
|
+
"@things-factory/scene-excel": "^4.1.6",
|
|
91
|
+
"@things-factory/scene-firebase": "^4.1.6",
|
|
92
|
+
"@things-factory/scene-form": "^4.1.6",
|
|
93
|
+
"@things-factory/scene-google-map": "^4.1.6",
|
|
94
|
+
"@things-factory/scene-graphql": "^4.1.6",
|
|
95
|
+
"@things-factory/scene-label": "^4.1.6",
|
|
96
|
+
"@things-factory/scene-marker": "^4.1.6",
|
|
97
|
+
"@things-factory/scene-mqtt": "^4.1.6",
|
|
98
|
+
"@things-factory/scene-news-ticker": "^4.1.6",
|
|
99
|
+
"@things-factory/scene-restful": "^4.1.6",
|
|
100
|
+
"@things-factory/scene-visualizer": "^4.1.6",
|
|
101
|
+
"@things-factory/setting-ui": "^4.1.6",
|
|
102
|
+
"@things-factory/system-ui": "^4.1.6",
|
|
103
|
+
"@things-factory/transport-base": "^4.1.6",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.1.6",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.1.8",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.1.8"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@things-factory/builder": "^4.1.
|
|
109
|
+
"@things-factory/builder": "^4.1.6"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "a2c80a6ae7adc79c5779b5ef9173c66d5a5d89b9"
|
|
112
112
|
}
|
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
LOCATION_LABEL_SETTING_KEY,
|
|
12
12
|
PALLET_LABEL_SETTING_KEY,
|
|
13
13
|
PRODUCT_LABEL_SETTING_KEY,
|
|
14
|
-
REUSABLE_PALLET_LABEL_SETTING_KEY
|
|
14
|
+
REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
15
|
+
INTENALIZED_AWB_SETTING_KEY
|
|
15
16
|
} from '../../../opa-app-setting-constants'
|
|
16
17
|
|
|
17
18
|
export const boardSettingsResolver = {
|
|
@@ -42,7 +43,8 @@ export const boardSettingsResolver = {
|
|
|
42
43
|
PALLET_LABEL_SETTING_KEY,
|
|
43
44
|
REUSABLE_PALLET_LABEL_SETTING_KEY,
|
|
44
45
|
HOME_BOARD,
|
|
45
|
-
CARTON_LABEL_SETTING_KEY
|
|
46
|
+
CARTON_LABEL_SETTING_KEY,
|
|
47
|
+
INTENALIZED_AWB_SETTING_KEY
|
|
46
48
|
]
|
|
47
49
|
|
|
48
50
|
var qb = queryBuilder
|
|
@@ -4,3 +4,4 @@ export const CARTON_LABEL_SETTING_KEY = 'carton-label'
|
|
|
4
4
|
export const REUSABLE_PALLET_LABEL_SETTING_KEY = 'reusable-pallet-label'
|
|
5
5
|
export const HOME_DASHBOARD_PREFIX = 'dashboard'
|
|
6
6
|
export const PRODUCT_LABEL_SETTING_KEY = 'product-label'
|
|
7
|
+
export const INTENALIZED_AWB_SETTING_KEY = 'internalized-awb-label'
|
package/translations/en.json
CHANGED
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"button.plastic_pallet": "plastic pallet",
|
|
66
66
|
"button.preview": "preview",
|
|
67
67
|
"button.print_airway_bill": "print airway bill",
|
|
68
|
+
"button.print_internal_awb": "print internal awb",
|
|
68
69
|
"button.print_invoice": "print invoice",
|
|
69
70
|
"button.print_label": "print label",
|
|
70
71
|
"button.print_packing_list": "print packing list",
|
package/translations/ko.json
CHANGED
package/translations/ms.json
CHANGED