Commit 65b985a1 authored by d.arizona's avatar d.arizona

update

parent 91a9b6b9
......@@ -535,7 +535,7 @@ export default class BudgetTahunan extends Component {
this.getLatestPeriodSubmit()
// this.getCashFlow(type)
// this.getPL(type)
if (type != undefined) {
if (type != undefined && type == 'PL') {
// this.getCashFlow(type)
this.getPL(type)
} else {
......@@ -2525,7 +2525,7 @@ export default class BudgetTahunan extends Component {
</div>
);
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()}>
<Alert onClose={() => this.closeAlert()} severity={this.state.tipeAlert}>
{this.state.messageAlert}
......
......@@ -626,7 +626,7 @@ export default class MonthlyReport extends Component {
this.historyApproval()
this.getLatestPeriodSubmit()
// this.getPL(type)
if (type != undefined) {
if (type != undefined && type == 'PL') {
this.getPL(type)
} else {
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