@php $sortedType = ''; $sortedValue = ''; if(isset($data['sortType']) && isset($data['sortValue']) && $records->count() > 0){ $sortedType = $data['sortType']; $sortedValue = $data['sortValue']; } $calloutColors = ['c-callout-info', 'c-callout-danger', 'c-callout-warning', 'c-callout-success', 'c-callout-primary']; $key = 0; $appStatus = ['Scheduled', 'Completed', 'Cancelled']; @endphp
@foreach($appStatus as $status) @php $interviewsRecords = interviewCounts($data, ['statusCount' => $status]); @endphp @if($interviewsRecords == 0) @php continue; @endphp @endif
{{$status}}
{{$interviewsRecords}}
@endforeach
@if($records->count() > 0) @foreach($records as $record) @php $detailUrl = route('applications.show', $record->application_id); $candidateDetailUrl = ''; if($record->person_id){ $candidateDetailUrl = url('marketplace/people/view/'.$record->person_id); } @endphp @endforeach @else @endif
Date  Time  Timezone  Duration  Scheduled By  Interviewer  Candidate  Job Application  Completed?
{{showTimeFormat($record->interview_date, 'm/d/Y')}} {{$record->interview_time}} {{$record->interview_timezone}} {{$record->interview_duration}} {{$record->scheduled_by}} {{$record->interviewer_name}} @if($candidateDetailUrl){{$record->person_name}}@endif {{$record->application_name}}

No matching records found
Showing {{ $records->firstItem() }} to {{ $records->lastItem() }} of {{$records->total()}} entries
{{$records->links('vendor.pagination.bootstrap-4')}}