@provis/provis-common-be-module 2.3.17 → 2.3.19
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.
|
@@ -6,28 +6,28 @@ declare const cargo: {
|
|
|
6
6
|
CANCEL: string;
|
|
7
7
|
};
|
|
8
8
|
TYPE: {
|
|
9
|
-
|
|
9
|
+
TYPE_ICCA_INV: {
|
|
10
10
|
code: string;
|
|
11
11
|
desc: {
|
|
12
12
|
id: string;
|
|
13
13
|
en: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
TYPE_ICCC_INV: {
|
|
17
17
|
code: string;
|
|
18
18
|
desc: {
|
|
19
19
|
id: string;
|
|
20
20
|
en: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
TYPE_ICCA_FLB: {
|
|
24
24
|
code: string;
|
|
25
25
|
desc: {
|
|
26
26
|
id: string;
|
|
27
27
|
en: string;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
TYPE_ICCC_FLB: {
|
|
31
31
|
code: string;
|
|
32
32
|
desc: {
|
|
33
33
|
id: string;
|
|
@@ -8,32 +8,32 @@ const cargo = {
|
|
|
8
8
|
CANCEL: '300',
|
|
9
9
|
},
|
|
10
10
|
TYPE: {
|
|
11
|
-
|
|
12
|
-
code: 'ICCA-
|
|
11
|
+
TYPE_ICCA_INV: {
|
|
12
|
+
code: 'ICCA-INV',
|
|
13
13
|
desc: {
|
|
14
14
|
id: '',
|
|
15
|
-
en: 'Institute Cargo Clause (
|
|
15
|
+
en: 'Institute Cargo Clause (C) 01/01/09 - Invoice value +10%',
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
code: 'ICCC-
|
|
18
|
+
TYPE_ICCC_INV: {
|
|
19
|
+
code: 'ICCC-INV',
|
|
20
20
|
desc: {
|
|
21
21
|
id: '',
|
|
22
|
-
en: 'Institute Cargo Clause (
|
|
22
|
+
en: 'Institute Cargo Clause (A) 01/01/09 - Invoice value +10%',
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
|
-
|
|
26
|
-
code: 'ICCA-
|
|
25
|
+
TYPE_ICCA_FLB: {
|
|
26
|
+
code: 'ICCA-FLB',
|
|
27
27
|
desc: {
|
|
28
28
|
id: '',
|
|
29
|
-
en: 'Institute Cargo Clause (
|
|
29
|
+
en: 'Institute Cargo Clause (A) 01/01/09 - First Loss Basis',
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
|
-
|
|
33
|
-
code: 'ICCC-
|
|
32
|
+
TYPE_ICCC_FLB: {
|
|
33
|
+
code: 'ICCC-FLB',
|
|
34
34
|
desc: {
|
|
35
35
|
id: '',
|
|
36
|
-
en: 'Institute Cargo Clause (
|
|
36
|
+
en: 'Institute Cargo Clause (C) 01/01/09 - First Loss Basis',
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
39
|
}
|
package/dist/constants/report.js
CHANGED
|
@@ -2,39 +2,51 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const report = {
|
|
4
4
|
INITIAL: {
|
|
5
|
+
// status initial -> setiap awal upload = initial
|
|
5
6
|
code: 0,
|
|
6
7
|
desc: {
|
|
7
|
-
en:
|
|
8
|
-
id:
|
|
8
|
+
en: "Initial",
|
|
9
|
+
id: "Initial",
|
|
9
10
|
},
|
|
10
11
|
},
|
|
11
12
|
SUCCESS: {
|
|
13
|
+
// excel report berhasil di baca
|
|
12
14
|
code: 100,
|
|
13
15
|
desc: {
|
|
14
|
-
en:
|
|
15
|
-
id:
|
|
16
|
+
en: "Success",
|
|
17
|
+
id: "Sukses",
|
|
16
18
|
},
|
|
17
19
|
},
|
|
18
20
|
SUBMIT: {
|
|
21
|
+
// excel berhasil ke submit
|
|
19
22
|
code: 200,
|
|
20
23
|
desc: {
|
|
21
|
-
en:
|
|
22
|
-
id:
|
|
24
|
+
en: "Submit",
|
|
25
|
+
id: "Berhasil",
|
|
23
26
|
},
|
|
24
27
|
},
|
|
25
28
|
CANCEL: {
|
|
29
|
+
// dibatalkan oleh pengguna
|
|
26
30
|
code: 300,
|
|
27
31
|
desc: {
|
|
28
|
-
en:
|
|
29
|
-
id:
|
|
32
|
+
en: "Cancel",
|
|
33
|
+
id: "batal",
|
|
30
34
|
},
|
|
31
35
|
},
|
|
32
36
|
FAILED: {
|
|
37
|
+
// sistem gagal baca excel
|
|
33
38
|
code: 310,
|
|
34
39
|
desc: {
|
|
35
|
-
en:
|
|
36
|
-
id:
|
|
40
|
+
en: "Failed",
|
|
41
|
+
id: "Gagal",
|
|
37
42
|
},
|
|
38
43
|
},
|
|
44
|
+
LIST_ACTIVE: [],
|
|
39
45
|
};
|
|
46
|
+
report.LIST_ACTIVE = [
|
|
47
|
+
report.INITIAL,
|
|
48
|
+
report.SUCCESS,
|
|
49
|
+
report.CANCEL,
|
|
50
|
+
report.FAILED,
|
|
51
|
+
];
|
|
40
52
|
exports.default = report;
|