fixed export file name

This commit is contained in:
denisdulici
2020-02-12 12:18:08 +03:00
parent 3dbb2b33e6
commit 2c7b15b331
17 changed files with 56 additions and 15 deletions

View File

@ -228,6 +228,6 @@ class Payments extends Controller
*/
public function export()
{
return \Excel::download(new Export(), trans_choice('general.payments', 2) . '.xlsx');
return \Excel::download(new Export(), \Str::filename(trans_choice('general.payments', 2)) . '.xlsx');
}
}