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
3a5a6869
Commit
3a5a6869
authored
May 29, 2024
by
fahrur huzain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue CAT OLPA
parent
0812d66b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
64 deletions
+67
-64
CorporateAnnualTargetOLPA.js
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
+67
-64
No files found.
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
View file @
3a5a6869
...
@@ -404,18 +404,18 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -404,18 +404,18 @@ export default class CorporateAnnualTargetRO extends Component {
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"formula"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"formula"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
]
.
value
)
)
:
String
(
i
[
11
]),
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
11
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
]
.
value
)
)
:
String
(
i
[
12
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
12
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
]
.
value
)
)
:
String
(
i
[
13
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
13
]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
Number
(
i
[
14
]
.
value
)
)
:
String
(
i
[
14
]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
Number
(
i
[
14
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
14
]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
Number
(
i
[
15
]
.
value
)
)
:
String
(
i
[
15
]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
Number
(
i
[
15
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
15
]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
Number
(
i
[
16
]
.
value
)
)
:
String
(
i
[
16
]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
Number
(
i
[
16
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
16
]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
Number
(
i
[
17
]
.
value
)
)
:
String
(
i
[
17
]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
Number
(
i
[
17
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
17
]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
Number
(
i
[
18
]
.
value
)
)
:
String
(
i
[
18
]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
Number
(
i
[
18
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
18
]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
Number
(
i
[
19
]
.
value
)
)
:
String
(
i
[
19
]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
Number
(
i
[
19
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
19
]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
]
.
value
)
)
:
String
(
i
[
20
]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
20
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
]
.
value
)
)
:
String
(
i
[
21
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
21
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
]
.
value
)
)
:
String
(
i
[
22
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
]
?.
formula
[
1
].
value
)
/
1000
)
:
String
(
i
[
22
]),
"total_current_year"
:
String
(
Number
(
i
[
23
]))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
])),
"total_current_year"
:
String
(
Number
(
i
[
23
]))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
])),
"strategic"
:
String
(
i
[
24
]),
"strategic"
:
String
(
i
[
24
]),
"pic"
:
String
(
i
[
25
])
"pic"
:
String
(
i
[
25
])
...
@@ -430,18 +430,18 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -430,18 +430,18 @@ export default class CorporateAnnualTargetRO extends Component {
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"formula"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"formula"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
]
.
value
)
)
:
String
(
i
[
11
]),
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
11
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
]
.
value
)
)
:
String
(
i
[
12
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
12
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
]
.
value
)
)
:
String
(
i
[
13
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
13
]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
Number
(
i
[
14
]
.
value
)
)
:
String
(
i
[
14
]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
Number
(
i
[
14
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
14
]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
Number
(
i
[
15
]
.
value
)
)
:
String
(
i
[
15
]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
Number
(
i
[
15
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
15
]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
Number
(
i
[
16
]
.
value
)
)
:
String
(
i
[
16
]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
Number
(
i
[
16
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
16
]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
Number
(
i
[
17
]
.
value
)
)
:
String
(
i
[
17
]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
Number
(
i
[
17
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
17
]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
Number
(
i
[
18
]
.
value
)
)
:
String
(
i
[
18
]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
Number
(
i
[
18
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
18
]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
Number
(
i
[
19
]
.
value
)
)
:
String
(
i
[
19
]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
Number
(
i
[
19
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
19
]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
]
.
value
)
)
:
String
(
i
[
20
]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
20
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
]
.
value
)
)
:
String
(
i
[
21
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
21
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
]
.
value
)
)
:
String
(
i
[
22
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
]
?.
formula
[
1
].
value
)
/
1000
)
:
String
(
i
[
22
]),
"total_current_year"
:
String
(
Number
(
i
[
23
]))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
])),
"total_current_year"
:
String
(
Number
(
i
[
23
]))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
])),
"strategic"
:
String
(
i
[
24
]),
"strategic"
:
String
(
i
[
24
]),
"pic"
:
String
(
i
[
25
])
"pic"
:
String
(
i
[
25
])
...
@@ -662,7 +662,10 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -662,7 +662,10 @@ export default class CorporateAnnualTargetRO extends Component {
stateFR
=
false
stateFR
=
false
}
}
if
(
this
.
state
.
defaultCurrencyUpload
?.
id
==
2
)
{
if
(
String
(
i
[
5
])
==
'revenue'
){
console
.
log
(
String
(
Number
(
i
[
22
]?.
formula
[
1
].
value
)
/
1000
))
}
// if (this.state.defaultCurrencyUpload?.id == 2) {
data
.
push
({
data
.
push
({
"item_report_id"
:
i
[
1
]
==
""
||
i
[
1
]
==
null
?
0
:
i
[
1
],
"item_report_id"
:
i
[
1
]
==
""
||
i
[
1
]
==
null
?
0
:
i
[
1
],
"item_report"
:
String
(
i
[
5
]),
"item_report"
:
String
(
i
[
5
]),
...
@@ -671,48 +674,48 @@ export default class CorporateAnnualTargetRO extends Component {
...
@@ -671,48 +674,48 @@ export default class CorporateAnnualTargetRO extends Component {
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
"formula_ytd"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"formula_ytd"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
]
.
value
)
)
:
String
(
i
[
11
]),
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
Number
(
i
[
11
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
11
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
]
.
value
)
)
:
String
(
i
[
12
]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
Number
(
i
[
12
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
12
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
]
.
value
)
)
:
String
(
i
[
13
]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
Number
(
i
[
13
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
13
]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
Number
(
i
[
14
]
.
value
)
)
:
String
(
i
[
14
]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
Number
(
i
[
14
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
14
]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
Number
(
i
[
15
]
.
value
)
)
:
String
(
i
[
15
]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
Number
(
i
[
15
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
15
]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
Number
(
i
[
16
]
.
value
)
)
:
String
(
i
[
16
]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
Number
(
i
[
16
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
16
]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
Number
(
i
[
17
]
.
value
)
)
:
String
(
i
[
17
]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
Number
(
i
[
17
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
17
]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
Number
(
i
[
18
]
.
value
)
)
:
String
(
i
[
18
]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
Number
(
i
[
18
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
18
]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
Number
(
i
[
19
]
.
value
)
)
:
String
(
i
[
19
]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
Number
(
i
[
19
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
19
]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
]
.
value
)
)
:
String
(
i
[
20
]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
Number
(
i
[
20
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
20
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
]
.
value
)
)
:
String
(
i
[
21
]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
Number
(
i
[
21
]
?.
formula
[
0
].
value
)
/
1000
)
:
String
(
i
[
21
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
]
.
value
)
)
:
String
(
i
[
22
]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
Number
(
i
[
22
]
?.
formula
[
1
].
value
)
/
1000
)
:
String
(
i
[
22
]),
"total_current_year"
:
String
(
Number
(
i
[
23
]))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
])),
"total_current_year"
:
String
(
Number
(
i
[
23
]))
==
""
?
"0.0"
:
String
(
Number
(
i
[
23
])),
"strategic"
:
i
[
24
]
==
null
?
""
:
String
(
i
[
24
]),
"strategic"
:
i
[
24
]
==
null
?
""
:
String
(
i
[
24
]),
"pic"
:
String
(
i
[
25
])
"pic"
:
String
(
i
[
25
])
})
})
}
else
{
//
} else {
data
.
push
({
//
data.push({
"item_report_id"
:
i
[
1
]
==
""
||
i
[
1
]
==
null
?
0
:
i
[
1
],
//
"item_report_id": i[1] == "" || i[1] == null ? 0 : i[1],
"item_report"
:
String
(
i
[
5
]),
//
"item_report": String(i[5]),
"weight"
:
String
(
i
[
6
]),
//
"weight": String(i[6]),
"uom"
:
String
(
i
[
7
]),
//
"uom": String(i[7]),
"kpi_type"
:
i
[
8
]
==
null
?
""
:
i
[
8
].
value
,
//
"kpi_type": i[8] == null ? "" : i[8].value,
"max_ach"
:
i
[
9
]
==
null
?
""
:
i
[
9
].
value
,
//
"max_ach": i[9] == null ? "" : i[9].value,
"formula_ytd"
:
i
[
10
]
==
null
?
""
:
i
[
10
].
value
,
//
"formula_ytd": i[10] == null ? "" : i[10].value,
"january"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
11
])
:
String
(
fixNumber
(
Number
(
i
[
11
].
value
),
1
))
:
String
(
i
[
11
]),
//
"january": stateFR ? i[0] == 3 ? String(i[11]) : String(fixNumber(Number(i[11].value), 1)) : String(i[11]),
"february"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
12
])
:
String
(
fixNumber
(
Number
(
i
[
12
].
value
),
1
))
:
String
(
i
[
12
]),
//
"february": stateFR ? i[0] == 3 ? String(i[12]) : String(fixNumber(Number(i[12].value), 1)) : String(i[12]),
"march"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
13
])
:
String
(
fixNumber
(
Number
(
i
[
13
].
value
),
1
))
:
String
(
i
[
13
]),
//
"march": stateFR ? i[0] == 3 ? String(i[13]) : String(fixNumber(Number(i[13].value), 1)) : String(i[13]),
"april"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
14
])
:
String
(
fixNumber
(
Number
(
i
[
14
].
value
),
1
))
:
String
(
i
[
14
]),
//
"april": stateFR ? i[0] == 3 ? String(i[14]) : String(fixNumber(Number(i[14].value), 1)) : String(i[14]),
"may"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
15
])
:
String
(
fixNumber
(
Number
(
i
[
15
].
value
),
1
))
:
String
(
i
[
15
]),
//
"may": stateFR ? i[0] == 3 ? String(i[15]) : String(fixNumber(Number(i[15].value), 1)) : String(i[15]),
"june"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
16
])
:
String
(
fixNumber
(
Number
(
i
[
16
].
value
),
1
))
:
String
(
i
[
16
]),
//
"june": stateFR ? i[0] == 3 ? String(i[16]) : String(fixNumber(Number(i[16].value), 1)) : String(i[16]),
"july"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
17
])
:
String
(
fixNumber
(
Number
(
i
[
17
].
value
),
1
))
:
String
(
i
[
17
]),
//
"july": stateFR ? i[0] == 3 ? String(i[17]) : String(fixNumber(Number(i[17].value), 1)) : String(i[17]),
"august"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
18
])
:
String
(
fixNumber
(
Number
(
i
[
18
].
value
),
1
))
:
String
(
i
[
18
]),
//
"august": stateFR ? i[0] == 3 ? String(i[18]) : String(fixNumber(Number(i[18].value), 1)) : String(i[18]),
"september"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
19
])
:
String
(
fixNumber
(
Number
(
i
[
19
].
value
),
1
))
:
String
(
i
[
19
]),
//
"september": stateFR ? i[0] == 3 ? String(i[19]) : String(fixNumber(Number(i[19].value), 1)) : String(i[19]),
"october"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
20
])
:
String
(
fixNumber
(
Number
(
i
[
20
].
value
),
1
))
:
String
(
i
[
20
]),
//
"october": stateFR ? i[0] == 3 ? String(i[20]) : String(fixNumber(Number(i[20].value), 1)) : String(i[20]),
"november"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
21
])
:
String
(
fixNumber
(
Number
(
i
[
21
].
value
),
1
))
:
String
(
i
[
21
]),
//
"november": stateFR ? i[0] == 3 ? String(i[21]) : String(fixNumber(Number(i[21].value), 1)) : String(i[21]),
"december"
:
stateFR
?
i
[
0
]
==
3
?
String
(
i
[
22
])
:
String
(
fixNumber
(
Number
(
i
[
22
].
value
),
1
))
:
String
(
i
[
22
]),
//
"december": stateFR ? i[0] == 3 ? String(i[22]) : String(fixNumber(Number(i[22].value), 1)) : String(i[22]),
"total_current_year"
:
String
(
fixNumber
(
Number
(
i
[
23
]),
1
))
==
""
?
"0.0"
:
String
(
fixNumber
(
Number
(
i
[
23
]),
1
)),
//
"total_current_year": String(fixNumber(Number(i[23]), 1)) == "" ? "0.0" : String(fixNumber(Number(i[23]), 1)),
"strategic"
:
i
[
24
]
==
null
?
""
:
String
(
i
[
24
]),
//
"strategic": i[24] == null ? "" : String(i[24]),
"pic"
:
String
(
i
[
25
])
//
"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