Commit 73a2cbf6 authored by r.kurnia's avatar r.kurnia

update lastperiod mb

parent d755563b
......@@ -430,6 +430,7 @@ export default class BudgetTahunan extends Component {
}
getLastPeriod() {
this.setState({ loading: false })
api.create().getLastPeriod(this.state.company.company_id).then(response => {
// // console.log(response);
if (response.data.status === "success") {
......@@ -2659,7 +2660,8 @@ export default class BudgetTahunan extends Component {
disabled={this.state.listCompany === null ? true : this.state.intent === 'Home' ? true : false}
onChange={(event, newInputValue) => this.setState({ company: newInputValue }, () => {
this.setState({ visibleTableHistory: false })
this.getRevision()
this.getLastPeriod()
// this.getRevision()
})}
disableClearable
style={{ width: 250 }}
......
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