SHARE
TWEET

Untitled

a guest Jul 18th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use MaatwebsiteExcelFacadesExcel;
  2. use AppExportsJobExport;
  3.  
  4. public function export($id)
  5. {          
  6.      $query=DB::table('applyeds')
  7.      ->where('job_id',$id)
  8.      ->get();
  9.     return Excel::download( $query, 'job.xlsx');    
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top