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
a2692ed4
Commit
a2692ed4
authored
Jun 14, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
d24dd39d
d558a09a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
CorporateAnnualTargetMR.js
src/container/MonthlyReport/CorporateAnnualTargetMR.js
+4
-0
CorporateAnnualTargetRO.js
src/container/RollingOutlook/CorporateAnnualTargetRO.js
+2
-2
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+1
-1
No files found.
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
a2692ed4
...
...
@@ -330,7 +330,11 @@ export default class CorporateAnnualTargetMR extends Component {
})
}
<<<<<<<
HEAD
downloadTemplate
=
async
()
=>
{
=======
downloadTemplate
=
async
()
=>
{
>>>>>>>
d558a09ad0e1b021fb47b356a08dd4362fa29f4d
console
.
log
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/cat/monthly_report/download_template?report_id=
${
this
.
props
.
report_id
}
&&company_id=
${
this
.
props
.
company
.
company_id
}
&&year=
${
this
.
props
.
periode
}
`
)
let
res
=
await
fetch
(
`
${
process
.
env
.
REACT_APP_URL_MAIN_BE
}
/public/transaction/cat/monthly_report/download_template?report_id=
${
this
.
props
.
report_id
}
&&company_id=
${
this
.
props
.
company
.
company_id
}
&&year=
${
this
.
props
.
periode
}
`
...
...
src/container/RollingOutlook/CorporateAnnualTargetRO.js
View file @
a2692ed4
...
...
@@ -181,7 +181,7 @@ export default class CorporateAnnualTargetRO extends Component {
}
}
res
.
map
((
item
,
index
)
=>
{
let
weight
=
String
(
item
.
corporate_annual_target
.
weight
).
substr
(
0
,
String
(
item
.
corporate_annual_target
.
weight
).
length
-
1
)
let
weight
=
String
(
item
.
corporate_annual_target
.
weight
).
includes
(
'%'
)?
String
(
item
.
corporate_annual_target
.
weight
).
substr
(
0
,
String
(
item
.
corporate_annual_target
.
weight
).
length
-
1
)
:
item
.
corporate_annual_target
.
weight
dataTable
.
push
([
item
.
type_report_id
,
item
.
id
,
...
...
@@ -190,7 +190,7 @@ export default class CorporateAnnualTargetRO extends Component {
item
.
level
,
item
.
description
,
// item.weight == '' ? Number(0).toFixed(1) : Number(Number(item.weight) * 100).toFixed(1),
item
.
corporate_annual_target
.
weight
==
""
?
Number
(
0
).
toFixed
(
1
)
:
Number
(
weight
).
toFixed
(
1
),
item
.
corporate_annual_target
.
weight
==
""
?
Number
(
0
).
toFixed
(
1
)
:
Number
(
Number
(
weight
*
100
)
).
toFixed
(
1
),
item
.
corporate_annual_target
.
uom
,
item
.
kpi_type
==
""
?
null
:
{
value
:
item
.
kpi_type
},
item
.
max_ach
==
""
?
null
:
{
value
:
titleCase
(
item
.
max_ach
)
},
...
...
src/container/RollingOutlook/TaxPlanningRO.js
View file @
a2692ed4
...
...
@@ -352,7 +352,7 @@ export default class TaxPlanning extends Component {
june
:
{
tbc
:
i
[
1
]
===
3
&&
i
[
14
].
tbc
===
""
?
"0"
:
i
[
1
]
===
5
||
i
[
1
]
===
6
||
i
[
1
]
===
7
?
String
(
i
[
14
].
tbc
.
value
)
:
String
(
i
[
14
].
tbc
),
fcp
:
i
[
2
]
===
3
&&
i
[
14
].
fcp
===
""
?
"0"
:
i
[
2
]
===
5
||
i
[
2
]
===
6
||
i
[
2
]
===
7
?
String
(
i
[
14
].
fcp
.
value
)
:
String
(
i
[
14
].
fcp
),
tbf
:
i
[
3
]
===
3
&&
i
[
14
].
tb
c
===
""
?
"0"
:
i
[
3
]
===
5
||
i
[
3
]
===
6
||
i
[
3
]
===
7
?
String
(
i
[
14
].
tbf
.
value
)
:
String
(
i
[
14
].
tbf
)
tbf
:
i
[
3
]
===
3
&&
i
[
14
].
tb
f
===
""
?
"0"
:
i
[
3
]
===
5
||
i
[
3
]
===
6
||
i
[
3
]
===
7
?
String
(
i
[
14
].
tbf
.
value
)
:
String
(
i
[
14
].
tbf
)
},
july
:
{
tbc
:
i
[
1
]
===
3
&&
i
[
15
].
tbc
===
""
?
"0"
:
i
[
1
]
===
5
||
i
[
1
]
===
6
||
i
[
1
]
===
7
?
String
(
i
[
15
].
tbc
.
value
)
:
String
(
i
[
15
].
tbc
),
...
...
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