@extends('layouts.app') @section('title', 'Posts Management') @push('styles') @endpush @section('breadcrumb') Dashboard Posts @endsection @section('content')
Recruitment posts and their vacancy quotas.
| # | Code | Title | BPS | Seats | Quotas | Status | Exam schedule | Created | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $post->code }} |
{{ $post->title }}
{{ Str::limit($post->qualification, 50) }}
|
{{ $post->bps }} | {{ number_format($post->total_seats) }} | {{ $post->quotas_count }} | {{ $post->status_label ?? ucfirst($post->status) }} | @php $examStatus = $post->exam_status; // 'live' | 'scheduled' | 'closed' $examTone = match ($examStatus) { 'live' => 's-success', 'scheduled' => 's-warning', default => 's-neutral', }; $examLabel = match ($examStatus) { 'live' => 'Live now', 'scheduled' => $post->exam_login_enabled_at?->format('d M, h:i A') ?? 'Scheduled', default => 'Not scheduled', }; @endphp | {{ $post->created_at->format('d M Y') }} |