Commit 372c50b8 authored by Riri Novita's avatar Riri Novita

ubah ui currency

parent 417a524b
This diff is collapsed.
...@@ -493,7 +493,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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])), "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], "tenor": i[10],
"expected_return": i[11] == "" ? "0.00" : i[11], "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_ori": Number(i[13]) == "" ? "0.0" : Number(i[13]),
"investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]), "investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]),
"notes": i[15], "notes": i[15],
...@@ -508,7 +509,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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])), "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], "tenor": i[10],
"expected_return": i[11] == "" ? "0.00" : i[11], "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_ori": Number(i[13]) == "" ? "0.0" : Number(i[13]),
"investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]), "investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]),
"notes": i[15], "notes": i[15],
...@@ -946,7 +948,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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])), "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], "tenor": i[10],
"expected_return": i[11] == "" ? "0.00" : i[11], "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_ori": Number(i[13]) == "" ? "0.0" : Number(i[13]),
"investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]), "investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]),
"notes": i[15], "notes": i[15],
...@@ -961,7 +964,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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])), "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], "tenor": i[10],
"expected_return": i[11] == "" ? "0.00" : i[11], "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_ori": Number(i[13]) == "" ? "0.0" : Number(i[13]),
"investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]), "investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]),
"notes": i[15], "notes": i[15],
...@@ -1006,7 +1010,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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.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.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.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_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.investment_amount_cur === null ? "0.0" : item.lov.investment_amount_cur === "" ? "0.0" : item.lov.investment_amount_cur,
item.lov.notes, item.lov.notes,
...@@ -1039,7 +1044,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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.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.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.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_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.investment_amount_cur === null ? "0.0" : item.lov.investment_amount_cur === "" ? "0.0" : item.lov.investment_amount_cur,
item.lov.notes, item.lov.notes,
...@@ -1306,7 +1312,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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])), "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], "tenor": i[10],
"expected_return": i[11] == "" ? "0.00" : i[11], "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_ori": Number(i[13]) == "" ? "0.0" : Number(i[13]),
"investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]), "investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]),
"notes": i[15], "notes": i[15],
...@@ -1321,7 +1328,8 @@ export default class ListOfCreditFacilities extends Component { ...@@ -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])), "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], "tenor": i[10],
"expected_return": i[11] == "" ? "0.00" : i[11], "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_ori": Number(i[13]) == "" ? "0.0" : Number(i[13]),
"investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]), "investment_amount_cur": Number(i[14]) == "" ? "0.0" : Number(i[14]),
"notes": i[15], "notes": i[15],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment