@if(count($records) != 0)
@foreach($records as $record)
@php
@endphp
{{$record->sourcer_name}} |
{{$record->recruiter_name}} |
{{$record->hiring_manager_name}} |
{{$record->title}} |
{{$record->end_customer_name}} |
{{$record->application ? $record->application->where('application_status', 'New')->count() : 0 }} |
{{$record->application ? $record->application->where('application_status', 'Review')->count() : 0 }} |
{{$record->total_interview }} |
{{$record->application ? $record->application->where('application_status', 'Job Offer')->count() : 0 }} |
{{$record->application ? $record->application->where('application_status', 'Rejected')->count() : 0 }} |
{{$record->application ? $record->application->where('application_status', 'Hired')->count() : 0 }} |
@endforeach
@else