Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
ef8c2ffd
Commit
ef8c2ffd
authored
Aug 24, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'faisal' into 'master'
budget tahunan - FAM See merge request
!165
parents
3125ccae
84e126db
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
317 additions
and
1 deletion
+317
-1
BudgetTahunan.js
src/container/BudgetTahunan.js
+15
-1
FixedAssetsMovement.js
src/container/BudgetTahunan/FixedAssetsMovement.js
+302
-0
No files found.
src/container/BudgetTahunan.js
View file @
ef8c2ffd
...
@@ -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
>
);
);
}
}
...
...
src/container/BudgetTahunan/FixedAssetsMovement.js
0 → 100644
View file @
ef8c2ffd
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment