change download file name

This commit is contained in:
Mohamed Nouffer
2021-11-17 16:19:24 +05:30
parent 279079e69f
commit f203094f14
9 changed files with 14 additions and 14 deletions

View File

@ -103,7 +103,7 @@ function Index() {
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate);
}
setDownloadUrl(url)
downloadReport(url);
//downloadReport(url);
}
else {
if(graph){
@ -113,7 +113,7 @@ function Index() {
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons;
}
setDownloadUrl(url)
downloadReport(url);
//downloadReport(url);
}
}