Commit ef8c2ffd authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'faisal' into 'master'

budget tahunan - FAM

See merge request !165
parents 3125ccae 84e126db
......@@ -8,6 +8,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
import { titleCase } from '../library/Utils';
import ProfitLoss from './BudgetTahunan/ProfitLoss';
import TaxPlanning from './BudgetTahunan/TaxPlanning';
import FixedAssetsMovement from './BudgetTahunan/FixedAssetsMovement';
export default class BudgetTahunan extends Component {
constructor(props) {
......@@ -21,7 +22,8 @@ export default class BudgetTahunan extends Component {
listCompany: null,
company: null,
report_id: null,
visiblePL: false
visiblePL: false,
visibleFAM: false
}
}
......@@ -99,6 +101,15 @@ export default class BudgetTahunan extends Component {
visibleFAM: false,
visibleTP: true
})
} else if (item === 'Fixed Assets Movement') {
this.setState({
visibleBudgetTahunan: false,
visibleBS: false,
visiblePL: false,
visibleCAT: false,
visibleFAM: true,
visibleTP: false
})
}
}
......@@ -296,6 +307,9 @@ export default class BudgetTahunan extends Component {
{this.state.visibleTP && (
<TaxPlanning />
)}
{this.state.visibleFAM && (
<FixedAssetsMovement />
)}
</div >
);
}
......
This diff is collapsed.
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