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
19aa2c5b
Commit
19aa2c5b
authored
Apr 20, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'GGMAC' into 'master'
cat current_year_ttl See merge request
!1434
parents
4af02019
532e3123
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+4
-3
No files found.
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
19aa2c5b
...
...
@@ -89,7 +89,7 @@ export default class CorporateAnnualTargetRO extends Component {
let
checkLastStatus
=
false
let
checkStatus
=
false
let
checkPrevRev
=
false
console
.
log
(
'skuy'
);
if
(
this
.
props
.
isApprover
)
{
checkApprover
=
true
}
else
{
...
...
@@ -114,7 +114,8 @@ export default class CorporateAnnualTargetRO extends Component {
checkStatus
=
false
}
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
// this.setState({ viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev })
this
.
setState
({
viewOnly
:
true
})
}
getItemHierarki
()
{
...
...
@@ -620,7 +621,7 @@ export default class CorporateAnnualTargetRO extends Component {
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
].
value
).
toFixed
(
1
))
:
String
(
i
[
20
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
].
value
).
toFixed
(
1
))
:
String
(
i
[
21
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
].
value
).
toFixed
(
1
))
:
String
(
i
[
22
]),
"
total_current_year
"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
)),
"
current_year_total
"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
]).
toFixed
(
1
)),
"strategic"
:
String
(
i
[
24
]),
"pic"
:
String
(
i
[
25
])
})
...
...
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