Commit 38e986ed authored by Riri Novita's avatar Riri Novita

Issue Prod CAT

parent fc43cc4a
......@@ -677,7 +677,7 @@ export default class CorporateAnnualTarget extends Component {
})
let body = {
"report_id": this.props.report_id,
// "revision": Number(this.props.revision),
// "revision": Number(this.props.revision),
"periode": this.props.periode,
"company_id": this.props.company.company_id,
"submission_id": this.props.submissionID,
......@@ -1467,6 +1467,8 @@ export default class CorporateAnnualTarget extends Component {
})
if (valz == 'FORMULA') {
dataTable2[tableMeta.rowIndex][0] = 5
} else {
dataTable2[tableMeta.rowIndex][0] = 3
}
dataTable2[tableMeta.rowIndex][25] = valz == 'FORMULA' ? 0 : ((valz == 'SUM' ? total : (valz == 'AVG' ? (total / 12) : lastValz)))
}
......
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