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
8f723512
Commit
8f723512
authored
Jul 12, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updateCAT
parent
338f9efd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
56 deletions
+70
-56
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+70
-56
No files found.
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
8f723512
...
...
@@ -179,18 +179,18 @@ export default class CorporateAnnualTarget extends Component {
parentTrue
?
item
.
cat
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
cat
.
max_ach
)
}
:
item
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
parentTrue
?
item
.
cat
.
formula
==
""
?
null
:
{
value
:
item
.
cat
.
formula
}
:
item
.
formula_ytd
==
""
?
null
:
{
value
:
item
.
formula_ytd
},
item
.
cat
.
total_actual_before
==
""
?
item
.
cat
.
total_actual_before
:
String
(
item
.
cat
.
total_actual_before
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
total_actual_before
)
:
Number
(
item
.
cat
.
total_actual_before
).
toFixed
(
1
),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
january
==
""
?
item
.
cat
.
january
:
String
(
item
.
cat
.
january
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
january
)
:
Number
(
item
.
cat
.
january
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
january
,
formula
:
item
.
cat
.
january_formula
}
:
(
item
.
cat
.
january
==
""
?
item
.
cat
.
january
:
String
(
item
.
cat
.
january
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
january
)
:
Number
(
item
.
cat
.
january
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
february
==
""
?
item
.
cat
.
february
:
String
(
item
.
cat
.
february
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
february
)
:
Number
(
item
.
cat
.
february
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
february
,
formula
:
item
.
cat
.
february_formula
}
:
(
item
.
cat
.
february
==
""
?
item
.
cat
.
february
:
String
(
item
.
cat
.
february
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
february
)
:
Number
(
item
.
cat
.
february
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
march
==
""
?
item
.
cat
.
march
:
String
(
item
.
cat
.
march
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
march
)
:
Number
(
item
.
cat
.
march
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
march
,
formula
:
item
.
cat
.
march_formula
}
:
(
item
.
cat
.
march
==
""
?
item
.
cat
.
march
:
String
(
item
.
cat
.
march
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
march
)
:
Number
(
item
.
cat
.
march
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
april
==
""
?
item
.
cat
.
april
:
String
(
item
.
cat
.
april
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
april
)
:
Number
(
item
.
cat
.
april
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
april
,
formula
:
item
.
cat
.
april_formula
}
:
(
item
.
cat
.
april
==
""
?
item
.
cat
.
april
:
String
(
item
.
cat
.
april
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
april
)
:
Number
(
item
.
cat
.
april
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
may
==
""
?
item
.
cat
.
may
:
String
(
item
.
cat
.
may
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
may
)
:
Number
(
item
.
cat
.
may
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
may
,
formula
:
item
.
cat
.
may_formula
}
:
(
item
.
cat
.
may
==
""
?
item
.
cat
.
may
:
String
(
item
.
cat
.
may
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
may
)
:
Number
(
item
.
cat
.
may
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
june
==
""
?
item
.
cat
.
june
:
String
(
item
.
cat
.
june
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
june
)
:
Number
(
item
.
cat
.
june
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
june
,
formula
:
item
.
cat
.
june_formula
}
:
(
item
.
cat
.
june
==
""
?
item
.
cat
.
june
:
String
(
item
.
cat
.
june
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
june
)
:
Number
(
item
.
cat
.
june
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
july
==
""
?
item
.
cat
.
july
:
String
(
item
.
cat
.
july
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
july
)
:
Number
(
item
.
cat
.
july
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
july
,
formula
:
item
.
cat
.
july_formula
}
:
(
item
.
cat
.
july
==
""
?
item
.
cat
.
july
:
String
(
item
.
cat
.
july
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
july
)
:
Number
(
item
.
cat
.
july
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
august
==
""
?
item
.
cat
.
august
:
String
(
item
.
cat
.
august
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
august
)
:
Number
(
item
.
cat
.
august
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
august
,
formula
:
item
.
cat
.
august_formula
}
:
(
item
.
cat
.
august
==
""
?
item
.
cat
.
august
:
String
(
item
.
cat
.
august
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
august
)
:
Number
(
item
.
cat
.
august
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
september
==
""
?
item
.
cat
.
september
:
String
(
item
.
cat
.
september
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
september
)
:
Number
(
item
.
cat
.
september
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
september
,
formula
:
item
.
cat
.
september_formula
}
:
(
item
.
cat
.
september
==
""
?
item
.
cat
.
september
:
String
(
item
.
cat
.
september
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
september
)
:
Number
(
item
.
cat
.
september
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
october
==
""
?
item
.
cat
.
october
:
String
(
item
.
cat
.
october
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
october
)
:
Number
(
item
.
cat
.
october
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
october
,
formula
:
item
.
cat
.
october_formula
}
:
(
item
.
cat
.
october
==
""
?
item
.
cat
.
october
:
String
(
item
.
cat
.
october
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
october
)
:
Number
(
item
.
cat
.
october
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
november
==
""
?
item
.
cat
.
november
:
String
(
item
.
cat
.
november
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
november
)
:
Number
(
item
.
cat
.
november
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
november
,
formula
:
item
.
cat
.
november_formula
}
:
(
item
.
cat
.
november
==
""
?
item
.
cat
.
november
:
String
(
item
.
cat
.
november
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
november
)
:
Number
(
item
.
cat
.
november
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
?
(
item
.
cat
.
december
==
""
?
item
.
cat
.
december
:
String
(
item
.
cat
.
december
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
december
)
:
Number
(
item
.
cat
.
december
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
december
,
formula
:
item
.
cat
.
december_formula
}
:
(
item
.
cat
.
december
==
""
?
item
.
cat
.
december
:
String
(
item
.
cat
.
december
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
december
)
:
Number
(
item
.
cat
.
december
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
january
==
""
?
item
.
cat
.
january
:
String
(
item
.
cat
.
january
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
january
)
:
Number
(
item
.
cat
.
january
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
january
,
formula
:
item
.
cat
.
january_formula
}
:
(
item
.
cat
.
january
==
""
?
item
.
cat
.
january
:
String
(
item
.
cat
.
january
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
january
)
:
Number
(
item
.
cat
.
january
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
february
==
""
?
item
.
cat
.
february
:
String
(
item
.
cat
.
february
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
february
)
:
Number
(
item
.
cat
.
february
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
february
,
formula
:
item
.
cat
.
february_formula
}
:
(
item
.
cat
.
february
==
""
?
item
.
cat
.
february
:
String
(
item
.
cat
.
february
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
february
)
:
Number
(
item
.
cat
.
february
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
march
==
""
?
item
.
cat
.
march
:
String
(
item
.
cat
.
march
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
march
)
:
Number
(
item
.
cat
.
march
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
march
,
formula
:
item
.
cat
.
march_formula
}
:
(
item
.
cat
.
march
==
""
?
item
.
cat
.
march
:
String
(
item
.
cat
.
march
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
march
)
:
Number
(
item
.
cat
.
march
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
april
==
""
?
item
.
cat
.
april
:
String
(
item
.
cat
.
april
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
april
)
:
Number
(
item
.
cat
.
april
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
april
,
formula
:
item
.
cat
.
april_formula
}
:
(
item
.
cat
.
april
==
""
?
item
.
cat
.
april
:
String
(
item
.
cat
.
april
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
april
)
:
Number
(
item
.
cat
.
april
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
may
==
""
?
item
.
cat
.
may
:
String
(
item
.
cat
.
may
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
may
)
:
Number
(
item
.
cat
.
may
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
may
,
formula
:
item
.
cat
.
may_formula
}
:
(
item
.
cat
.
may
==
""
?
item
.
cat
.
may
:
String
(
item
.
cat
.
may
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
may
)
:
Number
(
item
.
cat
.
may
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
june
==
""
?
item
.
cat
.
june
:
String
(
item
.
cat
.
june
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
june
)
:
Number
(
item
.
cat
.
june
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
june
,
formula
:
item
.
cat
.
june_formula
}
:
(
item
.
cat
.
june
==
""
?
item
.
cat
.
june
:
String
(
item
.
cat
.
june
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
june
)
:
Number
(
item
.
cat
.
june
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
july
==
""
?
item
.
cat
.
july
:
String
(
item
.
cat
.
july
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
july
)
:
Number
(
item
.
cat
.
july
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
july
,
formula
:
item
.
cat
.
july_formula
}
:
(
item
.
cat
.
july
==
""
?
item
.
cat
.
july
:
String
(
item
.
cat
.
july
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
july
)
:
Number
(
item
.
cat
.
july
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
august
==
""
?
item
.
cat
.
august
:
String
(
item
.
cat
.
august
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
august
)
:
Number
(
item
.
cat
.
august
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
august
,
formula
:
item
.
cat
.
august_formula
}
:
(
item
.
cat
.
august
==
""
?
item
.
cat
.
august
:
String
(
item
.
cat
.
august
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
august
)
:
Number
(
item
.
cat
.
august
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
september
==
""
?
item
.
cat
.
september
:
String
(
item
.
cat
.
september
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
september
)
:
Number
(
item
.
cat
.
september
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
september
,
formula
:
item
.
cat
.
september_formula
}
:
(
item
.
cat
.
september
==
""
?
item
.
cat
.
september
:
String
(
item
.
cat
.
september
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
september
)
:
Number
(
item
.
cat
.
september
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
october
==
""
?
item
.
cat
.
october
:
String
(
item
.
cat
.
october
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
october
)
:
Number
(
item
.
cat
.
october
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
october
,
formula
:
item
.
cat
.
october_formula
}
:
(
item
.
cat
.
october
==
""
?
item
.
cat
.
october
:
String
(
item
.
cat
.
october
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
october
)
:
Number
(
item
.
cat
.
october
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
november
==
""
?
item
.
cat
.
november
:
String
(
item
.
cat
.
november
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
november
)
:
Number
(
item
.
cat
.
november
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
november
,
formula
:
item
.
cat
.
november_formula
}
:
(
item
.
cat
.
november
==
""
?
item
.
cat
.
november
:
String
(
item
.
cat
.
november
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
november
)
:
Number
(
item
.
cat
.
november
).
toFixed
(
1
)),
item
.
parent_name
==
"FINANCIAL PERSPECTIVE"
?
item
.
type_report_id
==
3
||
this
.
props
.
status
===
'CLOSED'
?
(
item
.
cat
.
december
==
""
?
item
.
cat
.
december
:
String
(
item
.
cat
.
december
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
december
)
:
Number
(
item
.
cat
.
december
).
toFixed
(
1
))
:
{
value
:
item
.
cat
.
december
,
formula
:
item
.
cat
.
december_formula
}
:
(
item
.
cat
.
december
==
""
?
item
.
cat
.
december
:
String
(
item
.
cat
.
december
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
december
)
:
Number
(
item
.
cat
.
december
).
toFixed
(
1
)),
item
.
cat
.
total_current_year
==
""
?
0
:
String
(
item
.
cat
.
total_current_year
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
total_current_year
)
:
Number
(
item
.
cat
.
total_current_year
).
toFixed
(
1
),
item
.
cat
.
total_next_year
==
""
?
item
.
cat
.
total_next_year
:
String
(
item
.
cat
.
total_next_year
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
total_next_year
)
:
Number
(
item
.
cat
.
total_next_year
).
toFixed
(
1
),
item
.
cat
.
total_more_year
==
""
?
item
.
cat
.
total_more_year
:
String
(
item
.
cat
.
total_more_year
).
indexOf
(
"."
)
==
-
1
?
Number
(
item
.
cat
.
total_more_year
)
:
Number
(
item
.
cat
.
total_more_year
).
toFixed
(
1
),
...
...
@@ -1969,7 +1969,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -1994,7 +1994,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2079,7 +2079,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2104,7 +2104,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2146,7 +2146,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div>
)
}
<
/div
>
...
...
@@ -2188,7 +2189,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2213,7 +2214,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2255,7 +2256,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2298,7 +2300,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2323,7 +2325,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2365,7 +2367,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2408,7 +2411,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2433,7 +2436,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2475,7 +2478,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2518,7 +2522,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2543,7 +2547,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2585,7 +2589,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2628,7 +2633,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2653,7 +2658,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2695,7 +2700,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2738,7 +2744,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2763,7 +2769,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2805,7 +2811,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2848,7 +2855,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2873,7 +2880,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2915,7 +2922,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -2958,7 +2966,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -2983,7 +2991,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3025,7 +3033,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -3068,7 +3077,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3093,7 +3102,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3135,7 +3144,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -3178,7 +3188,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3203,7 +3213,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3245,7 +3255,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -3289,7 +3300,7 @@ export default class CorporateAnnualTarget extends Component {
// </div> :
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3314,7 +3325,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3356,7 +3367,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -3399,7 +3411,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3424,7 +3436,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3466,7 +3478,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
@@ -3509,7 +3522,7 @@ export default class CorporateAnnualTarget extends Component {
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
?
(
handleReturnFormula
(
tableMeta
.
rowData
[
2
],
tableMeta
)
&&
this
.
props
.
status
!==
'CLOSED'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3534,7 +3547,7 @@ export default class CorporateAnnualTarget extends Component {
<
/div
>
:
<
div
style
=
{{
flex
:
1
}}
>
{
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
{
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
)
&&
this
.
props
.
status
!==
'CLOSED'
?
// null
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -3576,7 +3589,8 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/>
}
/
>
}
<
/div
>
)
}
...
...
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