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

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