@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('Disciplinary cases')) @section('content')
@if($alerts->isNotEmpty())
{{ __('Compliance red flags') }}
    @foreach($alerts as $a)
  • {{ $a->message }}
    @csrf
  • @endforeach
@endif
{{ __('Cases') }}
@foreach($rows as $c) @endforeach
# {{ __('Employee') }} {{ __('Status') }} {{ __('Final action') }} {{ __('Closed') }}
{{ $c->id }} {{ $c->incident->staff->user->name ?? '—' }} {{ $c->status }} {{ $c->finalAction->name ?? '—' }} {{ $c->closed_at?->format('Y-m-d H:i') ?? '—' }} {{ __('Open') }}
@endsection