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'; ...@@ -8,6 +8,7 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
import { titleCase } from '../library/Utils'; import { titleCase } from '../library/Utils';
import ProfitLoss from './BudgetTahunan/ProfitLoss'; import ProfitLoss from './BudgetTahunan/ProfitLoss';
import TaxPlanning from './BudgetTahunan/TaxPlanning'; import TaxPlanning from './BudgetTahunan/TaxPlanning';
import FixedAssetsMovement from './BudgetTahunan/FixedAssetsMovement';
export default class BudgetTahunan extends Component { export default class BudgetTahunan extends Component {
constructor(props) { constructor(props) {
...@@ -21,7 +22,8 @@ export default class BudgetTahunan extends Component { ...@@ -21,7 +22,8 @@ export default class BudgetTahunan extends Component {
listCompany: null, listCompany: null,
company: null, company: null,
report_id: null, report_id: null,
visiblePL: false visiblePL: false,
visibleFAM: false
} }
} }
...@@ -99,6 +101,15 @@ export default class BudgetTahunan extends Component { ...@@ -99,6 +101,15 @@ export default class BudgetTahunan extends Component {
visibleFAM: false, visibleFAM: false,
visibleTP: true 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 { ...@@ -296,6 +307,9 @@ export default class BudgetTahunan extends Component {
{this.state.visibleTP && ( {this.state.visibleTP && (
<TaxPlanning /> <TaxPlanning />
)} )}
{this.state.visibleFAM && (
<FixedAssetsMovement />
)}
</div > </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