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
4d2cd518
Commit
4d2cd518
authored
Sep 29, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/riri' into 'ENV-DEV'
Issue MB LoCF See merge request
!2028
parents
b67b78cd
8a659e50
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 @
4d2cd518
...
...
@@ -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