improved error handler of import/export

This commit is contained in:
Denis Duliçi
2021-01-31 23:47:36 +03:00
parent c08106418c
commit 0320df1c9b
11 changed files with 95 additions and 46 deletions

View File

@ -84,6 +84,6 @@ class Transactions extends Controller
*/
public function export()
{
return \Excel::download(new Export(), \Str::filename(trans_choice('general.transactions', 2)) . '.xlsx');
return $this->exportExcel(new Export, trans_choice('general.transactions', 2));
}
}