{{ Route::currentRouteName() == 'show-resigned-cancel-leave' ? 'Resigned Cancel Leave Applications' : 'All Cancel Leave Applications' }}
{{ __('Leave Applications') }}
@include('public.table.cancel-leave-applications')
@if (Route::currentRouteName() == 'show-all-cancel-leave' || Route::currentRouteName() == 'filter-cancel-leaves')
@if( $resigned_user_leave_applications->isNotEmpty() && (Auth::user()->allowToViewAllLeaves() || in_array(Auth::user()->id, $authorities)) )
@endif
@endif