@extends('layouts.app') @section('title','Discipline Management') @section('page-title','Discipline Management') @section('content') @if(!auth()->user()->canAccess('discipline'))
| Case # | Employee | Infraction | Incident Date | Action Taken | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $rec->case_number }} |
{{ strtoupper(substr($rec->employee->first_name??'?',0,1)) }}
{{ $rec->employee->full_name ?? '—' }}
{{ $rec->employee->department->name ?? '' }}
|
{{ $rec->infraction_type }} | {{ $rec->incident_date?->format('M d, Y') }} | @if($rec->action_taken) {{ ucfirst(str_replace('_',' ',$rec->action_taken)) }} @else Pending @endif | {{ ucfirst($rec->status) }} | |
| No discipline records found | ||||||