Commit f7cccef6 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

tp bug

See merge request !890
parents 7a914cd6 7e4195e5
......@@ -67,7 +67,6 @@ export default class TaxPlanningMR extends Component {
}
handleGetFor(type) {
console.log(type)
this.setState({get_for: type}, () => {
this.getSettingControl()
this.getLatestUpdate()
......@@ -82,8 +81,6 @@ export default class TaxPlanningMR extends Component {
}
api.create().getAllSettingByType(body).then(response => {
console.log(body);
console.log(response);
if (response.data) {
if (response.data.status === 'success') {
this.setState({
......@@ -132,8 +129,6 @@ export default class TaxPlanningMR extends Component {
}
getItemHierarki() {
console.log("masuk hierarki")
console.log(this.state.get_for)
this.setState({ loading: true, judulColumn: null })
let payload = {
"report_id": this.props.report_id,
......@@ -608,7 +603,7 @@ export default class TaxPlanningMR extends Component {
anjay.push(valuezz == "" ? 0 : valuezz)
}
} else {
let data = tableMeta.rowData[12]
let data = tableMeta.rowData[12] === null ? [] : tableMeta.rowData[12]
let indexID = data.findIndex((val) => val.item_formula == String(`@${item}`) && val.periode == Number(this.props.periode))
if (indexID !== -1) {
let valuezz = data[indexID].value
......
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