Commit 0812d66b authored by fahrur huzain's avatar fahrur huzain

issue CAT RO MB

parent fa551da8
......@@ -638,9 +638,9 @@ export default class CorporateAnnualTarget extends Component {
"october": i[22].value != undefined ? String(Number(i[22].formula[0].value)/1000) : String(i[22]),
"november": i[23].value != undefined ? String(Number(i[23].formula[0].value)/1000) : String(i[23]),
"december": i[24].value != undefined ? String(Number(i[24].formula[1].value)/1000) : String(i[24]),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][2]?.value)/1000),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][0]?.value)/1000),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][1]?.value)/1000),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][2]?.value)/1000) : String(i[25]),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][0]?.value)/1000) : String(i[26]),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][1]?.value)/1000) : String(i[27]),
"strategic": String(i[28]),
"pic": String(i[29])
})
......@@ -828,9 +828,9 @@ export default class CorporateAnnualTarget extends Component {
"october": i[22].value == undefined ? (String(i[22]) == '' ? "0.0" : String(i[22])) : String(i[22].formula[0].value/1000),
"november": i[23].value == undefined ? (String(i[23]) == '' ? "0.0" : String(i[23])) : String(i[23].formula[0].value/1000),
"december": i[24].value == undefined ? (String(i[24]) == '' ? "0.0" : String(i[24])) : String(i[24].formula[1].value/1000),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][2]?.value)/1000),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][0]?.value)/1000),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][1]?.value)/1000),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][2]?.value)/1000) : String(i[25]),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][0]?.value)/1000) : String(i[26]),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][1]?.value)/1000) : String(i[27]),
"strategic": String(i[28]),
"pic": String(i[29])
})
......@@ -925,9 +925,9 @@ export default class CorporateAnnualTarget extends Component {
"october": i[22].formula != undefined ? String((Number(i[22]?.formula[0].value))/1000) : String(i[22]),
"november": i[23].formula != undefined ? String((Number(i[23]?.formula[0].value))/1000) : String(i[23]),
"december": i[24].formula != undefined ? String((Number(i[24]?.formula[1].value))/1000) : String(i[24]),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][2]?.value)/1000),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][0]?.value)/1000),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][1]?.value)/1000),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][2]?.value)/1000) : String(i[25]),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][0]?.value)/1000) : String(i[26]),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][1]?.value)/1000) : String(i[27]),
"strategic": String(i[28]),
"pic": String(i[29])
})
......@@ -954,9 +954,9 @@ export default class CorporateAnnualTarget extends Component {
"october": i[22].formula != undefined ? String((Number(i[22]?.formula[0].value))/1000) : String(i[22]),
"november": i[23].formula != undefined ? String((Number(i[23]?.formula[0].value))/1000) : String(i[23]),
"december": i[24].formula != undefined ? String((Number(i[24]?.formula[1].value))/1000) : String(i[24]),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][2]?.value)/1000),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][0]?.value)/1000),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30][1]?.value)/1000),
"total_current_year": String(Number(i[30])) == "" ? "0.0" : String(Number(i[30].length)) > 0 ? String(Number(i[30][2]?.value)/1000) : String(i[25]),
"total_next_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][0]?.value)/1000) : String(i[26]),
"total_more_year": String(Number(i[30])) == "" ? "0.0" : (Number(i[30].length)) > 0 ? String(Number(i[30][1]?.value)/1000) : String(i[27]),
"strategic": String(i[28]),
"pic": String(i[29])
})
......
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