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
90569f55
Commit
90569f55
authored
Sep 29, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue MB LoCF
parent
316ccba7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
CashFlow.js
src/container/BudgetTahunan/CashFlow.js
+8
-4
No files found.
src/container/BudgetTahunan/CashFlow.js
View file @
90569f55
...
...
@@ -1040,7 +1040,8 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)}
value
=
{
this
.
props
.
PLBSFAMSubmitted
?
(
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
))
:
(
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
))}
// value={fixNumber(Number(tableMeta.rowData[7].value), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[7].value), 1)}
/
>
<
/span
>
:
...
...
@@ -1054,7 +1055,8 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)}
value
=
{
this
.
props
.
PLBSFAMSubmitted
?
(
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
))
:
(
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
))}
// value={fixNumber(Number(tableMeta.rowData[7].value), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[7].value), 1)}
/
>
:
tableMeta
.
rowData
[
0
]
===
1
?
...
...
@@ -1076,7 +1078,8 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)}
value
=
{
this
.
props
.
PLBSFAMSubmitted
?
(
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
))
:
(
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
))}
// value={fixNumber(Number(tableMeta.rowData[7].value), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[7].value), 1)}
/>
:
<
LightTooltip
title
=
{
this
.
state
.
minValue
===
null
?
`Value Should be
${
tableMeta
.
rowData
[
23
]}
`
:
`Value Should be (
${
this
.
state
.
minValue
}
) up to (
${
this
.
state
.
maxValue
}
)`
}
arrow
>
<
NumberFormat
...
...
@@ -1093,7 +1096,8 @@ export default class CashFlow extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)}
value
=
{
this
.
props
.
PLBSFAMSubmitted
?
(
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
tableMeta
.
rowData
[
7
].
value
),
1
))
:
(
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
7
],
tableMeta
,
7
)),
1
))}
// value={fixNumber(Number(tableMeta.rowData[7].value), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[7].value), 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