Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
372c50b8
Commit
372c50b8
authored
Dec 12, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubah ui currency
parent
417a524b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
31 deletions
+68
-31
LOVMR.js
src/container/MonthlyReport/LOVMR.js
+52
-23
ListOfCreditFacilitiesMR.js
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
+16
-8
No files found.
src/container/MonthlyReport/LOVMR.js
View file @
372c50b8
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
372c50b8
...
...
@@ -493,7 +493,8 @@ export default class ListOfCreditFacilities extends Component {
"placement_date"
:
i
[
9
]
==
undefined
||
i
[
9
]
==
"null"
||
i
[
9
]
==
null
?
""
:
(
String
(
tgl
[
2
]).
length
<=
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
i
[
9
])),
"tenor"
:
i
[
10
],
"expected_return"
:
i
[
11
]
==
""
?
"0.00"
:
i
[
11
],
"currency"
:
i
[
12
]
==
null
?
i
[
12
]
:
i
[
12
].
value
,
// "currency": i[12] == null ? i[12] : i[12].value,
"currency"
:
i
[
12
],
"investment_amount_ori"
:
Number
(
i
[
13
])
==
""
?
"0.0"
:
Number
(
i
[
13
]),
"investment_amount_cur"
:
Number
(
i
[
14
])
==
""
?
"0.0"
:
Number
(
i
[
14
]),
"notes"
:
i
[
15
],
...
...
@@ -508,7 +509,8 @@ export default class ListOfCreditFacilities extends Component {
"placement_date"
:
i
[
9
]
==
undefined
||
i
[
9
]
==
"null"
||
i
[
9
]
==
null
?
""
:
(
String
(
tgl
[
2
]).
length
<=
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
i
[
9
])),
"tenor"
:
i
[
10
],
"expected_return"
:
i
[
11
]
==
""
?
"0.00"
:
i
[
11
],
"currency"
:
i
[
12
]
==
null
?
i
[
12
]
:
i
[
12
].
value
,
// "currency": i[12] == null ? i[12] : i[12].value,
"currency"
:
i
[
12
],
"investment_amount_ori"
:
Number
(
i
[
13
])
==
""
?
"0.0"
:
Number
(
i
[
13
]),
"investment_amount_cur"
:
Number
(
i
[
14
])
==
""
?
"0.0"
:
Number
(
i
[
14
]),
"notes"
:
i
[
15
],
...
...
@@ -946,7 +948,8 @@ export default class ListOfCreditFacilities extends Component {
"placement_date"
:
i
[
9
]
==
undefined
||
i
[
9
]
==
"null"
||
i
[
9
]
==
null
?
""
:
(
String
(
tgl
[
2
]).
length
<=
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
i
[
9
])),
"tenor"
:
i
[
10
],
"expected_return"
:
i
[
11
]
==
""
?
"0.00"
:
i
[
11
],
"currency"
:
i
[
12
]
==
null
?
i
[
12
]
:
i
[
12
].
value
,
// "currency": i[12] == null ? i[12] : i[12].value,
"currency"
:
i
[
12
],
"investment_amount_ori"
:
Number
(
i
[
13
])
==
""
?
"0.0"
:
Number
(
i
[
13
]),
"investment_amount_cur"
:
Number
(
i
[
14
])
==
""
?
"0.0"
:
Number
(
i
[
14
]),
"notes"
:
i
[
15
],
...
...
@@ -961,7 +964,8 @@ export default class ListOfCreditFacilities extends Component {
"placement_date"
:
i
[
9
]
==
undefined
||
i
[
9
]
==
"null"
||
i
[
9
]
==
null
?
""
:
(
String
(
tgl
[
2
]).
length
<=
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
i
[
9
])),
"tenor"
:
i
[
10
],
"expected_return"
:
i
[
11
]
==
""
?
"0.00"
:
i
[
11
],
"currency"
:
i
[
12
]
==
null
?
i
[
12
]
:
i
[
12
].
value
,
// "currency": i[12] == null ? i[12] : i[12].value,
"currency"
:
i
[
12
],
"investment_amount_ori"
:
Number
(
i
[
13
])
==
""
?
"0.0"
:
Number
(
i
[
13
]),
"investment_amount_cur"
:
Number
(
i
[
14
])
==
""
?
"0.0"
:
Number
(
i
[
14
]),
"notes"
:
i
[
15
],
...
...
@@ -1006,7 +1010,8 @@ export default class ListOfCreditFacilities extends Component {
item
.
lov
.
placement_date
==
null
||
item
.
lov
.
placement_date
==
""
?
null
:
(
item
.
lov
.
placement_date
!==
"null"
?
String
(
tgl
[
2
]).
length
>
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
item
.
lov
.
placement_date
)
:
null
),
item
.
lov
.
tenor
===
null
||
item
.
lov
.
tenor
===
""
?
""
:
item
.
lov
.
tenor
,
item
.
lov
.
expected_return
===
null
||
item
.
lov
.
expected_return
===
""
?
"0.0"
:
item
.
lov
.
expected_return
,
item
.
lov
.
currency
===
null
?
null
:
item
.
lov
.
currency
===
""
?
null
:
{
value
:
item
.
lov
.
currency
},
// item.lov.currency === null ? null : item.lov.currency === "" ? null : { value: item.lov.currency },
item
.
lov
.
currency
===
null
||
item
.
lov
.
currency
===
""
?
""
:
item
.
lov
.
currency
,
item
.
lov
.
investment_amount_ori
===
null
?
"0.0"
:
item
.
lov
.
investment_amount_ori
===
""
?
"0.0"
:
item
.
lov
.
investment_amount_ori
,
item
.
lov
.
investment_amount_cur
===
null
?
"0.0"
:
item
.
lov
.
investment_amount_cur
===
""
?
"0.0"
:
item
.
lov
.
investment_amount_cur
,
item
.
lov
.
notes
,
...
...
@@ -1039,7 +1044,8 @@ export default class ListOfCreditFacilities extends Component {
item
.
lov
.
placement_date
==
null
||
item
.
lov
.
placement_date
==
""
?
null
:
(
item
.
lov
.
placement_date
!==
"null"
?
String
(
tgl
[
2
]).
length
>
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
item
.
lov
.
placement_date
)
:
null
),
item
.
lov
.
tenor
===
null
||
item
.
lov
.
tenor
===
""
?
""
:
item
.
lov
.
tenor
,
item
.
lov
.
expected_return
===
null
||
item
.
lov
.
expected_return
===
""
?
"0.0"
:
item
.
lov
.
expected_return
,
item
.
lov
.
currency
===
null
?
null
:
item
.
lov
.
currency
===
""
?
null
:
{
value
:
item
.
lov
.
currency
},
// item.lov.currency === null ? null : item.lov.currency === "" ? null : { value: item.lov.currency },
item
.
lov
.
currency
===
null
||
item
.
lov
.
currency
===
""
?
""
:
item
.
lov
.
currency
,
item
.
lov
.
investment_amount_ori
===
null
?
"0.0"
:
item
.
lov
.
investment_amount_ori
===
""
?
"0.0"
:
item
.
lov
.
investment_amount_ori
,
item
.
lov
.
investment_amount_cur
===
null
?
"0.0"
:
item
.
lov
.
investment_amount_cur
===
""
?
"0.0"
:
item
.
lov
.
investment_amount_cur
,
item
.
lov
.
notes
,
...
...
@@ -1306,7 +1312,8 @@ export default class ListOfCreditFacilities extends Component {
"placement_date"
:
i
[
9
]
==
undefined
||
i
[
9
]
==
"null"
||
i
[
9
]
==
null
?
""
:
(
String
(
tgl
[
2
]).
length
<=
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
i
[
9
])),
"tenor"
:
i
[
10
],
"expected_return"
:
i
[
11
]
==
""
?
"0.00"
:
i
[
11
],
"currency"
:
i
[
12
]
==
null
?
i
[
12
]
:
i
[
12
].
value
,
// "currency": i[12] == null ? i[12] : i[12].value,
"currency"
:
i
[
12
],
"investment_amount_ori"
:
Number
(
i
[
13
])
==
""
?
"0.0"
:
Number
(
i
[
13
]),
"investment_amount_cur"
:
Number
(
i
[
14
])
==
""
?
"0.0"
:
Number
(
i
[
14
]),
"notes"
:
i
[
15
],
...
...
@@ -1321,7 +1328,8 @@ export default class ListOfCreditFacilities extends Component {
"placement_date"
:
i
[
9
]
==
undefined
||
i
[
9
]
==
"null"
||
i
[
9
]
==
null
?
""
:
(
String
(
tgl
[
2
]).
length
<=
2
?
tgl
[
2
]
+
'-'
+
tgl
[
1
]
+
'-'
+
tgl
[
0
]
:
String
(
i
[
9
])),
"tenor"
:
i
[
10
],
"expected_return"
:
i
[
11
]
==
""
?
"0.00"
:
i
[
11
],
"currency"
:
i
[
12
]
==
null
?
i
[
12
]
:
i
[
12
].
value
,
// "currency": i[12] == null ? i[12] : i[12].value,
"currency"
:
i
[
12
],
"investment_amount_ori"
:
Number
(
i
[
13
])
==
""
?
"0.0"
:
Number
(
i
[
13
]),
"investment_amount_cur"
:
Number
(
i
[
14
])
==
""
?
"0.0"
:
Number
(
i
[
14
]),
"notes"
:
i
[
15
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment