@extends('layouts.userapp') @section('content') @php use Carbon\Carbon; @endphp @if(session('success'))
{{ session('success') }}
@endif
Leaves Requested
View Details

{{$ALcount}}/{{($leaveentitled->total_AL ?? 0) + $ALcount}}

ANNUAL LEAVE

{{$MLcount}}/{{($leaveentitled->ML ?? '0') + $MLcount}}

MEDICAL LEAVE

@php $no = 0; @endphp @if ($applied !== FALSE) @if (count($applied) > 0) @foreach($applied as $applied) leave_apply_id]) }};" style="cursor: pointer;"> @endforeach @endif @endif
{{ ++$no }} {{ $applied->leavetype_code }} {{ $applied->total_days}} Days {{ \Carbon\Carbon::parse($applied->start_date)->format('d M') }} - {{ \Carbon\Carbon::parse($applied->end_date)->format('d M') }}
{{ $applied->display_status }}
{{ date("j F Y", strtotime($applied->created_date)) }}
@endsection