@things-factory/operato-wms 4.1.38 → 4.1.40
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/outbound/select-operator-popup.js +3 -3
- package/client/pages/outbound/single-outbound-worksheet.js +86 -4
- package/client/pages/outbound/worksheet-batch-picking.js +2 -2
- package/client/pages/outbound/worksheet-picking.js +2 -2
- package/dist-server/graphql/resolvers/dashboard/outbound-order-by-status.js +7 -10
- package/dist-server/graphql/resolvers/dashboard/outbound-order-by-status.js.map +1 -1
- package/package.json +50 -50
- package/server/graphql/resolvers/dashboard/outbound-order-by-status.ts +7 -10
- package/translations/en.json +2 -0
|
@@ -120,8 +120,8 @@ class SelectOperatorPopup extends localize(i18next)(LitElement) {
|
|
|
120
120
|
|
|
121
121
|
const response = await client.query({
|
|
122
122
|
query: gql`
|
|
123
|
-
query(
|
|
124
|
-
pickingAssignmentStatusByUsers(
|
|
123
|
+
query( $name: String, $email: String) {
|
|
124
|
+
pickingAssignmentStatusByUsers(name: $name, email: $email) {
|
|
125
125
|
user {
|
|
126
126
|
id
|
|
127
127
|
name
|
|
@@ -136,7 +136,7 @@ class SelectOperatorPopup extends localize(i18next)(LitElement) {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
`,
|
|
139
|
-
variables: {
|
|
139
|
+
variables: { name, email }
|
|
140
140
|
})
|
|
141
141
|
|
|
142
142
|
if (!response.errors) {
|
|
@@ -3,11 +3,13 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
5
|
import { css, html } from 'lit-element'
|
|
6
|
+
import { openPopup } from '@things-factory/layout-base'
|
|
6
7
|
|
|
8
|
+
import './select-operator-popup'
|
|
7
9
|
import { getCodeByName } from '@things-factory/code-base'
|
|
8
10
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
9
11
|
import { client, navigate, PageView } from '@things-factory/shell'
|
|
10
|
-
import { ScrollbarStyles } from '@things-factory/styles'
|
|
12
|
+
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
11
13
|
import { isMobileDevice } from '@things-factory/utils'
|
|
12
14
|
|
|
13
15
|
import { WORKSHEET_STATUS, WORKSHEET_TYPE } from '../constants'
|
|
@@ -39,7 +41,7 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
39
41
|
_searchFields: Array,
|
|
40
42
|
config: Object,
|
|
41
43
|
data: Object,
|
|
42
|
-
|
|
44
|
+
targetBizplace: Object,
|
|
43
45
|
assignee: String,
|
|
44
46
|
status: String
|
|
45
47
|
}
|
|
@@ -60,10 +62,18 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
60
62
|
get context() {
|
|
61
63
|
return {
|
|
62
64
|
title: i18next.t('title.outbound_worksheet'),
|
|
65
|
+
actions: [
|
|
66
|
+
{
|
|
67
|
+
title: i18next.t('button.assign_picker'),
|
|
68
|
+
action: this._assignPicker.bind(this),
|
|
69
|
+
...CommonButtonStyles.activate
|
|
70
|
+
}
|
|
71
|
+
],
|
|
63
72
|
exportable: {
|
|
64
73
|
name: i18next.t('title.outbound_worksheet'),
|
|
65
74
|
data: this._exportableData.bind(this)
|
|
66
75
|
},
|
|
76
|
+
|
|
67
77
|
help: 'operato-wms/outbound/single-outbound-worksheet'
|
|
68
78
|
}
|
|
69
79
|
}
|
|
@@ -186,10 +196,11 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
186
196
|
list: {
|
|
187
197
|
fields: ['releaseGood', 'bizplace', 'type', 'releaseRefNo', 'status', 'startedAt', 'endedAt']
|
|
188
198
|
},
|
|
189
|
-
rows: { appendable: false },
|
|
199
|
+
rows: { selectable: { multiple: true }, appendable: false },
|
|
190
200
|
pagination: { limit: 100, pages: [20, 50, 100, 200, 500] },
|
|
191
201
|
columns: [
|
|
192
202
|
{ type: 'gutter', gutterName: 'sequence' },
|
|
203
|
+
{ type: 'gutter', gutterName: 'row-selector', multiple: true },
|
|
193
204
|
{
|
|
194
205
|
type: 'gutter',
|
|
195
206
|
gutterName: 'button',
|
|
@@ -276,6 +287,14 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
276
287
|
sortable: true,
|
|
277
288
|
width: 100
|
|
278
289
|
},
|
|
290
|
+
{
|
|
291
|
+
type: 'object',
|
|
292
|
+
name: 'assignee',
|
|
293
|
+
header: i18next.t('field.assigned_picker'),
|
|
294
|
+
imex: { header: i18next.t('field.assigned_picker'), key: 'assignee.name', width: 20, type: 'string' },
|
|
295
|
+
sortable: true,
|
|
296
|
+
width: 100
|
|
297
|
+
},
|
|
279
298
|
{
|
|
280
299
|
type: 'datetime',
|
|
281
300
|
name: 'createdAt',
|
|
@@ -351,6 +370,10 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
351
370
|
items {
|
|
352
371
|
id
|
|
353
372
|
name
|
|
373
|
+
assignee{
|
|
374
|
+
id
|
|
375
|
+
name
|
|
376
|
+
}
|
|
354
377
|
releaseGood {
|
|
355
378
|
id
|
|
356
379
|
name
|
|
@@ -424,11 +447,59 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
424
447
|
`,
|
|
425
448
|
variables: { filters }
|
|
426
449
|
})
|
|
427
|
-
|
|
450
|
+
this.targetBizplace = response.data.partnersBizplaces || {}
|
|
428
451
|
if (!response.errors) {
|
|
429
452
|
return response.data.partnersBizplaces.items
|
|
430
453
|
}
|
|
431
454
|
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
_assignPicker() {
|
|
459
|
+
try {
|
|
460
|
+
|
|
461
|
+
let selectedData = this.dataGrist.selected.filter((item)=>{return item.status =="DEACTIVATED"})
|
|
462
|
+
|
|
463
|
+
if(selectedData.length <= 0) throw new Error('No available worksheet selected')
|
|
464
|
+
|
|
465
|
+
openPopup(
|
|
466
|
+
html`
|
|
467
|
+
<select-operator-popup
|
|
468
|
+
@updateOperator="${async e => {
|
|
469
|
+
let assignee = e.detail
|
|
470
|
+
|
|
471
|
+
const response = await client.mutate({
|
|
472
|
+
mutation: gql`
|
|
473
|
+
mutation assignPickingWorker($worksheetId: [String]!, $userId: String!) {
|
|
474
|
+
assignPickingWorker(worksheetId: $worksheetId, userId: $userId)
|
|
475
|
+
}
|
|
476
|
+
`,
|
|
477
|
+
variables: { worksheetId: selectedData.map(itm => itm.id), userId: assignee.id }
|
|
478
|
+
})
|
|
479
|
+
|
|
480
|
+
if (!response.errors) {
|
|
481
|
+
this.dataGrist.fetch()
|
|
482
|
+
return this._showToast({ message: i18next.t('text.updated_successfully') })
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
if (this.activatable) {
|
|
486
|
+
if (this.orderNo) {
|
|
487
|
+
history.back()
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}}"
|
|
491
|
+
></select-operator-popup>
|
|
492
|
+
`,
|
|
493
|
+
{
|
|
494
|
+
backdrop: true,
|
|
495
|
+
size: 'medium',
|
|
496
|
+
title: 'select operator'
|
|
497
|
+
}
|
|
498
|
+
)
|
|
499
|
+
} catch (error) {
|
|
500
|
+
return this._showToast(error)
|
|
501
|
+
}
|
|
502
|
+
}
|
|
432
503
|
|
|
433
504
|
_modifyDateRange(e) {
|
|
434
505
|
const fromDate = e.currentTarget.value
|
|
@@ -496,6 +567,17 @@ class SingleOutboundWorksheet extends localize(i18next)(PageView) {
|
|
|
496
567
|
return { header: headerSetting, data: data }
|
|
497
568
|
}
|
|
498
569
|
|
|
570
|
+
_showToast({ type, message }) {
|
|
571
|
+
document.dispatchEvent(
|
|
572
|
+
new CustomEvent('notify', {
|
|
573
|
+
detail: {
|
|
574
|
+
type,
|
|
575
|
+
message
|
|
576
|
+
}
|
|
577
|
+
})
|
|
578
|
+
)
|
|
579
|
+
}
|
|
580
|
+
|
|
499
581
|
navigatePickingRelatedPages(record) {
|
|
500
582
|
if (this.assigneeId) {
|
|
501
583
|
const searchParams = new URLSearchParams()
|
|
@@ -1206,11 +1206,11 @@ class WorksheetBatchPicking extends localize(i18next)(PageView) {
|
|
|
1206
1206
|
async assignWorker() {
|
|
1207
1207
|
const response = await client.mutate({
|
|
1208
1208
|
mutation: gql`
|
|
1209
|
-
mutation assignPickingWorker($worksheetId: String!, $userId: String!) {
|
|
1209
|
+
mutation assignPickingWorker($worksheetId: [String]!, $userId: String!) {
|
|
1210
1210
|
assignPickingWorker(worksheetId: $worksheetId, userId: $userId)
|
|
1211
1211
|
}
|
|
1212
1212
|
`,
|
|
1213
|
-
variables: { worksheetId: this.worksheetId, userId: this.assignee.id }
|
|
1213
|
+
variables: { worksheetId: [this.worksheetId], userId: this.assignee.id }
|
|
1214
1214
|
})
|
|
1215
1215
|
|
|
1216
1216
|
if (!response.errors) {
|
|
@@ -1398,11 +1398,11 @@ class WorksheetPicking extends localize(i18next)(PageView) {
|
|
|
1398
1398
|
async assignWorker() {
|
|
1399
1399
|
const response = await client.mutate({
|
|
1400
1400
|
mutation: gql`
|
|
1401
|
-
mutation assignPickingWorker($worksheetId: String!, $userId: String!) {
|
|
1401
|
+
mutation assignPickingWorker($worksheetId: [String]!, $userId: String!) {
|
|
1402
1402
|
assignPickingWorker(worksheetId: $worksheetId, userId: $userId)
|
|
1403
1403
|
}
|
|
1404
1404
|
`,
|
|
1405
|
-
variables: { worksheetId: this.worksheetId, userId: this.assignee.id }
|
|
1405
|
+
variables: { worksheetId: [this.worksheetId], userId: this.assignee.id }
|
|
1406
1406
|
})
|
|
1407
1407
|
|
|
1408
1408
|
if (!response.errors) {
|
|
@@ -22,16 +22,13 @@ exports.outboundOrderByStatusResolver = {
|
|
|
22
22
|
AND "domain_id" = $1
|
|
23
23
|
GROUP BY "status"
|
|
24
24
|
) UNION ALL (
|
|
25
|
-
SELECT
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
WHERE mf."domain_id" = $1
|
|
33
|
-
) AS foo
|
|
34
|
-
WHERE status IN ('AWAITING DISPATCH', 'OUT FROM WAREHOUSE')
|
|
25
|
+
SELECT
|
|
26
|
+
CASE WHEN "status"::VARCHAR = 'OPEN' THEN 'AWAITING DISPATCH'
|
|
27
|
+
WHEN "status"::VARCHAR = 'CLOSED' THEN 'OUT FROM WAREHOUSE'
|
|
28
|
+
END AS "status",
|
|
29
|
+
COUNT(id) AS "count"
|
|
30
|
+
FROM manifests
|
|
31
|
+
WHERE "domain_id" = $1
|
|
35
32
|
GROUP BY "status"
|
|
36
33
|
)
|
|
37
34
|
`, [domain.id]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-order-by-status.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/dashboard/outbound-order-by-status.ts"],"names":[],"mappings":";;;AAKa,QAAA,6BAA6B,GAAG;IAC3C,KAAK,CAAC,qBAAqB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACjE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAsD,OAAO,CAAC,KAAK,CAAA;QAE7F,MAAM,WAAW,GAAwC,MAAM,EAAE,CAAC,KAAK,CACrE
|
|
1
|
+
{"version":3,"file":"outbound-order-by-status.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/dashboard/outbound-order-by-status.ts"],"names":[],"mappings":";;;AAKa,QAAA,6BAA6B,GAAG;IAC3C,KAAK,CAAC,qBAAqB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACjE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAsD,OAAO,CAAC,KAAK,CAAA;QAE7F,MAAM,WAAW,GAAwC,MAAM,EAAE,CAAC,KAAK,CACrE;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2BD,EACC,CAAC,MAAM,CAAC,EAAE,CAAC,CACZ,CAAA;QAED,MAAM,UAAU,GAAa;YAC3B,oBAAoB;YACpB,kBAAkB;YAClB,SAAS;YACT,mBAAmB;YACnB,oBAAoB;YACpB,WAAW;YACX,MAAM;YACN,cAAc;SACf,CAAA;QAED,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,YAAiD,EAAE,MAAc,EAAE,EAAE;YAC7F,IAAI,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC,CAAA;YAEjE,IAAI,SAAS;gBAAE,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,CAAC,CAAA;;gBAC/D,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAA;YAE5C,OAAO,YAAY,CAAA;QACrB,CAAC,EAAE,EAAE,CAAC,CAAA;IACR,CAAC;CACF,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.40",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -57,56 +57,56 @@
|
|
|
57
57
|
"@operato/scene-tab": "^0.1.5",
|
|
58
58
|
"@operato/scene-table": "^0.1.5",
|
|
59
59
|
"@operato/scene-wheel-sorter": "^0.1.5",
|
|
60
|
-
"@things-factory/apptool-ui": "^4.1.
|
|
61
|
-
"@things-factory/attachment-ui": "^4.1.
|
|
62
|
-
"@things-factory/auth-ui": "^4.1.
|
|
63
|
-
"@things-factory/barcode-ui": "^4.1.
|
|
64
|
-
"@things-factory/biz-ui": "^4.1.
|
|
65
|
-
"@things-factory/board-service": "^4.1.
|
|
66
|
-
"@things-factory/board-ui": "^4.1.
|
|
67
|
-
"@things-factory/code-ui": "^4.1.
|
|
68
|
-
"@things-factory/context-ui": "^4.1.
|
|
69
|
-
"@things-factory/export-ui": "^4.1.
|
|
70
|
-
"@things-factory/export-ui-csv": "^4.1.
|
|
71
|
-
"@things-factory/export-ui-excel": "^4.1.
|
|
72
|
-
"@things-factory/fav-base": "^4.1.
|
|
73
|
-
"@things-factory/form-ui": "^4.1.
|
|
74
|
-
"@things-factory/grist-ui": "^4.1.
|
|
75
|
-
"@things-factory/help": "^4.1.
|
|
76
|
-
"@things-factory/i18n-base": "^4.1.
|
|
77
|
-
"@things-factory/id-rule-base": "^4.1.
|
|
78
|
-
"@things-factory/import-ui": "^4.1.
|
|
79
|
-
"@things-factory/import-ui-excel": "^4.1.
|
|
80
|
-
"@things-factory/menu-ui": "^4.1.
|
|
81
|
-
"@things-factory/more-ui": "^4.1.
|
|
82
|
-
"@things-factory/notification": "^4.1.
|
|
83
|
-
"@things-factory/pdf": "^4.1.
|
|
84
|
-
"@things-factory/print-proxy-service": "^4.1.
|
|
85
|
-
"@things-factory/print-service": "^4.1.
|
|
86
|
-
"@things-factory/print-ui": "^4.1.
|
|
87
|
-
"@things-factory/product-base": "^4.1.
|
|
88
|
-
"@things-factory/resource-ui": "^4.1.
|
|
89
|
-
"@things-factory/sales-ui": "^4.1.
|
|
90
|
-
"@things-factory/scene-data-transform": "^4.1.
|
|
91
|
-
"@things-factory/scene-excel": "^4.1.
|
|
92
|
-
"@things-factory/scene-firebase": "^4.1.
|
|
93
|
-
"@things-factory/scene-form": "^4.1.
|
|
94
|
-
"@things-factory/scene-google-map": "^4.1.
|
|
95
|
-
"@things-factory/scene-graphql": "^4.1.
|
|
96
|
-
"@things-factory/scene-label": "^4.1.
|
|
97
|
-
"@things-factory/scene-marker": "^4.1.
|
|
98
|
-
"@things-factory/scene-mqtt": "^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.
|
|
60
|
+
"@things-factory/apptool-ui": "^4.1.40",
|
|
61
|
+
"@things-factory/attachment-ui": "^4.1.40",
|
|
62
|
+
"@things-factory/auth-ui": "^4.1.40",
|
|
63
|
+
"@things-factory/barcode-ui": "^4.1.40",
|
|
64
|
+
"@things-factory/biz-ui": "^4.1.40",
|
|
65
|
+
"@things-factory/board-service": "^4.1.40",
|
|
66
|
+
"@things-factory/board-ui": "^4.1.40",
|
|
67
|
+
"@things-factory/code-ui": "^4.1.40",
|
|
68
|
+
"@things-factory/context-ui": "^4.1.40",
|
|
69
|
+
"@things-factory/export-ui": "^4.1.40",
|
|
70
|
+
"@things-factory/export-ui-csv": "^4.1.40",
|
|
71
|
+
"@things-factory/export-ui-excel": "^4.1.40",
|
|
72
|
+
"@things-factory/fav-base": "^4.1.40",
|
|
73
|
+
"@things-factory/form-ui": "^4.1.40",
|
|
74
|
+
"@things-factory/grist-ui": "^4.1.40",
|
|
75
|
+
"@things-factory/help": "^4.1.40",
|
|
76
|
+
"@things-factory/i18n-base": "^4.1.40",
|
|
77
|
+
"@things-factory/id-rule-base": "^4.1.40",
|
|
78
|
+
"@things-factory/import-ui": "^4.1.40",
|
|
79
|
+
"@things-factory/import-ui-excel": "^4.1.40",
|
|
80
|
+
"@things-factory/menu-ui": "^4.1.40",
|
|
81
|
+
"@things-factory/more-ui": "^4.1.40",
|
|
82
|
+
"@things-factory/notification": "^4.1.40",
|
|
83
|
+
"@things-factory/pdf": "^4.1.40",
|
|
84
|
+
"@things-factory/print-proxy-service": "^4.1.40",
|
|
85
|
+
"@things-factory/print-service": "^4.1.40",
|
|
86
|
+
"@things-factory/print-ui": "^4.1.40",
|
|
87
|
+
"@things-factory/product-base": "^4.1.40",
|
|
88
|
+
"@things-factory/resource-ui": "^4.1.40",
|
|
89
|
+
"@things-factory/sales-ui": "^4.1.40",
|
|
90
|
+
"@things-factory/scene-data-transform": "^4.1.40",
|
|
91
|
+
"@things-factory/scene-excel": "^4.1.40",
|
|
92
|
+
"@things-factory/scene-firebase": "^4.1.40",
|
|
93
|
+
"@things-factory/scene-form": "^4.1.40",
|
|
94
|
+
"@things-factory/scene-google-map": "^4.1.40",
|
|
95
|
+
"@things-factory/scene-graphql": "^4.1.40",
|
|
96
|
+
"@things-factory/scene-label": "^4.1.40",
|
|
97
|
+
"@things-factory/scene-marker": "^4.1.40",
|
|
98
|
+
"@things-factory/scene-mqtt": "^4.1.40",
|
|
99
|
+
"@things-factory/scene-restful": "^4.1.40",
|
|
100
|
+
"@things-factory/scene-visualizer": "^4.1.40",
|
|
101
|
+
"@things-factory/setting-ui": "^4.1.40",
|
|
102
|
+
"@things-factory/system-ui": "^4.1.40",
|
|
103
|
+
"@things-factory/transport-base": "^4.1.40",
|
|
104
|
+
"@things-factory/tutorial-ui": "^4.1.40",
|
|
105
|
+
"@things-factory/warehouse-base": "^4.1.40",
|
|
106
|
+
"@things-factory/worksheet-base": "^4.1.40"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@things-factory/builder": "^4.1.
|
|
109
|
+
"@things-factory/builder": "^4.1.40"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "060b5c664e80a6fcba09598f2c7ceffe067e02bf"
|
|
112
112
|
}
|
|
@@ -26,16 +26,13 @@ export const outboundOrderByStatusResolver = {
|
|
|
26
26
|
AND "domain_id" = $1
|
|
27
27
|
GROUP BY "status"
|
|
28
28
|
) UNION ALL (
|
|
29
|
-
SELECT
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
WHERE mf."domain_id" = $1
|
|
37
|
-
) AS foo
|
|
38
|
-
WHERE status IN ('AWAITING DISPATCH', 'OUT FROM WAREHOUSE')
|
|
29
|
+
SELECT
|
|
30
|
+
CASE WHEN "status"::VARCHAR = 'OPEN' THEN 'AWAITING DISPATCH'
|
|
31
|
+
WHEN "status"::VARCHAR = 'CLOSED' THEN 'OUT FROM WAREHOUSE'
|
|
32
|
+
END AS "status",
|
|
33
|
+
COUNT(id) AS "count"
|
|
34
|
+
FROM manifests
|
|
35
|
+
WHERE "domain_id" = $1
|
|
39
36
|
GROUP BY "status"
|
|
40
37
|
)
|
|
41
38
|
`,
|
package/translations/en.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"button.approve": "approve",
|
|
11
11
|
"button.arrived": "arrived",
|
|
12
12
|
"button.assign_warehouse": "assign warehouse",
|
|
13
|
+
"button.assign_picker": "assign picker",
|
|
13
14
|
"button.assign": "assign",
|
|
14
15
|
"button.auto_assign": "auto assign",
|
|
15
16
|
"button.auto_select": "auto select",
|
|
@@ -132,6 +133,7 @@
|
|
|
132
133
|
"field.assigned_qty": "assigned qty",
|
|
133
134
|
"field.assigned_uom_value": "assigned uom value",
|
|
134
135
|
"field.assigned": "assigned",
|
|
136
|
+
"field.assigned_picker":"assigned picker",
|
|
135
137
|
"field.attention_to": "attention to",
|
|
136
138
|
"field.aux_unit_2": "aux unit 2",
|
|
137
139
|
"field.aux_unit": "aux unit",
|