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
0f00455b
Commit
0f00455b
authored
Mar 23, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'riri' into 'master'
Riri See merge request
!1317
parents
99c11cb8
b684c83c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
89 deletions
+79
-89
OperatingIndicatorRO.js
src/container/RollingOutlook/OperatingIndicatorRO.js
+35
-45
ProfitLossRO.js
src/container/RollingOutlook/ProfitLossRO.js
+44
-44
No files found.
src/container/RollingOutlook/OperatingIndicatorRO.js
View file @
0f00455b
...
@@ -173,9 +173,9 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -173,9 +173,9 @@ export default class OperatingIndicatorRO extends Component {
item
.
level
,
item
.
level
,
item
.
description
,
item
.
description
,
item
.
uom
,
item
.
uom
,
item
.
rolling_outlook
.
january
,
item
.
rolling_outlook
.
january
===
""
?
"0"
:
item
.
rolling_outlook
.
january
,
item
.
rolling_outlook
.
february
,
item
.
rolling_outlook
.
february
===
""
?
"0"
:
item
.
rolling_outlook
.
february
,
item
.
rolling_outlook
.
march
,
item
.
rolling_outlook
.
march
===
""
?
"0"
:
item
.
rolling_outlook
.
march
,
item
.
rolling_outlook
.
april
===
""
?
"0"
:
item
.
rolling_outlook
.
april
,
item
.
rolling_outlook
.
april
===
""
?
"0"
:
item
.
rolling_outlook
.
april
,
item
.
rolling_outlook
.
may
===
""
?
"0"
:
item
.
rolling_outlook
.
may
,
item
.
rolling_outlook
.
may
===
""
?
"0"
:
item
.
rolling_outlook
.
may
,
item
.
rolling_outlook
.
june
===
""
?
"0"
:
item
.
rolling_outlook
.
june
,
item
.
rolling_outlook
.
june
===
""
?
"0"
:
item
.
rolling_outlook
.
june
,
...
@@ -206,9 +206,9 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -206,9 +206,9 @@ export default class OperatingIndicatorRO extends Component {
item
.
level
,
item
.
level
,
item
.
description
,
item
.
description
,
item
.
uom
,
item
.
uom
,
item
.
rolling_outlook
.
january
,
item
.
rolling_outlook
.
january
===
""
?
"0"
:
item
.
rolling_outlook
.
january
,
item
.
rolling_outlook
.
february
,
item
.
rolling_outlook
.
february
===
""
?
"0"
:
item
.
rolling_outlook
.
february
,
item
.
rolling_outlook
.
march
,
item
.
rolling_outlook
.
march
===
""
?
"0"
:
item
.
rolling_outlook
.
march
,
item
.
rolling_outlook
.
april
===
""
?
"0"
:
item
.
rolling_outlook
.
april
,
item
.
rolling_outlook
.
april
===
""
?
"0"
:
item
.
rolling_outlook
.
april
,
item
.
rolling_outlook
.
may
===
""
?
"0"
:
item
.
rolling_outlook
.
may
,
item
.
rolling_outlook
.
may
===
""
?
"0"
:
item
.
rolling_outlook
.
may
,
item
.
rolling_outlook
.
june
===
""
?
"0"
:
item
.
rolling_outlook
.
june
,
item
.
rolling_outlook
.
june
===
""
?
"0"
:
item
.
rolling_outlook
.
june
,
...
@@ -827,7 +827,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -827,7 +827,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -846,7 +846,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -846,7 +846,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -868,7 +868,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -868,7 +868,7 @@ export default class OperatingIndicatorRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// value={Number(value).toFixed(1)}
// value={Number(value).toFixed(1)}
value
=
{
value
===
""
?
""
:
Number
(
value
).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
true
}
disabled
=
{
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -923,7 +923,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -923,7 +923,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -942,7 +942,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -942,7 +942,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -964,7 +964,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -964,7 +964,7 @@ export default class OperatingIndicatorRO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
// value={Number(value).toFixed(1)}
// value={Number(value).toFixed(1)}
value
=
{
value
===
""
?
""
:
Number
(
value
).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
true
}
disabled
=
{
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -1018,7 +1018,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1018,7 +1018,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1037,7 +1037,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1037,7 +1037,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1058,7 +1058,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1058,7 +1058,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
value
===
""
?
""
:
Number
(
value
).
toFixed
(
1
)}
value
=
{
value
===
"
0
"
?
""
:
Number
(
value
).
toFixed
(
1
)}
// value={Number(value).toFixed(1)}
// value={Number(value).toFixed(1)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
true
}
disabled
=
{
true
}
...
@@ -1113,7 +1113,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1113,7 +1113,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1132,7 +1132,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1132,7 +1132,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1153,7 +1153,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1153,7 +1153,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
?
false
:
true
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
?
false
:
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -1206,7 +1206,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1206,7 +1206,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1225,7 +1225,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1225,7 +1225,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1246,7 +1246,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1246,7 +1246,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
?
false
:
true
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
?
false
:
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -1299,7 +1299,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1299,7 +1299,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1318,7 +1318,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1318,7 +1318,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1339,7 +1339,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1339,7 +1339,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q2'
||
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
?
false
:
true
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
?
false
:
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -1392,7 +1392,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1392,7 +1392,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1411,7 +1411,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1411,7 +1411,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1432,7 +1432,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1432,7 +1432,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
false
:
true
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
false
:
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -1485,7 +1485,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1485,7 +1485,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1504,7 +1504,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1504,7 +1504,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1525,7 +1525,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1525,7 +1525,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
false
:
true
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
false
:
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -1578,7 +1578,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1578,7 +1578,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleParent
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
/
>
/
>
...
@@ -1597,7 +1597,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1597,7 +1597,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
handleFormula
(
tableMeta
)).
toFixed
(
1
)}
disabled
=
{
true
}
disabled
=
{
true
}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
...
@@ -1618,7 +1618,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -1618,7 +1618,7 @@ export default class OperatingIndicatorRO extends Component {
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
color
:
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
"#5198ea"
:
'#555252'
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quartal
==
'q3'
?
(
value
===
"0"
?
""
:
Number
(
value
).
toFixed
(
1
))
:
Number
(
value
).
toFixed
(
1
)}
decimalScale
=
{
1
}
decimalScale
=
{
1
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
false
:
true
}
disabled
=
{
this
.
props
.
quartal
==
'q1'
||
this
.
props
.
quartal
==
'q2'
?
false
:
true
}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
// disabled={!this.props.permission.create || !this.props.permission.edit || !this.props.isSubmit}
...
@@ -2045,12 +2045,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -2045,12 +2045,7 @@ export default class OperatingIndicatorRO extends Component {
{
!
this
.
state
.
emptyData
&&
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
{
!
this
.
state
.
emptyData
&&
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
data
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
data
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
periode
}
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
periode
}
{
String
(
this
.
props
.
quartal
).
toLocaleUpperCase
()}
{
this
.
props
.
quartal
===
"q1"
?
' Q1 '
:
this
.
props
.
quartal
===
"q2"
?
' Q2 '
:
this
.
props
.
quartal
===
"q3"
?
' Q3 '
:
''
}
<
/Typography
>
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
...
@@ -2234,12 +2229,7 @@ export default class OperatingIndicatorRO extends Component {
...
@@ -2234,12 +2229,7 @@ export default class OperatingIndicatorRO extends Component {
<
div
style
=
{{
padding
:
25
}}
>
<
div
style
=
{{
padding
:
25
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
data
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
data
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
periode
}
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
periode
}
{
String
(
this
.
props
.
quartal
).
toLocaleUpperCase
()}
{
this
.
props
.
quartal
===
"q1"
?
' Q1 '
:
this
.
props
.
quartal
===
"q2"
?
' Q2 '
:
this
.
props
.
quartal
===
"q3"
?
' Q3 '
:
''
}
<
/Typography
>
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
...
...
src/container/RollingOutlook/ProfitLossRO.js
View file @
0f00455b
...
@@ -246,9 +246,9 @@ export default class ProfitLossROO extends Component {
...
@@ -246,9 +246,9 @@ export default class ProfitLossROO extends Component {
item
.
description
,
item
.
description
,
item
.
profit_loss
.
notes
,
item
.
profit_loss
.
notes
,
item
.
profit_loss
.
last_year_total
===
""
?
"0"
:
item
.
profit_loss
.
last_year_total
,
item
.
profit_loss
.
last_year_total
===
""
?
"0"
:
item
.
profit_loss
.
last_year_total
,
item
.
profit_loss
.
january
,
item
.
profit_loss
.
january
===
""
?
"0"
:
item
.
profit_loss
.
january
,
item
.
profit_loss
.
february
,
item
.
profit_loss
.
february
===
""
?
"0"
:
item
.
profit_loss
.
february
,
item
.
profit_loss
.
march
,
item
.
profit_loss
.
march
===
""
?
"0"
:
item
.
profit_loss
.
march
,
item
.
profit_loss
.
april
===
""
?
"0"
:
item
.
profit_loss
.
april
,
item
.
profit_loss
.
april
===
""
?
"0"
:
item
.
profit_loss
.
april
,
item
.
profit_loss
.
may
===
""
?
"0"
:
item
.
profit_loss
.
may
,
item
.
profit_loss
.
may
===
""
?
"0"
:
item
.
profit_loss
.
may
,
item
.
profit_loss
.
june
===
""
?
"0"
:
item
.
profit_loss
.
june
,
item
.
profit_loss
.
june
===
""
?
"0"
:
item
.
profit_loss
.
june
,
...
@@ -281,9 +281,9 @@ export default class ProfitLossROO extends Component {
...
@@ -281,9 +281,9 @@ export default class ProfitLossROO extends Component {
item
.
description
,
item
.
description
,
item
.
profit_loss
.
notes
,
item
.
profit_loss
.
notes
,
item
.
profit_loss
.
last_year_total
===
""
?
"0"
:
item
.
profit_loss
.
last_year_total
,
item
.
profit_loss
.
last_year_total
===
""
?
"0"
:
item
.
profit_loss
.
last_year_total
,
item
.
profit_loss
.
january
,
item
.
profit_loss
.
january
===
""
?
"0"
:
item
.
profit_loss
.
january
,
item
.
profit_loss
.
february
,
item
.
profit_loss
.
february
===
""
?
"0"
:
item
.
profit_loss
.
february
,
item
.
profit_loss
.
march
,
item
.
profit_loss
.
march
===
""
?
"0"
:
item
.
profit_loss
.
march
,
item
.
profit_loss
.
april
===
""
?
"0"
:
item
.
profit_loss
.
april
,
item
.
profit_loss
.
april
===
""
?
"0"
:
item
.
profit_loss
.
april
,
item
.
profit_loss
.
may
===
""
?
"0"
:
item
.
profit_loss
.
may
,
item
.
profit_loss
.
may
===
""
?
"0"
:
item
.
profit_loss
.
may
,
item
.
profit_loss
.
june
===
""
?
"0"
:
item
.
profit_loss
.
june
,
item
.
profit_loss
.
june
===
""
?
"0"
:
item
.
profit_loss
.
june
,
...
@@ -1040,7 +1040,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1040,7 +1040,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
val
===
""
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1057,7 +1057,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1057,7 +1057,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
val
).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1078,7 +1078,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1078,7 +1078,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1095,7 +1095,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1095,7 +1095,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
val
).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1138,7 +1138,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1138,7 +1138,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
val
===
""
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1155,7 +1155,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1155,7 +1155,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
val
).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1176,7 +1176,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1176,7 +1176,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1193,7 +1193,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1193,7 +1193,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
val
).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1236,7 +1236,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1236,7 +1236,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
val
===
""
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1253,7 +1253,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1253,7 +1253,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
val
).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1274,7 +1274,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1274,7 +1274,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1291,7 +1291,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1291,7 +1291,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
val
===
""
?
""
:
Number
(
val
).
toFixed
(
1
)}
value
=
{
val
===
"
0
"
?
""
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1334,7 +1334,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1334,7 +1334,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1351,7 +1351,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1351,7 +1351,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1372,7 +1372,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1372,7 +1372,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1389,7 +1389,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1389,7 +1389,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1432,7 +1432,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1432,7 +1432,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1449,7 +1449,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1449,7 +1449,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1470,7 +1470,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1470,7 +1470,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1487,7 +1487,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1487,7 +1487,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1530,7 +1530,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1530,7 +1530,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1547,7 +1547,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1547,7 +1547,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
?
false
:
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1568,7 +1568,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1568,7 +1568,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1585,7 +1585,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1585,7 +1585,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q2'
||
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1628,7 +1628,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1628,7 +1628,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1645,7 +1645,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1645,7 +1645,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
true
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1666,7 +1666,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1666,7 +1666,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1683,7 +1683,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1683,7 +1683,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1726,7 +1726,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1726,7 +1726,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1743,7 +1743,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1743,7 +1743,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
true
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1764,7 +1764,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1764,7 +1764,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1781,7 +1781,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1781,7 +1781,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1824,7 +1824,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1824,7 +1824,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
// value={Number(val).toFixed(1)}
// value={Number(val).toFixed(1)}
value
=
{
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleValue
(
val
,
tableMeta
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
<
/span
>
:
:
...
@@ -1841,7 +1841,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1841,7 +1841,7 @@ export default class ProfitLossROO extends Component {
placeholder
=
""
placeholder
=
""
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
// disabled={this.props.isApprover? true : (this.state.get_for == 'view'? true : false)}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
true
}
disabled
=
{
this
.
props
.
quarter
==
'q1'
||
this
.
props
.
quarter
==
'q2'
?
false
:
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
)
handleChange
(
event
.
target
.
value
,
tableMeta
)
}}
}}
...
@@ -1862,7 +1862,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1862,7 +1862,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
handleFormula
(
val
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1879,7 +1879,7 @@ export default class ProfitLossROO extends Component {
...
@@ -1879,7 +1879,7 @@ export default class ProfitLossROO extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
val
).
toFixed
(
1
)}
value
=
{
this
.
props
.
quarter
==
'q3'
?
(
val
===
"0"
?
""
:
Number
(
val
).
toFixed
(
1
))
:
Number
(
val
).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2316,7 +2316,7 @@ export default class ProfitLossROO extends Component {
...
@@ -2316,7 +2316,7 @@ export default class ProfitLossROO extends Component {
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
(
rev
.{
this
.
props
.
revision
})
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
(
rev
.{
this
.
props
.
revision
})
{
String
(
this
.
props
.
quarter
).
toLocaleUpperCase
()}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
width
:
'50%'
}}
>
<
div
style
=
{{
width
:
'50%'
}}
>
...
@@ -2540,7 +2540,7 @@ export default class ProfitLossROO extends Component {
...
@@ -2540,7 +2540,7 @@ export default class ProfitLossROO extends Component {
<
div
style
=
{{
padding
:
20
}}
>
<
div
style
=
{{
padding
:
20
}}
>
<
div
>
<
div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
(
rev
.{
this
.
props
.
revision
})
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
periode
}
(
rev
.{
this
.
props
.
revision
})
{
String
(
this
.
props
.
quarter
).
toLocaleUpperCase
()}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
marginTop
:
20
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
400
:
150
)
}}
>
<
div
style
=
{{
marginTop
:
20
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
400
:
150
)
}}
>
...
...
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