@extends('layouts.app') @section('title', 'leave') @section('content')
Today Presents

60 / 60

Pending Requests

{{$request_counts}}

Planned Leaves

8 Total

Unplanned Leaves

0 Today

@if(count($data) > 0 ) @foreach($data as $item) @endforeach @else @endif
User From To No of Days Reason Status Created at Action by Actions
{{ucwords($item->first_name.' '.$item->last_name)}} {{ date('d M Y',strtotime($item->from_date))}} {{date('d M Y',strtotime($item->to_date))}} {{$item->total_days}} days {{$item->subject}} @if($item->status == 'pending') @endif @if($item->status == 'rejected') @endif @if($item->status == 'approved') @endif {{ date('d M Y h:i A',strtotime($item->created_at))}} {{ Techsaga::leaveActionBy($item->id)}} view

Wow, you have not taken a leave.

@endsection