@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('Disciplinary cases')) @section('content') @include('admin.disciplinary.partials.styles')

{{ __('Cases') }}

{{ __('Track investigations, show-cause notices, and verdicts.') }}

@can('Disciplinary-create') {{ __('New Incident') }} @endcan
{{ (int) $stats->total }}
{{ __('Total') }}
{{ (int) $stats->open }}
{{ __('Open') }}
{{ (int) $stats->active }}
{{ __('In progress') }}
{{ (int) $stats->closed }}
{{ __('Closed') }}
@if($alerts->isNotEmpty())
{{ __('Compliance red flags') }}
    @foreach($alerts as $a)
  • {{ $a->message }}
    @csrf
  • @endforeach
@endif
{{ __('All cases') }}
@forelse($rows as $c) @empty @endforelse
# {{ __('Employee') }} {{ __('Category') }} {{ __('Status') }} {{ __('Final action') }} {{ __('Closed') }}
{{ $c->id }} {{ $c->incident->staff->user->name ?? '—' }} {{ $c->incident->category->name ?? '—' }} {{ \App\Models\DisciplinaryCase::statusLabel($c->status) }} {{ $c->finalAction->name ?? '—' }} {{ $c->closed_at?->format('d M Y H:i') ?? '—' }} {{ __('Open') }}
{{ __('No cases found.') }}
@endsection