This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.dashboard') | |
@section('section') | |
<br><br> | |
<style type="text/css"> | |
th.fb-name{ | |
width: 100px; | |
} | |
.close-wrapper{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function transformCollection($collection){ | |
return array_map([$this, 'transform'], $collection->toArray()); | |
} | |
private function transform($collection){ | |
return [ | |
// 'Full Name' => $collection['jobseeker_id']. ' '. $collection['fullname']. ' '. $collection['date'], | |
// 'Phone No' => $collection['date'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//for download excel | |
public function downloadExcel($type) | |
{ | |
ini_set('max_execution_time', 3000); | |
set_time_limit ( 3000 ); | |
$user = new Jobseeker; | |
$data = $user->query(); | |
try{ | |
$filedate = str_replace(' ', '_', Carbon::now()); | |
return Excel::create('UserList'.$filedate, function($excel) use($data){ |