@extends('layouts.app') @section('title','Edit — '.$recruitment->title) @section('page-title','Recruitment') @push('styles') @endpush @section('content')
@csrf @method('PUT')
{{-- Main fields --}}
Position Details
@error('title')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
{{-- Existing criteria (read-only display — criteria are edited on the show page) --}} @if($recruitment->criteria->count())
Grading Criteria ({{ $recruitment->criteria->count() }}) Criteria are managed from the posting page
@foreach($recruitment->criteria as $crit)
{{ $crit->name }}
{{ $crit->category_label }} · Max {{ $crit->max_score }} pts · Weight {{ $crit->weight }} @if($crit->is_mandatory) Mandatory @endif
@endforeach
@endif
{{-- Sidebar --}}
Auto-Recommendation
Applicants scoring at or above this weighted percentage are automatically recommended when all criteria are scored.
Applications
Total applications {{ $recruitment->applications()->count() }}
Shortlisted {{ $recruitment->applications()->where('stage','shortlisted')->count() }}
Hired {{ $recruitment->applications()->where('stage','hired')->count() }}
Cancel
@endsection