@extends('layouts.app') @section('title', 'طلبات التعويضات') @section('content')
| الموظف | النوع | المبلغ | السبب | الحالة | إجراءات |
|---|---|---|---|---|---|
| {{ $req->employee_name ?? 'موظف #' . $req->employee_id }} | @php $types = ['raise' => 'زيادة راتب', 'bonus' => 'مكافأة', 'promotion' => 'ترقية']; @endphp {{ $types[$req->request_type] ?? $req->request_type }} | {{ isset($req->amount) && $req->amount ? number_format($req->amount, 2) : '—' }} | {{ \Illuminate\Support\Str::limit($req->reason, 50) }} | {{ $req->status === 'approved' ? 'معتمد' : ($req->status === 'rejected' ? 'مرفوض' : 'في الانتظار') }} | @if($req->status === 'pending') @endif |
أنشئ طلب تعويض أو ترقية لموظف