@extends('admin.layout', ['menuKey' => 'title-suggestions']) @section('title', 'Title suggestions') @section('content')
People

Job title suggestions

Titles candidates asked for. Add one to the list, make it another name for an existing title (so search finds it), or reject it. Approved titles are added to the asker's alerts.

@include('partials.errors') @forelse ($pending as $s)

{{ $s->name }} from {{ $s->email ?? 'a deleted account' }} · {{ $s->created_at->diffForHumans() }}

@csrf
@csrf
@csrf
@empty
No suggestions waiting.
@endforelse @if ($recent->isNotEmpty())

Recently decided

@foreach ($recent as $s) @endforeach
SuggestionDecisionWhen
{{ $s->name }}{{ $s->status === 'approved' ? 'Added → '.($titleNames[$s->job_title_id] ?? '?') : 'Rejected' }}{{ $s->updated_at->format('M j, Y') }}
@endif @endsection