@extends('layouts.moderator') @section('title', 'سجل الحضور والغياب - ' . $user->name) @section('content')

سجل الحضور والغياب @if(isset($isOwnRecord) && $isOwnRecord) - سجلي الشخصي @else - {{ $user->name }} @endif

@if(isset($isOwnRecord) && $isOwnRecord) عرض تفصيلي لسجل الحضور والغياب الخاص بك @else عرض تفصيلي لسجل الحضور والغياب للعضو: {{ $user->name }} @endif

{{ number_format($attendanceStats['total_days']) }}

إجمالي الأيام

{{ number_format($attendanceStats['present_days']) }}

أيام الحضور

{{ number_format($attendanceStats['excused_absences']) }}

غياب بعذر

{{ number_format($attendanceStats['unexcused_absences']) }}

غياب بدون عذر

{{ number_format($attendanceStats['warnings']) }}

الإنذارات

تصفية البيانات

سجل الحضور والغياب التفصيلي @if(isset($isOwnRecord) && $isOwnRecord) الخاص بك @else - {{ $user->name }} @endif

@if($evaluations->count() > 0)
@foreach ($evaluations as $evaluation) @endforeach
# التاريخ اليوم حالة الحضور النقاط ملاحظات
{{ $loop->iteration + (($evaluations->currentPage() - 1) * $evaluations->perPage()) }} {{ \Carbon\Carbon::parse($evaluation->evaluation_date)->format('Y/m/d') }} {{ \Carbon\Carbon::parse($evaluation->evaluation_date)->locale('ar')->dayName }} @if($evaluation->attendance_status == 'present') حاضر @elseif($evaluation->attendance_status == 'absent_with_excuse') غائب بعذر @else غائب بدون عذر @endif {{ $evaluation->total_daily_points > 0 ? '+' : '' }}{{ $evaluation->total_daily_points ?? 0 }} {{ $evaluation->evaluator_notes ?? '-' }}

عرض {{ $evaluations->firstItem() }} إلى {{ $evaluations->lastItem() }} من أصل {{ $evaluations->total() }} نتيجة

{{ $evaluations->withQueryString()->links() }}
@else

لا توجد سجلات حضور

@if(isset($isOwnRecord) && $isOwnRecord) لم يتم تسجيل أي حضور أو غياب لك في الفترة المحددة @else لم يتم تسجيل أي حضور أو غياب للعضو في الفترة المحددة @endif

@endif
@endsection