@extends('layouts.app') @section('title', $employee->full_name . ' - DOTS HR Pro') @section('content')
{{ $employee->employee_code }} • {{ $employee->jobTitle->name ?? 'بدون مسمى' }}
| التاريخ | الحضور | الانصراف | ساعات العمل | الحالة |
|---|---|---|---|---|
| {{ $att->date->format('Y/m/d') }} | {{ $att->check_in ? \Carbon\Carbon::parse($att->check_in)->format('H:i') : '—' }} | {{ $att->check_out ? \Carbon\Carbon::parse($att->check_out)->format('H:i') : '—' }} | {{ $att->worked_hours ?? '—' }} | @switch($att->status) @case('present') حاضر @break @case('absent') غائب @break @case('late') متأخر @break @case('leave') إجازة @break @default {{ $att->status }} @endswitch |
لا توجد سجلات حضور | ||||
| النوع | من | إلى | الأيام | نسبة الخصم | المبلغ المخصوم | الحالة |
|---|---|---|---|---|---|---|
| {{ $leaveType->name_ar ?? $leaveType->name ?? '—' }} | {{ $lr->start_date ? $lr->start_date->format('Y/m/d') : '—' }} | {{ $lr->end_date ? $lr->end_date->format('Y/m/d') : '—' }} | {{ $lr->days_count }} | @if($deductionPercent == 0) مدفوعة بالكامل @elseif($deductionPercent == 100) بدون أجر @else {{ $deductionPercent }}% @endif | @if($deductedAmount > 0) {{ number_format($deductedAmount, 2) }} {{ currency_label() }} @else — @endif | @switch($lr->status) @case('pending') معلق @break @case('approved') موافق @break @case('rejected') مرفوض @break @default {{ $lr->status }} @endswitch |
لا توجد طلبات إجازات | ||||||