Shortlists @if($view_shortlist_model) > {{$view_shortlist_model->job->title}} @endif
@if($view_shortlist) @livewire('dashboard.school.view.short-list-view', ['view_shortlist_id' => $view_shortlist]) @else
{{-- pagination --}}
@if(Auth::user()->hasRole(['consultant', 'super-admin'])) @endif @foreach ($short_lists as $short_list) @php $plus = ($short_lists->currentPage()-1) * 10; @endphp @if(Auth::user()->hasRole(['consultant', 'super-admin'])) @endif @endforeach {{-- --}}
  Position Created Recommended candidatesFilled 
{{$loop->iteration + $plus}} {{$short_list->job->title}} {{\Carbon\Carbon::parse($short_list->created_at)->format('d.m.Y')}} {{count($short_list->candidates)}} @if($short_list->filled) Yes @else No @endif
Summary total taken from all pages: 40000.00 45000.00 24.00% 5000.00
{{ $short_lists->onEachSide(1)->links() }}
@endif