Commit 5184d8db authored by fahrur huzain's avatar fahrur huzain

issue LOV MR

parent 59624d72
...@@ -360,15 +360,15 @@ export default class LOV extends Component { ...@@ -360,15 +360,15 @@ export default class LOV extends Component {
payload.push({ payload.push({
"item_report_id": i[1], "item_report_id": i[1],
"company_name": this.props.company.company_name, "company_name": this.props.company.company_name,
"institution_name": i[3], "institution_name": i[3] !== undefined ? (i[3]) : "",
"type_of_investment": i[4], "type_of_investment": i[4] !== undefined ? (i[4]) : "",
"remarks": i[5], "remarks": i[5] !== undefined ? (i[5]) : "",
"placement_date": i[6] !== undefined ? tgl[2] + '-' + tgl[1] + '-' + tgl[0] : null, "placement_date": i[6] !== undefined ? tgl[2] + '-' + tgl[1] + '-' + tgl[0] : "",
"tenor": i[7], "tenor": i[7] !== undefined ? (i[7]) : "",
"expected_return": i[8], "expected_return": i[8] !== undefined ? (i[8]) : "",
"currency": i[9], "currency": i[9] !== undefined ? (i[9]) : "",
"investment_amount_ori": i[10] !== undefined ? Number(i[10]) : i[10], "investment_amount_ori": i[10] !== undefined ? Number(i[10]) : "",
"investment_amount_cur": i[11] !== undefined ? Number(i[11]) : i[11], "investment_amount_cur": i[11] !== undefined ? Number(i[11]) : "",
"notes": i[12], "notes": i[12],
}) })
} }
......
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