@extends('dashboard.layouts.app') @section('content')
@if (session('success')) @endif @if ($errors->any()) @endif
HR Requirements
Add New Requirement

Clear
@if ($recuirements->isNotEmpty())
@foreach ($recuirements as $req) @endforeach
Created By Job Title Department Priority Salary Range Work Experience Job Type Due Date Actions
{{ optional($req->creator)->full_name ?? '-' }} {{ optional($req->jobTitle)->name ?? '-' }} {{ optional($req->department)->name ?? '-' }} {{ ucfirst($req->priority) }} {{ $req->salary_range ?? '-' }} {{ $req->work_experience ?? '-' }} {{ ucfirst($req->job_type) }} {{ \Carbon\Carbon::parse($req->due_date)->format('M d, Y') }}
@csrf @method('DELETE')
{{ $recuirements->appends(request()->except('page'))->links('pagination::bootstrap-5') }}
@else

No requirements found. Start by adding a new one!

Create Requirement
@endif
@endsection @push('scripts') @endpush