@things-factory/operato-hub 4.3.571 → 4.3.572
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.
|
@@ -23,7 +23,7 @@ exports.admiralAsnReport = {
|
|
|
23
23
|
create temp table temp_inbound_order_report on commit drop as (
|
|
24
24
|
select
|
|
25
25
|
to_char((grn.created_at + interval '8 hours')::date,'dd/mm/yyyy') as "date_received",
|
|
26
|
-
an.
|
|
26
|
+
an.container_no as "do_number",
|
|
27
27
|
p.sku as "sku",
|
|
28
28
|
p.name as "descr",
|
|
29
29
|
coalesce(oi.actual_pack_qty, 0) as "qty",
|
|
@@ -44,7 +44,7 @@ exports.admiralAsnReport = {
|
|
|
44
44
|
where p.sku = '1000221'
|
|
45
45
|
and i.bizplace_id = ANY($1)
|
|
46
46
|
and grn.created_at::date = (NOW()::date - interval '1 day')
|
|
47
|
-
order by "
|
|
47
|
+
order by "do_number", "pallet_id"
|
|
48
48
|
)
|
|
49
49
|
`, [bizplaceIds]);
|
|
50
50
|
// Fetch detailed results
|
|
@@ -23,7 +23,7 @@ exports.asnReport = {
|
|
|
23
23
|
create temp table temp_inbound_order_report on commit drop as (
|
|
24
24
|
select
|
|
25
25
|
to_char((grn.created_at + interval '8 hours')::date,'dd/mm/yyyy') as "date_received",
|
|
26
|
-
an.
|
|
26
|
+
an.container_no as "do_number",
|
|
27
27
|
p.sku as "sku",
|
|
28
28
|
p.name as "descr",
|
|
29
29
|
coalesce(oi.actual_pack_qty, 0) as "qty",
|
|
@@ -43,7 +43,7 @@ exports.asnReport = {
|
|
|
43
43
|
inner join goods_receival_notes grn on an.id = grn.arrival_notice_id
|
|
44
44
|
where i.bizplace_id = ANY($1)
|
|
45
45
|
and grn.created_at::date = (NOW()::date - interval '1 day')
|
|
46
|
-
order by "
|
|
46
|
+
order by "do_number", "pallet_id"
|
|
47
47
|
)
|
|
48
48
|
`, [bizplaceIds]);
|
|
49
49
|
// Fetch detailed results
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.572",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/pdf": "^4.3.534",
|
|
93
93
|
"@things-factory/product-ui": "^4.3.563",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.563",
|
|
95
|
-
"@things-factory/sales-base": "^4.3.
|
|
95
|
+
"@things-factory/sales-base": "^4.3.572",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.534",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.534",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.534",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@things-factory/system-ui": "^4.3.535",
|
|
110
110
|
"@things-factory/transport-base": "^4.3.563",
|
|
111
111
|
"@things-factory/warehouse-base": "^4.3.567",
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.572",
|
|
113
113
|
"cron-parser": "^4.7.0",
|
|
114
114
|
"koa2-swagger-ui": "^5.0.2",
|
|
115
115
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"resolutions": {
|
|
123
123
|
"core-js": "^3.16.0"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "c263ae5c7146c1a722fc924db3c48bbba5558df6"
|
|
126
126
|
}
|
|
@@ -29,7 +29,7 @@ export const admiralAsnReport = {
|
|
|
29
29
|
create temp table temp_inbound_order_report on commit drop as (
|
|
30
30
|
select
|
|
31
31
|
to_char((grn.created_at + interval '8 hours')::date,'dd/mm/yyyy') as "date_received",
|
|
32
|
-
an.
|
|
32
|
+
an.container_no as "do_number",
|
|
33
33
|
p.sku as "sku",
|
|
34
34
|
p.name as "descr",
|
|
35
35
|
coalesce(oi.actual_pack_qty, 0) as "qty",
|
|
@@ -50,7 +50,7 @@ export const admiralAsnReport = {
|
|
|
50
50
|
where p.sku = '1000221'
|
|
51
51
|
and i.bizplace_id = ANY($1)
|
|
52
52
|
and grn.created_at::date = (NOW()::date - interval '1 day')
|
|
53
|
-
order by "
|
|
53
|
+
order by "do_number", "pallet_id"
|
|
54
54
|
)
|
|
55
55
|
`,
|
|
56
56
|
[bizplaceIds]
|
|
@@ -29,7 +29,7 @@ export const asnReport = {
|
|
|
29
29
|
create temp table temp_inbound_order_report on commit drop as (
|
|
30
30
|
select
|
|
31
31
|
to_char((grn.created_at + interval '8 hours')::date,'dd/mm/yyyy') as "date_received",
|
|
32
|
-
an.
|
|
32
|
+
an.container_no as "do_number",
|
|
33
33
|
p.sku as "sku",
|
|
34
34
|
p.name as "descr",
|
|
35
35
|
coalesce(oi.actual_pack_qty, 0) as "qty",
|
|
@@ -49,7 +49,7 @@ export const asnReport = {
|
|
|
49
49
|
inner join goods_receival_notes grn on an.id = grn.arrival_notice_id
|
|
50
50
|
where i.bizplace_id = ANY($1)
|
|
51
51
|
and grn.created_at::date = (NOW()::date - interval '1 day')
|
|
52
|
-
order by "
|
|
52
|
+
order by "do_number", "pallet_id"
|
|
53
53
|
)
|
|
54
54
|
`,
|
|
55
55
|
[bizplaceIds]
|