Commit e2f31d99 authored by Rifka Kurnia Irfiana's avatar Rifka Kurnia Irfiana

issue tp

parent ba03fa49
...@@ -184,6 +184,7 @@ export default class TaxPlanning extends Component { ...@@ -184,6 +184,7 @@ export default class TaxPlanning extends Component {
} }
} }
}) })
// console.log(dataTable)
this.setState({ dataTable, loading: false, buttonError: true, editable: true }) this.setState({ dataTable, loading: false, buttonError: true, editable: true })
} else { } else {
this.setState({ dataTable, loading: false, buttonError: true, editable: true }) this.setState({ dataTable, loading: false, buttonError: true, editable: true })
...@@ -551,12 +552,12 @@ export default class TaxPlanning extends Component { ...@@ -551,12 +552,12 @@ export default class TaxPlanning extends Component {
total_current_year: String(Number(i[21]).toFixed(1)), total_current_year: String(Number(i[21]).toFixed(1)),
total_next_year: { total_next_year: {
tbc: String(Number(i[22].tbc).toFixed(1)), tbc: String(Number(i[22].tbc).toFixed(1)),
fcp: String(Number(i[22].fcp).toFixed(1)), fcp: String(i[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? String(Number(i[22].fcp).toFixed(2)) : String(Number(i[22].fcp).toFixed(1)),
tbf: String(Number(i[22].tbf).toFixed(1)) tbf: String(Number(i[22].tbf).toFixed(1))
}, },
total_more_year: { total_more_year: {
tbc: String(Number(i[23].tbc).toFixed(1)), tbc: String(Number(i[23].tbc).toFixed(1)),
fcp: String(Number(i[23].fcp).toFixed(1)), fcp: String(i[8]).toLocaleUpperCase() == "CORPORATE INCOME TAX" ? String(Number(i[23].fcp).toFixed(2)) : String(Number(i[23].fcp).toFixed(1)),
tbf: String(Number(i[23].tbf).toFixed(1)) tbf: String(Number(i[23].tbf).toFixed(1))
} }
}) })
...@@ -6122,7 +6123,7 @@ export default class TaxPlanning extends Component { ...@@ -6122,7 +6123,7 @@ export default class TaxPlanning extends Component {
onBlur={(event) => { onBlur={(event) => {
// updateValue(event.target.value) // updateValue(event.target.value)
handleChange(event.target.value, tableMeta, 1) handleChange(event.target.value, tableMeta, 1)
// // console.log(dataTable2) // console.log(dataTable2)
}} }}
/> />
......
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