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
2952a3bf
Commit
2952a3bf
authored
Oct 19, 2023
by
fahrur huzain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/fahrur' into 'ENV-DEV'
update issue BS RO bulan april See merge request
!2084
parents
b412f04d
6ac4eaf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
BalanceSheetRO.js
src/container/RollingOutlook/BalanceSheetRO.js
+3
-2
No files found.
src/container/RollingOutlook/BalanceSheetRO.js
View file @
2952a3bf
...
...
@@ -1231,7 +1231,8 @@ export default class BalanceSheetRO extends Component {
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
(
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
==
""
?
""
:
fixNumber
(
Number
(
val
),
1
))
:
fixNumber
(
Number
(
val
),
1
))
:
(
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
==
""
?
""
:
Number
(
val
)
==
0
?
"0.0"
:
Number
(
val
))
:
Number
(
val
)
==
0
?
"0.0"
:
Number
(
val
))}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
val
),
1
)
:
Number
(
val
)
==
0
?
"0.0"
:
Number
(
val
)}
// value={this.props.defaultCurrency.id == 1 ? (this.props.quarter == 'q2' || this.props.quarter == 'q3' ? (val == "" ? "" : fixNumber(Number(val), 1)) : fixNumber(Number(val), 1)) : (this.props.quarter == 'q2' || this.props.quarter == 'q3' ? (val == "" ? "" : Number(val) == 0 ? "0.0" : Number(val)) : Number(val) == 0 ? "0.0" : Number(val))}
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
...
...
@@ -2720,7 +2721,7 @@ export default class BalanceSheetRO extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
val
),
1
)
:
Number
(
val
)
==
0
?
"0.0"
:
Number
(
val
)}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
val
),
1
)
:
Number
(
val
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
val
),
1
)}
/
>
:
tableMeta
.
rowData
[
0
]
===
2
?
...
...
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