@extends('frontend.layouts.web') @section('content')
{{-- search bar start here --}}
@csrf
{{-- search bar end here --}}
{{-- counter start here --}}

{{$jobCount}}

NUMBERS OF JOBS

{{$careerInfoCount}}

ALL APPLICATIONS

{{$seatCount}}

VACANCIES

{{$departmentCount}}

ALL CATEGORIES

{{-- row end here --}}
{{-- counter end here --}} {{-- jobs and vacancies start here --}}

Jobs & vacancies

{{-- =====accordion start here=== --}}

Filter

@include('frontend.layouts.sidebar')
{{-- =====accordion end here=== --}} {{-- ====job detail start here ==== --}} {{-- {{dd(empty($Jobposts))}} --}}
@if(count($Jobposts) > 0) @foreach ($Jobposts as $Jobs)

{{$Jobs->designation}}

{{date('d/m/Y', strtotime($Jobs->start_date)) }} - {{date('d/m/Y', strtotime($Jobs->end_date)) }}

@if($Jobs->campus == 'Sargodha Road University Town, Faisalabad') Health Science @elseif($Jobs->campus == 'West Canal Road, Faisal Town') Engineering @else Health Science | Engineering @endif

{{ Carbon\Carbon::parse($Jobs->created_at)->diffForHumans()}}

{!! $Jobs->short_detail !!}

{{$Jobs->job_type}}

{{$Jobs->gender}}

@foreach($jobDepartment as $dptName) @if($dptName->id == $Jobs->dpt_id) {{$dptName->name}} @endif @endforeach

@if($Jobs->end_date >= date('Y-m-d') ) @else
@endif
@endforeach @else

No Jobs Found

@endif
{{ $Jobposts->links() }}
{{-- ====job detail end here ==== --}}
{{-- career tips start here --}}

QUICK CAREER TIPS

@foreach($careerTips as $tips)
news and events

{{date('d M Y', strtotime($tips->publish_date)) }}

{{$tips->title}}

{{Str::limit($tips->short_description, 150)}}

@endforeach
{{-- career tips end here --}}
{{-- jobs and vacancies end here --}}
@endsection