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
249c9ab9
Commit
249c9ab9
authored
Mar 25, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RO : tp cf
parent
d26a3dc9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3318 additions
and
531 deletions
+3318
-531
RollingOutlook.js
src/container/RollingOutlook.js
+35
-0
CashFlowRO.js
src/container/RollingOutlook/CashFlowRO.js
+3232
-0
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+51
-531
No files found.
src/container/RollingOutlook.js
View file @
249c9ab9
...
...
@@ -17,6 +17,7 @@ import BalanceSheetRO from './RollingOutlook/BalanceSheetRO';
import
ProfitLossRO
from
'./RollingOutlook/ProfitLossRO'
;
import
TaxPlanningRO
from
'./RollingOutlook/TaxPlanningRO'
;
import
CatRevision
from
'./RollingOutlook/CatRevision'
;
import
CashFlowRO
from
'./RollingOutlook/CashFlowRO'
;
var
ct
=
require
(
"../library/CustomTable"
);
const
getMuiTheme
=
()
=>
createMuiTheme
(
ct
.
customTable
());
...
...
@@ -41,6 +42,7 @@ export default class RollingOutlook extends Component {
visiblePL
:
false
,
visibleTP
:
false
,
visibleCAT
:
false
,
visibleCF
:
false
,
listAttachment
:
[],
visibleUpload
:
false
,
revisionTable
:
null
,
...
...
@@ -647,6 +649,7 @@ export default class RollingOutlook extends Component {
visiblePL
:
false
,
visibleCAT
:
false
,
visibleTP
:
false
,
visibleCF
:
false
,
})
}
else
if
(
item
===
'Profit Loss'
)
{
this
.
setState
({
...
...
@@ -655,6 +658,16 @@ export default class RollingOutlook extends Component {
visiblePL
:
true
,
visibleCAT
:
false
,
visibleTP
:
false
,
visibleCF
:
false
,
})
}
else
if
(
item
===
'Cash Flow'
)
{
this
.
setState
({
visibleRollingOutlook
:
false
,
visibleBS
:
false
,
visiblePL
:
false
,
visibleCAT
:
false
,
visibleTP
:
false
,
visibleCF
:
true
,
})
}
else
if
(
item
===
'Tax Planning'
)
{
this
.
setState
({
...
...
@@ -663,6 +676,7 @@ export default class RollingOutlook extends Component {
visiblePL
:
false
,
visibleCAT
:
false
,
visibleTP
:
true
,
visibleCF
:
false
,
})
}
else
if
(
item
===
'CAT'
)
{
this
.
setState
({
...
...
@@ -671,6 +685,7 @@ export default class RollingOutlook extends Component {
visiblePL
:
false
,
visibleCAT
:
true
,
visibleTP
:
false
,
visibleCF
:
false
,
})
}
})
...
...
@@ -1480,6 +1495,26 @@ export default class RollingOutlook extends Component {
/
>
)}
{
this
.
state
.
visibleCF
&&
(
<
CashFlowRO
width
=
{
this
.
props
.
width
}
height
=
{
this
.
props
.
height
}
open
=
{
this
.
props
.
open
}
report_id
=
{
this
.
state
.
report_id
}
company
=
{
this
.
state
.
company
}
revision
=
{
this
.
state
.
revisionTable
}
periode
=
{
this
.
state
.
periode
.
periode
}
rollingOutlookID
=
{
this
.
state
.
rollingOutlookID
}
onClickClose
=
{()
=>
this
.
setState
({
visibleCF
:
false
,
visibleRollingOutlook
:
true
})}
refresh
=
{
this
.
getRollingOutlookID
.
bind
(
this
)}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
state
.
lastStatus
}
quarter
=
{
this
.
state
.
quarter
.
value
}
isApprover
=
{
this
.
state
.
isApprover
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
/
>
)}
{
this
.
state
.
visibleCAT
&&
(
<
CatRevision
width
=
{
this
.
props
.
width
}
...
...
src/container/RollingOutlook/CashFlowRO.js
0 → 100644
View file @
249c9ab9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/container/RollingOutlook/TaxPlanningRO.js
View file @
249c9ab9
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