Report filename mismatched - fixed
This commit is contained in:
parent
33202364b5
commit
131659fbec
@ -210,7 +210,7 @@ function phpAlert($msg) {
|
||||
$this->excel->getActiveSheet()->getProtection()->setInsertRows(true);
|
||||
$this->excel->getActiveSheet()->getProtection()->setFormatCells(true);
|
||||
|
||||
$filename='EmployeePFReport.xls';
|
||||
$filename='EmployeePFReport'.$payon.'xls';
|
||||
header('Content-Type: application/vnd.ms-excel');
|
||||
header('Content-Disposition: attachment;filename="'.$filename.'"');
|
||||
header('Cache-Control: max-age=0');
|
||||
@ -350,7 +350,7 @@ function phpAlert($msg) {
|
||||
$this->excel->getActiveSheet()->getProtection()->setSort(true);
|
||||
$this->excel->getActiveSheet()->getProtection()->setInsertRows(true);
|
||||
$this->excel->getActiveSheet()->getProtection()->setFormatCells(true);
|
||||
$filename='EmployeePFReport.xls';
|
||||
$filename='EmployeeESIReport'.$payon.'xls';
|
||||
header('Content-Type: application/vnd.ms-excel');
|
||||
header('Content-Disposition: attachment;filename="'.$filename.'"');
|
||||
header('Cache-Control: max-age=0');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user