Commit 981c5e09 authored by Dida Adams Arizona's avatar Dida Adams Arizona

Merge branch 'GGMAC' into 'master'

update

See merge request !1268
parents 37b86f73 65b985a1
...@@ -535,7 +535,7 @@ export default class BudgetTahunan extends Component { ...@@ -535,7 +535,7 @@ export default class BudgetTahunan extends Component {
this.getLatestPeriodSubmit() this.getLatestPeriodSubmit()
// this.getCashFlow(type) // this.getCashFlow(type)
// this.getPL(type) // this.getPL(type)
if (type != undefined) { if (type != undefined && type == 'PL') {
// this.getCashFlow(type) // this.getCashFlow(type)
this.getPL(type) this.getPL(type)
} else { } else {
...@@ -2525,7 +2525,7 @@ export default class BudgetTahunan extends Component { ...@@ -2525,7 +2525,7 @@ export default class BudgetTahunan extends Component {
</div> </div>
); );
return ( return (
<div style={{ flex: 1, backgroundColor: '#f8f8f8' }} ref={this.myRef}> <div style={{ flex: 1, backgroundColor: '#f8f8f8' }} >
<Snackbar open={this.state.alert} autoHideDuration={6000} onClose={() => this.closeAlert()}> <Snackbar open={this.state.alert} autoHideDuration={6000} onClose={() => this.closeAlert()}>
<Alert onClose={() => this.closeAlert()} severity={this.state.tipeAlert}> <Alert onClose={() => this.closeAlert()} severity={this.state.tipeAlert}>
{this.state.messageAlert} {this.state.messageAlert}
......
...@@ -626,7 +626,7 @@ export default class MonthlyReport extends Component { ...@@ -626,7 +626,7 @@ export default class MonthlyReport extends Component {
this.historyApproval() this.historyApproval()
this.getLatestPeriodSubmit() this.getLatestPeriodSubmit()
// this.getPL(type) // this.getPL(type)
if (type != undefined) { if (type != undefined && type == 'PL') {
this.getPL(type) this.getPL(type)
} else { } else {
this.setState({ loading: false }) this.setState({ loading: 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