Today {{ $today_leaves->count() }} On Leave(s)
@if ($today_leaves->isEmpty())

- N/A -

@else
@foreach ($today_leaves as $index => $today_leave) @if( $today_leave->userLeaveWithTrashed ) @if( Auth::user()->id == $today_leave->userLeaveWithTrashed->user->id ) @else @endif @endif @endforeach
Leave Type Department Applicant Day Type Duration
{{ $today_leave->userLeaveWithTrashed->getLeavePolicyNameByApplicationYear($today_leave->getApplicationYear()) }} {{ $today_leave->userLeaveWithTrashed->user->details->job ? ucwords(strtolower($today_leave->userLeaveWithTrashed->user->details->job->department->name)) : '-' }}Me{{ $today_leave->userLeaveWithTrashed->user->getName() }}{{ $today_leave->getTodayApplicationDate() }} {{ $today_leave->duration }} Days
@endif