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
8e159d3f
Commit
8e159d3f
authored
Jan 17, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rapihin & Recheck RO
parent
e79496a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
CashFlowRO.js
src/container/RollingOutlook/CashFlowRO.js
+26
-26
No files found.
src/container/RollingOutlook/CashFlowRO.js
View file @
8e159d3f
...
@@ -447,7 +447,7 @@ export default class CashFlow extends Component {
...
@@ -447,7 +447,7 @@ export default class CashFlow extends Component {
if
(
indexID
!==
-
1
)
{
if
(
indexID
!==
-
1
)
{
let
valuezz
=
tableMeta
.
rowData
[
data
].
formula
[
indexID
].
value
let
valuezz
=
tableMeta
.
rowData
[
data
].
formula
[
indexID
].
value
if
(
tableMeta
.
rowData
[
5
]
==
"Cash at the beginning period"
)
{
if
(
tableMeta
.
rowData
[
5
]
==
"Cash at the beginning period"
)
{
let
valuezzz
=
dataTable2
[
tableMeta
.
rowIndex
+
1
][
19
]
let
valuezzz
=
dataTable2
[
tableMeta
.
rowIndex
+
1
][
20
]
forecastt
+=
Number
(
valuezzz
==
""
?
0
:
valuezzz
)
forecastt
+=
Number
(
valuezzz
==
""
?
0
:
valuezzz
)
}
else
{
}
else
{
forecastt
+=
Number
(
valuezz
==
""
?
0
:
valuezz
)
forecastt
+=
Number
(
valuezz
==
""
?
0
:
valuezz
)
...
@@ -462,7 +462,7 @@ export default class CashFlow extends Component {
...
@@ -462,7 +462,7 @@ export default class CashFlow extends Component {
if
(
indexID
!==
-
1
)
{
if
(
indexID
!==
-
1
)
{
let
valuezz
=
forecast
[
indexID
].
value
let
valuezz
=
forecast
[
indexID
].
value
if
(
tableMeta
.
rowData
[
5
]
==
"Cash at the beginning period"
)
{
if
(
tableMeta
.
rowData
[
5
]
==
"Cash at the beginning period"
)
{
let
valuezzz
=
dataTable2
[
tableMeta
.
rowIndex
+
1
][
2
0
]
let
valuezzz
=
dataTable2
[
tableMeta
.
rowIndex
+
1
][
2
1
]
forecastt
+=
Number
(
valuezzz
==
""
?
0
:
valuezzz
)
forecastt
+=
Number
(
valuezzz
==
""
?
0
:
valuezzz
)
}
else
{
}
else
{
forecastt
+=
Number
(
valuezz
==
""
?
0
:
valuezz
)
forecastt
+=
Number
(
valuezz
==
""
?
0
:
valuezz
)
...
@@ -839,7 +839,7 @@ export default class CashFlow extends Component {
...
@@ -839,7 +839,7 @@ export default class CashFlow extends Component {
<
div
className
=
"column-4"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
padding
:
5
,
borderRight
:
"1px #fff solid"
,
backgroundColor
:
'#07a7d0'
}}
>
<
div
className
=
"column-4"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
padding
:
5
,
borderRight
:
"1px #fff solid"
,
backgroundColor
:
'#07a7d0'
}}
>
<
span
>
{
"12"
}
<
/span
>
<
span
>
{
"12"
}
<
/span
>
<
/div
>
<
/div
>
<
div
className
=
"column-5"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
padding
:
5
,
b
orderRight
:
"1px #fff solid"
,
b
ackgroundColor
:
'#07a7d0'
,
width
:
110
}}
>
<
div
className
=
"column-5"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
padding
:
5
,
backgroundColor
:
'#07a7d0'
,
width
:
110
}}
>
<
span
>
{
"Current Total"
}
<
/span
>
<
span
>
{
"Current Total"
}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -883,7 +883,7 @@ export default class CashFlow extends Component {
...
@@ -883,7 +883,7 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q1' || this.props.quarter === 'q2' || this.props.quarter === 'q3' ? null :
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
6
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
6
],
tableMeta
,
6
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
6
],
tableMeta
,
6
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
6
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
6
],
tableMeta
,
6
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
6
],
tableMeta
,
6
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
//pengambilan dari monthly report: (Number(tableMeta.rowData[6].value).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[6].value).toFixed(1) <= Number(this.state.maxValue)) ?
//pengambilan dari monthly report: (Number(tableMeta.rowData[6].value).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[6].value).toFixed(1) <= Number(this.state.maxValue)) ?
<
NumberFormat
<
NumberFormat
...
@@ -927,7 +927,7 @@ export default class CashFlow extends Component {
...
@@ -927,7 +927,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-2"
>
<
div
className
=
"col-2"
style
=
{{
left
:
14
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -959,7 +959,7 @@ export default class CashFlow extends Component {
...
@@ -959,7 +959,7 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q1' || this.props.quarter === 'q2' || this.props.quarter === 'q3' ? null :
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
7
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
7
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
//validasi jika pengambilan dari monthly report: (Number(tableMeta.rowData[7].value).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[7].value).toFixed(1) <= Number(this.state.maxValue)) ?
//validasi jika pengambilan dari monthly report: (Number(tableMeta.rowData[7].value).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[7].value).toFixed(1) <= Number(this.state.maxValue)) ?
<
NumberFormat
<
NumberFormat
...
@@ -1002,7 +1002,7 @@ export default class CashFlow extends Component {
...
@@ -1002,7 +1002,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-3"
>
<
div
className
=
"col-3"
style
=
{{
left
:
26
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1033,7 +1033,7 @@ export default class CashFlow extends Component {
...
@@ -1033,7 +1033,7 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q1' || this.props.quarter === 'q2' || this.props.quarter === 'q3' ? null :
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
8
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
8
],
tableMeta
,
13
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
8
],
tableMeta
,
8
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
8
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
8
],
tableMeta
,
13
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
8
],
tableMeta
,
8
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
//pengambilan dari monthly report: (Number(tableMeta.rowData[8].value).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[8].value).toFixed(1) <= Number(this.state.maxValue)) ?
//pengambilan dari monthly report: (Number(tableMeta.rowData[8].value).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[8].value).toFixed(1) <= Number(this.state.maxValue)) ?
<
NumberFormat
<
NumberFormat
...
@@ -1076,7 +1076,7 @@ export default class CashFlow extends Component {
...
@@ -1076,7 +1076,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-4"
>
<
div
className
=
"col-4"
style
=
{{
left
:
42
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1108,7 +1108,7 @@ export default class CashFlow extends Component {
...
@@ -1108,7 +1108,7 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q2' || this.props.quarter === 'q3' ? null :
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
9
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
9
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))?
//sebelumnya: ((this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter != 'q1' ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)) <= Number(this.state.maxValue)) ?
//sebelumnya: ((this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter != 'q1' ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)) <= Number(this.state.maxValue)) ?
<
NumberFormat
<
NumberFormat
...
@@ -1153,7 +1153,7 @@ export default class CashFlow extends Component {
...
@@ -1153,7 +1153,7 @@ export default class CashFlow extends Component {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"grid grid-4x content-center"
>
<
div
className
=
"grid grid-4x content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
style
=
{{
left
:
54
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1185,7 +1185,7 @@ export default class CashFlow extends Component {
...
@@ -1185,7 +1185,7 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q2' || this.props.quarter === 'q3' ? null :
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
10
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
10
],
tableMeta
,
9
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
10
],
tableMeta
,
10
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
10
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
10
],
tableMeta
,
9
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
10
],
tableMeta
,
10
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))?
// ((this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[10].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[10], tableMeta, 10)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter != 'q1' ? Number(tableMeta.rowData[10].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[10], tableMeta, 10)).toFixed(1)) <= Number(this.state.maxValue)) ?
// ((this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[10].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[10], tableMeta, 10)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter != 'q1' ? Number(tableMeta.rowData[10].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[10], tableMeta, 10)).toFixed(1)) <= Number(this.state.maxValue)) ?
<
NumberFormat
<
NumberFormat
...
@@ -1228,7 +1228,7 @@ export default class CashFlow extends Component {
...
@@ -1228,7 +1228,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-2"
>
<
div
className
=
"col-2"
style
=
{{
left
:
70
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1260,8 +1260,8 @@ export default class CashFlow extends Component {
...
@@ -1260,8 +1260,8 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q2' || this.props.quarter === 'q3' ? null :
// ((this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[11].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[11], tableMeta, 11)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter != 'q1' ? Number(tableMeta.rowData[11].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[11], tableMeta, 11)).toFixed(1)) <= Number(this.state.maxValue)) ?
//
// ((this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[11].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[11], tableMeta, 11)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter != 'q1' ? Number(tableMeta.rowData[11].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[11], tableMeta, 11)).toFixed(1)) <= Number(this.state.maxValue)) ?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
11
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
11
],
tableMeta
,
11
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
11
],
tableMeta
,
11
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
11
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
11
],
tableMeta
,
11
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
11
],
tableMeta
,
11
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
<
NumberFormat
thousandSeparator
=
{
true
}
thousandSeparator
=
{
true
}
...
@@ -1303,7 +1303,7 @@ export default class CashFlow extends Component {
...
@@ -1303,7 +1303,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-3"
>
<
div
className
=
"col-3"
style
=
{{
left
:
70
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1335,8 +1335,8 @@ export default class CashFlow extends Component {
...
@@ -1335,8 +1335,8 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q3' ? null :
// ((this.props.quarter == 'q3' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[12].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[12], tableMeta, 12)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter == 'q3' ? Number(tableMeta.rowData[12].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[12], tableMeta, 12)).toFixed(1)) <= Number(this.state.maxValue)) ?
//
// ((this.props.quarter == 'q3' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[12].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[12], tableMeta, 12)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter == 'q3' ? Number(tableMeta.rowData[12].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[12], tableMeta, 12)).toFixed(1)) <= Number(this.state.maxValue)) ?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
12
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
12
],
tableMeta
,
12
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
12
],
tableMeta
,
12
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
12
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
12
],
tableMeta
,
12
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
12
],
tableMeta
,
12
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
<
NumberFormat
thousandSeparator
=
{
true
}
thousandSeparator
=
{
true
}
...
@@ -1378,7 +1378,7 @@ export default class CashFlow extends Component {
...
@@ -1378,7 +1378,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-4"
>
<
div
className
=
"col-4"
style
=
{{
left
:
70
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1410,8 +1410,8 @@ export default class CashFlow extends Component {
...
@@ -1410,8 +1410,8 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q3' ? null :
// ((this.props.quarter == 'q3' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[13].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[13], tableMeta, 13)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter == 'q3' ? Number(tableMeta.rowData[13].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[13], tableMeta, 13)).toFixed(1)) <= Number(this.state.maxValue)) ?
//
// ((this.props.quarter == 'q3' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[13].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[13], tableMeta, 13)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter == 'q3' ? Number(tableMeta.rowData[13].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[13], tableMeta, 13)).toFixed(1)) <= Number(this.state.maxValue)) ?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
13
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
13
],
tableMeta
,
13
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
13
],
tableMeta
,
13
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
13
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
13
],
tableMeta
,
13
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
13
],
tableMeta
,
13
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
<
NumberFormat
thousandSeparator
=
{
true
}
thousandSeparator
=
{
true
}
...
@@ -1455,7 +1455,7 @@ export default class CashFlow extends Component {
...
@@ -1455,7 +1455,7 @@ export default class CashFlow extends Component {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"grid grid-5x content-center"
>
<
div
className
=
"grid grid-5x content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
style
=
{{
left
:
70
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1487,7 +1487,7 @@ export default class CashFlow extends Component {
...
@@ -1487,7 +1487,7 @@ export default class CashFlow extends Component {
/
>
/
>
:
:
tableMeta
.
rowData
[
0
]
===
7
?
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q3'
?
null
:
//
this.props.quarter === 'q3' ? null :
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
14
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
14
],
tableMeta
,
14
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
14
],
tableMeta
,
14
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
14
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
14
],
tableMeta
,
14
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
14
],
tableMeta
,
14
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
// ((this.props.quarter == 'q3' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[14].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[14], tableMeta, 14)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter == 'q3' ? Number(tableMeta.rowData[14].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[14], tableMeta, 14)).toFixed(1)) <= Number(this.state.maxValue)) ?
// ((this.props.quarter == 'q3' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[14].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[14], tableMeta, 14)).toFixed(1)) >= Number(this.state.minValue) && (this.props.quarter == 'q3' ? Number(tableMeta.rowData[14].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[14], tableMeta, 14)).toFixed(1)) <= Number(this.state.maxValue)) ?
<
NumberFormat
<
NumberFormat
...
@@ -1530,7 +1530,7 @@ export default class CashFlow extends Component {
...
@@ -1530,7 +1530,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-2"
>
<
div
className
=
"col-2"
style
=
{{
left
:
70
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1599,7 +1599,7 @@ export default class CashFlow extends Component {
...
@@ -1599,7 +1599,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-3"
>
<
div
className
=
"col-3"
style
=
{{
left
:
50
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
null
...
@@ -1668,7 +1668,7 @@ export default class CashFlow extends Component {
...
@@ -1668,7 +1668,7 @@ export default class CashFlow extends Component {
null
null
}
}
<
/div
>
<
/div
>
<
div
className
=
"col-4"
>
<
div
className
=
"col-4"
style
=
{{
left
:
40
}}
>
{
{
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
0
]
===
3
||
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
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