public function generateSuccess($id)
    {
        $message = trans('Report has been created.');
        app('antares.messages')->add('success', $message);
        return redirect()->to(handles('antares::logger/download/pdf/' . $id));
    }
public function generateSuccess($id)
    {
        $message = trans('Report has been created.');
        app('antares.messages')->add('success', $message);
        return redirect()->to(handles('antares::logger/download/pdf/' . $id));
    }
public function generateSuccess ( $ id ) { $ message = trans ( 'Report has been created.' ) ; app ( 'antares.messages' ) -> add ( 'success' , $ message ) ; return redirect ( ) -> to ( handles ( 'antares::logger/download/pdf/' . $ id ) ) ; }
when report generation success

@param mixed $id
@return \Illuminate\Http\RedirectResponse
when report generation success