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

@ -283,7 +283,7 @@ class Customers extends Controller
*/
public function export()
{
return \Excel::download(new Export(), trans_choice('general.customers', 2) . '.xlsx');
return \Excel::download(new Export(), \Str::filename(trans_choice('general.customers', 2)) . '.xlsx');
}
public function currency(Contact $customer)