@extends('layouts.app') @section('title', 'تصحيحات الحضور') @push('styles') @endpush @section('content')

إجمالي التصحيحات

{{ number_format($stats['total']) }}

قيد الانتظار

{{ number_format($stats['pending']) }}

تمت الموافقة

{{ number_format($stats['approved']) }}

مرفوضة

{{ number_format($stats['rejected']) }}
قائمة التصحيحات
@if($corrections->count())
@foreach($corrections as $correction) @endforeach
الموظف التاريخ الحضور الأصلي الحضور المصحّح السبب الحالة مقدّم الطلب الإجراءات
{{ $correction->employee_name ?? '-' }} {{ $correction->date ?? '-' }} {{ $correction->original_check_in ?? '—' }} - {{ $correction->original_check_out ?? '—' }} {{ $correction->corrected_check_in ?? '—' }} - {{ $correction->corrected_check_out ?? '—' }} {{ \Illuminate\Support\Str::limit($correction->reason ?? '-', 40) }} @if(($correction->status ?? '') === 'approved') موافق عليه @elseif(($correction->status ?? '') === 'pending') قيد الانتظار @elseif(($correction->status ?? '') === 'rejected') مرفوض @else {{ $correction->status ?? '-' }} @endif {{ $correction->created_by_name ?? ($correction->request_number ?? '-') }} @if(($correction->status ?? '') === 'pending')
@csrf
@csrf
@else — @endif
@else

لا توجد تصحيحات حضور لعرضها

@endif
{{-- Stat Modals --}} @endsection @push('scripts') @endpush