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
c58c9058
Commit
c58c9058
authored
Mar 15, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue Formula Should be Nil
parent
d90f2dde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
CashFlowRO.js
src/container/RollingOutlook/CashFlowRO.js
+6
-3
No files found.
src/container/RollingOutlook/CashFlowRO.js
View file @
c58c9058
...
...
@@ -416,6 +416,9 @@ export default class CashFlow extends Component {
baru
.
map
((
item
,
index
)
=>
{
if
(
item
==
'-'
||
item
==
'+'
||
item
==
'/'
||
item
==
'*'
||
item
==
'('
||
item
==
')'
)
{
anjay
.
push
(
item
)
if
(
tableMeta
.
rowData
[
5
]
==
"Control (should be nil)"
)
{
console
.
log
(
anjay
);
}
}
else
{
if
(
String
(
item
).
includes
(
'#'
))
{
if
(
String
(
item
).
includes
(
'[M-1]'
))
{
...
...
@@ -735,7 +738,7 @@ export default class CashFlow extends Component {
// console.log(cashOfTheEndFy);
// console.log(cahsOfTheEndDec);
let
value
=
Number
(
cashOfTheEndFy
)
-
Number
(
cahsOfTheEndDec
);
console
.
log
(
value
);
//
console.log(value);
return
R
.
equals
(
value
,
NaN
)
?
"0.0"
:
(
R
.
equals
(
value
,
Infinity
)
?
"0.0"
:
(
value
==
"-Infinity"
?
"0.0"
:
value
))
}
else
{
dataTable2
[
tableMeta
.
rowIndex
][
18
]
=
total
...
...
@@ -1063,7 +1066,7 @@ export default class CashFlow extends Component {
:
tableMeta
.
rowData
[
0
]
===
7
?
// 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
,
8
)).
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1215,7 +1218,7 @@ export default class CashFlow extends Component {
:
tableMeta
.
rowData
[
0
]
===
7
?
// 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
,
10
)).
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
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