improved error handler of import/export
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user