{{ $count++ }} |
@foreach($all_users as $user)
@if($user['id']==$info->user_id)
{{$user['name']}}
@endif
@endforeach
|
@foreach($purposes as $purp)
@if($purp['id']==$info->purpose)
{{$purp['name']}}
@endif
@endforeach
|
{{ date("jS-F-Y", strtotime($info->from)) }}
|
{{ date("jS-F-Y", strtotime($info->to)) }}
|
from);
$end = strtotime($info->to);
$days_between = (ceil(abs( $end - $start) / 86400))+1;
echo $days_between;*/
?>
{{ $info->days }}
|
@if($info->approval == 0)
Pending
@else
Approved
@endif
|
@endforeach