fixed export file name
This commit is contained in:
@ -195,7 +195,7 @@ abstract class Report
|
||||
|
||||
public function export()
|
||||
{
|
||||
return \Excel::download(new Export($this->views['content'], $this), $this->model->name . '.xlsx');
|
||||
return \Excel::download(new Export($this->views['content'], $this), \Str::filename($this->model->name) . '.xlsx');
|
||||
}
|
||||
|
||||
public function setYear()
|
||||
|
Reference in New Issue
Block a user