|
@@ -358,9 +358,7 @@ class handler
|
|
|
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
|
|
|
$objWriter->save($file_path);
|
|
|
|
|
|
- if($stage > 0) {
|
|
|
- $percentor($total_stage,$total_stage);
|
|
|
- }
|
|
|
+ $percentor($total_stage,$total_stage);
|
|
|
|
|
|
return [true, $filename];
|
|
|
} catch (Exception $e) {
|