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
b93d186b
Commit
b93d186b
authored
Jan 26, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
d5e4e418
42787e27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
SubHolding.js
src/container/Laporan/SubHolding.js
+14
-8
No files found.
src/container/Laporan/SubHolding.js
View file @
b93d186b
...
@@ -985,19 +985,22 @@ export default class SubHolding extends Component {
...
@@ -985,19 +985,22 @@ export default class SubHolding extends Component {
item
.
id
,
item
.
id
,
item
.
cash_flow
.
mtd_actual
,
item
.
cash_flow
.
mtd_actual
,
item
.
cash_flow
.
mtd
,
item
.
cash_flow
.
mtd
,
isNaN
(
persenMtd
)
?
0
:
persenMtd
*
100
,
isNaN
(
persenMtd
)
||
persenMtd
==
'Infinity'
||
persenMtd
==
'-Infinity'
?
(
item
.
cash_flow
.
mtd
==
''
||
item
.
cash_flow
.
mtd
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
mtd
==
''
||
item
.
cash_flow
.
mtd
==
0
?
persenMtd
*
-
100
:
persenMtd
*
100
)
,
item
.
cash_flow
.
mtd_last_year
,
item
.
cash_flow
.
mtd_last_year
,
item
.
cash_flow
.
ytd_actual
,
item
.
cash_flow
.
ytd_actual
,
item
.
cash_flow
.
ytd
,
item
.
cash_flow
.
ytd
,
isNaN
(
persenYtd
)?
0
:
persenYtd
*
100
,
isNaN
(
persenYtd
)
||
persenYtd
==
'Infinity'
||
persenYtd
==
'-Infinity'
?
(
item
.
cash_flow
.
ytd
==
''
||
item
.
cash_flow
.
ytd
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
ytd
==
''
||
item
.
cash_flow
.
ytd
==
0
?
persenYtd
*
-
100
:
persenYtd
*
100
),
// isNaN(persenYtd)? 0 : persenYtd * 100,
item
.
cash_flow
.
ytd_last_year
,
item
.
cash_flow
.
ytd_last_year
,
item
.
cash_flow
.
quarter_actual
,
item
.
cash_flow
.
quarter_actual
,
item
.
cash_flow
.
quarter
,
item
.
cash_flow
.
quarter
,
isNaN
(
persenQuarter
)?
0
:
persenQuarter
*
100
,
isNaN
(
persenQuarter
)
||
persenQuarter
==
'Infinity'
||
persenQuarter
==
'-Infinity'
?
(
item
.
cash_flow
.
quarter
==
''
||
item
.
cash_flow
.
quarter
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
quarter
==
''
||
item
.
cash_flow
.
quarter
==
0
?
persenQuarter
*
-
100
:
persenQuarter
*
100
),
// isNaN(persenQuarter)? 0 : persenQuarter * 100,
item
.
cash_flow
.
quarter_last_year
,
item
.
cash_flow
.
quarter_last_year
,
item
.
cash_flow
.
fy_actual
,
item
.
cash_flow
.
fy_actual
,
item
.
cash_flow
.
fy
,
item
.
cash_flow
.
fy
,
isNaN
(
persenFy
)?
0
:
persenFy
*
100
,
isNaN
(
persenFy
)
||
persenFy
==
'Infinity'
||
persenFy
==
'-Infinity'
?
(
item
.
cash_flow
.
fy
==
''
||
item
.
cash_flow
.
fy
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
fy
==
''
||
item
.
cash_flow
.
fy
==
0
?
persenFy
*
-
100
:
persenFy
*
100
),
// isNaN(persenFy)? 0 : persenFy * 100,
item
.
cash_flow
.
fy_last_year
,
item
.
cash_flow
.
fy_last_year
,
])
])
}
}
...
@@ -1030,19 +1033,22 @@ export default class SubHolding extends Component {
...
@@ -1030,19 +1033,22 @@ export default class SubHolding extends Component {
item
.
id
,
item
.
id
,
item
.
cash_flow
.
mtd_actual
,
item
.
cash_flow
.
mtd_actual
,
item
.
cash_flow
.
mtd
,
item
.
cash_flow
.
mtd
,
isNaN
(
persenMtd
)
?
0
:
persenMtd
*
100
,
isNaN
(
persenMtd
)
||
persenMtd
==
'Infinity'
||
persenMtd
==
'-Infinity'
?
(
item
.
cash_flow
.
mtd
==
''
||
item
.
cash_flow
.
mtd
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
mtd
==
''
||
item
.
cash_flow
.
mtd
==
0
?
persenMtd
*
-
100
:
persenMtd
*
100
)
,
item
.
cash_flow
.
mtd_last_year
,
item
.
cash_flow
.
mtd_last_year
,
item
.
cash_flow
.
ytd_actual
,
item
.
cash_flow
.
ytd_actual
,
item
.
cash_flow
.
ytd
,
item
.
cash_flow
.
ytd
,
isNaN
(
persenYtd
)?
0
:
persenYtd
*
100
,
isNaN
(
persenYtd
)
||
persenYtd
==
'Infinity'
||
persenYtd
==
'-Infinity'
?
(
item
.
cash_flow
.
ytd
==
''
||
item
.
cash_flow
.
ytd
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
ytd
==
''
||
item
.
cash_flow
.
ytd
==
0
?
persenYtd
*
-
100
:
persenYtd
*
100
),
// isNaN(persenYtd)? 0 : persenYtd * 100,
item
.
cash_flow
.
ytd_last_year
,
item
.
cash_flow
.
ytd_last_year
,
item
.
cash_flow
.
quarter_actual
,
item
.
cash_flow
.
quarter_actual
,
item
.
cash_flow
.
quarter
,
item
.
cash_flow
.
quarter
,
isNaN
(
persenQuarter
)?
0
:
persenQuarter
*
100
,
isNaN
(
persenQuarter
)
||
persenQuarter
==
'Infinity'
||
persenQuarter
==
'-Infinity'
?
(
item
.
cash_flow
.
quarter
==
''
||
item
.
cash_flow
.
quarter
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
quarter
==
''
||
item
.
cash_flow
.
quarter
==
0
?
persenQuarter
*
-
100
:
persenQuarter
*
100
),
// isNaN(persenQuarter)? 0 : persenQuarter * 100,
item
.
cash_flow
.
quarter_last_year
,
item
.
cash_flow
.
quarter_last_year
,
item
.
cash_flow
.
fy_actual
,
item
.
cash_flow
.
fy_actual
,
item
.
cash_flow
.
fy
,
item
.
cash_flow
.
fy
,
isNaN
(
persenFy
)?
0
:
persenFy
*
100
,
isNaN
(
persenFy
)
||
persenFy
==
'Infinity'
||
persenFy
==
'-Infinity'
?
(
item
.
cash_flow
.
fy
==
''
||
item
.
cash_flow
.
fy
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
fy
==
''
||
item
.
cash_flow
.
fy
==
0
?
persenFy
*
-
100
:
persenFy
*
100
),
// isNaN(persenFy)? 0 : persenFy * 100,
item
.
cash_flow
.
fy_last_year
,
item
.
cash_flow
.
fy_last_year
,
])
])
if
(
item
.
children
!==
null
)
{
if
(
item
.
children
!==
null
)
{
...
...
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