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
b812d65d
Commit
b812d65d
authored
Aug 10, 2022
by
Arfin Syadziy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/arfin' into 'ENV-DEPLOYMENT-PROD'
update issue Download Progress Report See merge request
!1618
parents
e09c5ac1
f27d850f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ProgressReport.js
src/container/ProgressReport/ProgressReport.js
+4
-4
No files found.
src/container/ProgressReport/ProgressReport.js
View file @
b812d65d
...
...
@@ -350,16 +350,16 @@ class ReportProgress extends Component {
let
path
=
''
let
type
=
''
if
(
String
(
this
.
state
.
reportType
.
name
).
toLocaleUpperCase
().
includes
(
'MASTER'
))
{
path
=
`public/transaction/
export_
monitoring/master_budget?periode=
${
this
.
state
.
periodeMB
.
name
}
`
path
=
`public/transaction/monitoring/master_budget?periode=
${
this
.
state
.
periodeMB
.
name
}
`
type
=
'Master Budget'
}
else
if
(
String
(
this
.
state
.
reportType
.
name
).
toLocaleUpperCase
().
includes
(
'MONTHLY'
))
{
path
=
`public/transaction/
export_
monitoring/monthly_report?months=
${
this
.
state
.
month
.
month_id
}
&&periode=
${
this
.
state
.
periodeMB
.
name
}
`
path
=
`public/transaction/monitoring/monthly_report?months=
${
this
.
state
.
month
.
month_id
}
&&periode=
${
this
.
state
.
periodeMB
.
name
}
`
type
=
`Monthly Report (
${
this
.
state
.
month
.
month_value
}
)`
}
else
if
(
String
(
this
.
state
.
reportType
.
name
).
toLocaleUpperCase
().
includes
(
'ROLLING'
))
{
path
=
`public/transaction/
export_
monitoring/rolling_outlook?quartals=
${
this
.
state
.
quarter
.
value
}
&&periode=
${
this
.
state
.
periodeMB
.
name
}
`
path
=
`public/transaction/monitoring/rolling_outlook?quartals=
${
this
.
state
.
quarter
.
value
}
&&periode=
${
this
.
state
.
periodeMB
.
name
}
`
type
=
`Rolling Outlook
${
this
.
state
.
quarter
.
name
}
`
}
else
{
path
=
`public/transaction/
export_
monitoring/outlook_pa?periode=
${
this
.
state
.
periodeMB
.
name
}
`
path
=
`public/transaction/monitoring/outlook_pa?periode=
${
this
.
state
.
periodeMB
.
name
}
`
type
=
'Outlook PA'
}
this
.
downloadAllData
(
path
,
type
)
...
...
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