Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement