@extends('layouts.app') @section('title', 'طلبات الاعتماد - DOTS HR Pro') @section('content')
@forelse($requests as $req) @empty @endforelse
# النوع مقدم الطلب المسار الخطوة الحالية الحالة تاريخ الإنشاء إجراءات
{{ $req->id }} {{ $req->workflow->type_label ?? '—' }} {{ $req->requester->name ?? '—' }} {{ $req->workflow->name ?? '—' }} {{ $req->current_step }} / {{ $req->workflow->steps->count() ?? 0 }} @php $statusClass = match($req->status) { 'pending' => 'status-pending', 'in_progress' => 'status-pending', 'approved' => 'status-active', 'rejected' => 'status-expired', 'cancelled' => 'status-draft', default => '', }; @endphp {{ $req->status_label }} {{ $req->created_at->format('Y/m/d') }}

لا توجد طلبات اعتماد

لم يتم تقديم أي طلب اعتماد بعد

@if($requests->hasPages())
{{ $requests->withQueryString()->links() }}
@endif
@endsection