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
729937a9
Commit
729937a9
authored
Sep 20, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Issue dan RO
parent
47fbff1e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
190 additions
and
131 deletions
+190
-131
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+1
-1
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+3
-3
ProfitLossRO.js
src/container/RollingOutlook/ProfitLossRO.js
+186
-127
No files found.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
729937a9
...
...
@@ -66,7 +66,7 @@ export default class BalanceSheetMR extends Component {
componentDidMount
()
{
this
.
getSettingControl
()
this
.
getLatestUpdate
()
//
this.handleViewOnly()
this
.
handleViewOnly
()
}
handleViewOnly
()
{
...
...
src/container/MonthlyReport/ProfitLossMR.js
View file @
729937a9
...
...
@@ -1569,7 +1569,7 @@ export default class ProfitLossMR extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
13
])
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleVariance
(
tableMeta
,
1
,
0
)),
1
)}
value
=
{
Number
(
tableMeta
.
rowData
[
13
])
==
0
?
"0.0"
:
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
handleVariance
(
tableMeta
,
1
,
0
)),
1
)
:
Number
(
handleVariance
(
tableMeta
,
1
,
0
)
)}
// value={Number(tableMeta.rowData[13]) == 0 ? "0.0" : this.props.defaultCurrency.id == 1 ? fixNumber(Number(handleVariance(tableMeta, 1, 0)), 1) : Number(handleVariance(tableMeta, 1, 0))}
decimalScale
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
1
:
16
}
/
>
...
...
@@ -1650,7 +1650,7 @@ export default class ProfitLossMR extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
15
])
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleVariance
(
tableMeta
,
2
,
2
)),
1
)}
value
=
{
Number
(
tableMeta
.
rowData
[
15
])
==
0
?
"0.0"
:
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
handleVariance
(
tableMeta
,
2
,
2
)),
1
)
:
Number
(
handleVariance
(
tableMeta
,
2
,
2
)
)}
// value={this.props.defaultCurrency.id == 1 ? fixNumber(Number(handleVariance(tableMeta, 2, 2)), 1) : Number(handleVariance(tableMeta, 2, 2))}
decimalScale
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
1
:
16
}
/
>
...
...
@@ -1769,7 +1769,7 @@ export default class ProfitLossMR extends Component {
style
=
{{
color
:
Number
(
tableMeta
.
rowData
[
18
]).
toFixed
(
1
)
<
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
18
]).
toFixed
(
1
)
>
this
.
state
.
maxValue
?
'red'
:
'#000000b0'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
suffix
=
{
'%'
}
disabled
=
{
true
}
value
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
handleVariancePercent
(
tableMeta
,
3
,
5
)),
1
)
:
Number
(
handleVariancePercent
(
tableMeta
,
3
,
5
)
)}
value
=
{
Number
(
tableMeta
.
rowData
[
18
])
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleVariancePercent
(
tableMeta
,
3
,
5
)),
1
)}
decimalScale
=
{
this
.
props
.
defaultCurrency
.
id
==
1
?
1
:
16
}
/
>
}
...
...
src/container/RollingOutlook/ProfitLossRO.js
View file @
729937a9
This diff is collapsed.
Click to expand it.
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