Commit dcea738a authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

update lastperiod mb

See merge request !1555
parents d755563b 73a2cbf6
......@@ -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