@extends('dashboard.base') @section('content') @php use App\Models\VacancyApplication; $user = auth()->user(); $alreadyApplied = false; if ($user) { $alreadyApplied = VacancyApplication::where('email', $user->email) ->where('vacancy_no', $job['vacancy_no']) ->exists(); } @endphp

VACANCIES@MBS

VACANCIES @if(strtolower($job['status']) === 'closed') Applications Closed @elseif($alreadyApplied) You have already applied to this post @else Apply Now @endif

{{ $job['position'] }}

  • Vac. No.: {{ $job['vacancy_no'] }}
  • Location: {{ $job['location'] }}
  • Grade: {{ $job['grade'] }}
  • Reporting To: {{ $job['reporting_to'] }}
  • Number of Posts: {{ $job['posts'] }}
  • Job Type: {{ $job['job_type'] }}
  • Duration: {{ $job['duration'] ?? 'N/A' }}

Key Responsibilities

{!! $job['responsibilities'] !!}

Academic and Professional Qualifications

{!! $job['qualifications'] !!}
@endsection