@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('Disciplinary incidents')) @section('content')
{{ __('Incidents') }}
@can('Disciplinary-create') {{ __('Report incident') }} @endcan
@foreach($rows as $r) @endforeach
# {{ __('Employee') }} {{ __('Category') }} {{ __('Date') }} {{ __('Case') }}
{{ $r->id }} {{ $r->staff->user->name ?? '—' }} {{ $r->category->name ?? '—' }} {{ $r->incident_date?->format('Y-m-d') }} @if($r->disciplinaryCase) {{ $r->disciplinaryCase->status }} @else — @endif
@endsection