@extends('portal.layout.app') @section('content')
HR Services / Attendance & Leave / Leave Applications
@php $data=(object)$data; $data->data=(object)$data->data; @endphp
Leave List
@if($data->total != 0) @foreach ($data->data as $key=>$app) @php $app=(object)$app; @endphp @endforeach @else @endif
Employee ID Name Application Date Leave Type From To Total Days LM Status Violation
{{$app->empcode}} {{$app->name}} {{ dateFromat($app->emp_date) }} {{$app->type}} {{ dateFromat($app->fdate) }} {{ dateFromat($app->tdate) }} {{$app->nod}} @if ($app->appstatus == 1) Pending @elseif ($app->appstatus == 2) Approved @elseif ($app->appstatus == 3) Disapproved @endif @if ($app->leave_violation) Yes ({{$app->short_code}}) @else No @endif
No Data Found
@endsection @section('scripts') @endsection