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
3d393f61
Commit
3d393f61
authored
Oct 21, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update RO CF
parent
04548655
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CashFlowRO.js
src/container/RollingOutlook/CashFlowRO.js
+5
-4
No files found.
src/container/RollingOutlook/CashFlowRO.js
View file @
3d393f61
...
...
@@ -1154,7 +1154,7 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
9
].
value
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)))}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
(
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
Number
(
tableMeta
.
rowData
[
9
].
value
))
:
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
))
==
0
?
"0.0"
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)
)))}
//sebelumnya: value={this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)}
/
>
<
/span
>
...
...
@@ -1167,7 +1167,8 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
9
].
value
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)))}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
(
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
Number
(
tableMeta
.
rowData
[
9
].
value
))
:
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
))
==
0
?
"0.0"
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
))))}
// value={Number(tableMeta.rowData[9].value) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? (this.props.PLBSFAMSubmitted ? fixNumber(Number(tableMeta.rowData[9].value), 1) : fixNumber(Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)), 1)) : (this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)))}
//sebelumnya: value={this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)}
/
>
:
...
...
@@ -1189,7 +1190,7 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
9
].
value
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)))}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
(
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
Number
(
tableMeta
.
rowData
[
9
].
value
))
:
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
))
==
0
?
"0.0"
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)
)))}
// sebelumnya: value={this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)}
/>
:
<
LightTooltip
title
=
{
this
.
state
.
minValue
===
null
?
`Value Should be
${
tableMeta
.
rowData
[
24
]}
`
:
`Value Should be (
${
this
.
state
.
minValue
}
) up to (
${
this
.
state
.
maxValue
}
)`
}
arrow
>
...
...
@@ -1207,7 +1208,7 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
9
].
value
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)))}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
PLBSFAMSubmitted
?
fixNumber
(
Number
(
tableMeta
.
rowData
[
9
].
value
),
1
)
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)),
1
))
:
(
this
.
props
.
PLBSFAMSubmitted
?
(
Number
(
tableMeta
.
rowData
[
9
].
value
)
==
0
?
"0.0"
:
Number
(
tableMeta
.
rowData
[
9
].
value
))
:
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
))
==
0
?
"0.0"
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
9
],
tableMeta
,
9
)
)))}
// sebelumnya: value={this.props.quarter != 'q1' || this.props.PLBSFAMSubmitted ? Number(tableMeta.rowData[9].value).toFixed(1) : Number(handleValueFormula(tableMeta.rowData[9], tableMeta, 9)).toFixed(1)}
/
>
<
/LightTooltip
>
...
...
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