@extends('layouts.master') @section('content')
# | Name | Purpose | Leave From | Leave To | Days | Status | Action |
---|---|---|---|---|---|---|---|
{{ $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)) }} | {{ $info->days}} | @if($info->approval == 0) Pending @else {{ "" }} Approved @endif | Details |