Commit c5b1de80 authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni' into 'master'

Deni

See merge request !599
parents a1992c3b 1f1f4339
...@@ -179,7 +179,7 @@ export default class BudgetTahunan extends Component { ...@@ -179,7 +179,7 @@ export default class BudgetTahunan extends Component {
let dataTable = response.data.data.map((item, index) => { let dataTable = response.data.data.map((item, index) => {
return [ return [
item.number, item.number,
item.report_name, item.report_name === 'CAT' ? 'Corporate Annual Target' : item.report_name,
item.revision, item.revision,
this.state.lastStatus === 'APPROVED' ? 'CLOSED' : this.state.isSubmit === false ? "CLOSED" : item.current_status, this.state.lastStatus === 'APPROVED' ? 'CLOSED' : this.state.isSubmit === false ? "CLOSED" : item.current_status,
item.report_id, item.report_id,
...@@ -509,7 +509,7 @@ export default class BudgetTahunan extends Component { ...@@ -509,7 +509,7 @@ export default class BudgetTahunan extends Component {
visibleTP: false, visibleTP: false,
visibleCF: false, visibleCF: false,
}) })
} else if (item === 'CAT') { } else if (item === 'Corporate Annual Target') {
this.setState({ this.setState({
visibleBudgetTahunan: false, visibleBudgetTahunan: false,
visibleBS: false, visibleBS: false,
......
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