@extends('employee.layouts.app') @section('title', get_setting('site_name').' | '.__('Disciplinary')) @section('content')

{{ __('Disciplinary cases') }}

{{ __('View your disciplinary records and submit replies when required.') }}

{{ (int) ($dmStats->total ?? 0) }}
{{ __('Total cases') }}
{{ (int) ($dmStats->active ?? 0) }}
{{ __('Active') }}
{{ (int) ($dmStats->show_cause ?? 0) }}
{{ __('Show cause') }}
{{ __('My disciplinary cases') }}
@if($settings?->grievance_instructions)
{!! nl2br(e($settings->grievance_instructions)) !!}
@endif
@forelse($rows as $c) @php $statusKey = str_replace('-', '_', (string) $c->status); @endphp @empty @endforelse
# {{ __('Category') }} {{ __('Incident date') }} {{ __('Status') }} {{ __('Action') }}
#{{ $c->id }} {{ $c->incident->category->name ?? '—' }} {{ $c->incident->incident_date?->format('Y-m-d') ?? '—' }} {{ \App\Models\DisciplinaryCase::statusLabel($c->status) }} {{ __('View') }}
{{ __('No disciplinary records.') }}
@if($rows->hasPages()) @endif
@endsection