@extends('layouts.app') @section('title', 'الإجراءات التأديبية') @push('styles') @endpush @section('content')

الإجمالي

{{ $stats->total }}

النشطة

{{ $stats->active }}

تم الحل

{{ $stats->resolved }}

حسب النوع

{{ count($stats->by_type) }}
{{-- Filter Row --}}
@forelse($records as $index => $record) @empty @endforelse
# الموظف النوع السبب التاريخ الخطورة الحالة إجراءات
{{ $records->firstItem() + $index }} {{ $record->employee_name ?? '-' }} {{ $record->type }} {{ Str::limit($record->subject, 40) }} {{ $record->action_date }} @if($record->severity === 'high') عالية @elseif($record->severity === 'medium') متوسطة @else منخفضة @endif @if($record->status === 'active') نشطة @else تم الحل @endif @if($record->status === 'active')
@csrf
@endif عرض

لا توجد إجراءات تأديبية

{{ $records->links() }}
{{-- Stat Modals --}}

إجمالي الإجراءات

البيانالعدد
الإجمالي{{ $stats->total }}
النشطة{{ $stats->active }}
تم الحل{{ $stats->resolved }}

الإجراءات النشطة

البيانالعدد
الإجراءات النشطة{{ $stats->active }}

الإجراءات المحلولة

البيانالعدد
تم الحل{{ $stats->resolved }}

حسب النوع

@foreach($stats->by_type as $type => $count) @endforeach
النوعالعدد
{{ $type }}{{ $count }}
{{-- Add Modal --}}

إضافة إجراء تأديبي

@endsection @push('scripts') @endpush