@provis/provis-common-be-module 2.5.36 → 2.5.37
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.
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const cargo: {
|
|
2
|
+
STATUS: {
|
|
3
|
+
DRAFT: string;
|
|
4
|
+
SUBMITED: string;
|
|
5
|
+
PAID: string;
|
|
6
|
+
CANCEL: string;
|
|
7
|
+
};
|
|
8
|
+
TYPE: {
|
|
9
|
+
TYPE_ICCA_INV: {
|
|
10
|
+
code: string;
|
|
11
|
+
desc: {
|
|
12
|
+
id: string;
|
|
13
|
+
en: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
TYPE_ICCC_INV: {
|
|
17
|
+
code: string;
|
|
18
|
+
desc: {
|
|
19
|
+
id: string;
|
|
20
|
+
en: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
TYPE_ICCA_FLB: {
|
|
24
|
+
code: string;
|
|
25
|
+
desc: {
|
|
26
|
+
id: string;
|
|
27
|
+
en: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
TYPE_ICCC_FLB: {
|
|
31
|
+
code: string;
|
|
32
|
+
desc: {
|
|
33
|
+
id: string;
|
|
34
|
+
en: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default cargo;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const cargo = {
|
|
4
|
+
STATUS: {
|
|
5
|
+
DRAFT: '0',
|
|
6
|
+
SUBMITED: '100',
|
|
7
|
+
PAID: '200',
|
|
8
|
+
CANCEL: '300',
|
|
9
|
+
},
|
|
10
|
+
TYPE: {
|
|
11
|
+
TYPE_ICCA_INV: {
|
|
12
|
+
code: 'ICCA-INV',
|
|
13
|
+
desc: {
|
|
14
|
+
id: '',
|
|
15
|
+
en: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
TYPE_ICCC_INV: {
|
|
19
|
+
code: 'ICCC-INV',
|
|
20
|
+
desc: {
|
|
21
|
+
id: '',
|
|
22
|
+
en: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
TYPE_ICCA_FLB: {
|
|
26
|
+
code: 'ICCA-FLB',
|
|
27
|
+
desc: {
|
|
28
|
+
id: '',
|
|
29
|
+
en: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
TYPE_ICCC_FLB: {
|
|
33
|
+
code: 'ICCC-FLB',
|
|
34
|
+
desc: {
|
|
35
|
+
id: '',
|
|
36
|
+
en: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
exports.default = cargo;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
LIST: [
|
|
5
|
+
{
|
|
6
|
+
code: 'GT_NEW',
|
|
7
|
+
desc: {
|
|
8
|
+
en: 'New',
|
|
9
|
+
id: 'Baru',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
code: 'GT_SECOND',
|
|
14
|
+
desc: {
|
|
15
|
+
en: 'Second',
|
|
16
|
+
id: 'Bekas',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
code: 'GT_CEMENT',
|
|
21
|
+
desc: {
|
|
22
|
+
en: 'Cement',
|
|
23
|
+
id: 'Semen',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
code: 'GT_GLASS',
|
|
28
|
+
desc: {
|
|
29
|
+
en: 'Glass',
|
|
30
|
+
id: 'Kaca',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
]
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const cargo_1 = require("../constants/product/cargo");
|
|
3
|
+
const cargo_1 = require("../constants/product/cargo/cargo");
|
|
4
4
|
function getCargoType(code, lang = 'en') {
|
|
5
5
|
var _a;
|
|
6
6
|
const match = Object.values(cargo_1.default.TYPE).find((item) => item.code === code);
|