Commit 1f00a5fa authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

ngisue tofixed tp

See merge request !990
parents 544ddae8 f214106e
...@@ -776,7 +776,7 @@ export default class TaxPlanningMR extends Component { ...@@ -776,7 +776,7 @@ export default class TaxPlanningMR extends Component {
} }
} }
return Number(total).toFixed(1) return tableMeta.rowData[8] == "Corporate Income Tax" ? Number(total).toFixed(2) : Number(total).toFixed(1)
} }
const handleChange = (value, tableMeta, indexChilds) => { const handleChange = (value, tableMeta, indexChilds) => {
...@@ -814,7 +814,7 @@ export default class TaxPlanningMR extends Component { ...@@ -814,7 +814,7 @@ export default class TaxPlanningMR extends Component {
} }
}) })
dataTable2[tableMeta.rowIndex][10] = Number(total).toFixed(1) dataTable2[tableMeta.rowIndex][10] = Number(total)
return total return total
} }
......
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