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
a71cced5
Commit
a71cced5
authored
Jun 14, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cashflow sum
parent
11608abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
SubHolding.js
src/container/Laporan/SubHolding.js
+6
-6
No files found.
src/container/Laporan/SubHolding.js
View file @
a71cced5
...
...
@@ -1974,7 +1974,7 @@ export default class SubHolding extends Component {
}
let
quarter_actual
=
item
.
cash_flow
.
quarter_actual
==
''
?
0
:
Number
(
item
.
cash_flow
.
quarter_actual
)
let
quarter
=
item
.
cash_flow
.
quarter
==
''
?
0
:
Number
(
item
.
cash_flow
.
quarter
)
let
quarter
=
item
.
cash_flow
.
quarter
_mb
==
''
?
0
:
Number
(
item
.
cash_flow
.
quarter_mb
)
// let persenQuarter = Number(quarter_actual / quarter)
let
persenQuarter
=
0
if
(
quarter
<
0
)
{
...
...
@@ -2015,8 +2015,8 @@ export default class SubHolding extends Component {
// isNaN(persenYtd)? 0 : persenYtd * 100,
item
.
cash_flow
.
ytd_last_year
,
item
.
cash_flow
.
quarter_actual
,
item
.
cash_flow
.
quarter
,
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
),
item
.
cash_flow
.
quarter
_mb
,
isNaN
(
persenQuarter
)
||
persenQuarter
==
'Infinity'
||
persenQuarter
==
'-Infinity'
?
(
item
.
cash_flow
.
quarter
_mb
==
''
||
item
.
cash_flow
.
quarter_mb
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
quarter_mb
==
''
||
item
.
cash_flow
.
quarter_mb
==
0
?
persenQuarter
*
-
100
:
persenQuarter
*
100
),
// isNaN(persenQuarter)? 0 : persenQuarter * 100,
item
.
cash_flow
.
quarter_last_year
,
item
.
cash_flow
.
fy_actual
,
...
...
@@ -2067,7 +2067,7 @@ export default class SubHolding extends Component {
}
let
quarter_actual
=
item
.
cash_flow
.
quarter_actual
==
''
?
0
:
Number
(
item
.
cash_flow
.
quarter_actual
)
let
quarter
=
item
.
cash_flow
.
quarter
==
''
?
0
:
Number
(
item
.
cash_flow
.
quarter
)
let
quarter
=
item
.
cash_flow
.
quarter
_mb
==
''
?
0
:
Number
(
item
.
cash_flow
.
quarter_mb
)
// let persenQuarter = Number(quarter_actual / quarter)
let
persenQuarter
=
0
if
(
quarter
<
0
)
{
...
...
@@ -2108,8 +2108,8 @@ export default class SubHolding extends Component {
// isNaN(persenYtd)? 0 : persenYtd * 100,
item
.
cash_flow
.
ytd_last_year
,
item
.
cash_flow
.
quarter_actual
,
item
.
cash_flow
.
quarter
,
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
),
item
.
cash_flow
.
quarter
_mb
,
isNaN
(
persenQuarter
)
||
persenQuarter
==
'Infinity'
||
persenQuarter
==
'-Infinity'
?
(
item
.
cash_flow
.
quarter
_mb
==
''
||
item
.
cash_flow
.
quarter_mb
==
0
?
-
0
:
0
)
:
(
item
.
cash_flow
.
quarter_mb
==
''
||
item
.
cash_flow
.
quarter_mb
==
0
?
persenQuarter
*
-
100
:
persenQuarter
*
100
),
// isNaN(persenQuarter)? 0 : persenQuarter * 100,
item
.
cash_flow
.
quarter_last_year
,
item
.
cash_flow
.
fy_actual
,
...
...
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