{{$pending_leaves->count()}} {{ __('Pending Application(s)') }}
@if ($pending_leaves->isEmpty())

- N/A -

@else
@foreach ($pending_leaves as $index => $application) @if( $application->userLeaveWithTrashed ) @if( Auth::user()->id == $application->userLeaveWithTrashed->user->id ) @else @endif @endif @endforeach
No Leave Type Applicant Date Action
{{ $index + 1 }} {{ $application->userLeaveWithTrashed->getLeavePolicyNameByApplicationYear($application->getApplicationYear()) }}Me{{ $application->userLeaveWithTrashed->user->getName() }} {{ $application->getApplicationDate() }}
@endif