Commit 0f833907 authored by Riri Novita's avatar Riri Novita

Merge branch 'dev-riri' into 'ENV-DEV'

Issue Prod CAT

See merge request !2321
parents 1ac4c4bc 2cc615fb
...@@ -677,7 +677,7 @@ export default class CorporateAnnualTarget extends Component { ...@@ -677,7 +677,7 @@ export default class CorporateAnnualTarget extends Component {
}) })
let body = { let body = {
"report_id": this.props.report_id, "report_id": this.props.report_id,
// "revision": Number(this.props.revision), // "revision": Number(this.props.revision),
"periode": this.props.periode, "periode": this.props.periode,
"company_id": this.props.company.company_id, "company_id": this.props.company.company_id,
"submission_id": this.props.submissionID, "submission_id": this.props.submissionID,
...@@ -1467,6 +1467,8 @@ export default class CorporateAnnualTarget extends Component { ...@@ -1467,6 +1467,8 @@ export default class CorporateAnnualTarget extends Component {
}) })
if (valz == 'FORMULA') { if (valz == 'FORMULA') {
dataTable2[tableMeta.rowIndex][0] = 5 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))) 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