| الاسم: | {{ $employee->name }} |
|---|---|
| رقم الموظف: | {{ $employee->employee_id }} |
| الوظيفة: | {{ $employee->position?->name ?? 'غير محدد' }} |
| القسم: | {{ $employee->department?->name ?? 'غير محدد' }} |
| تاريخ التعيين: | {{ $employee->hire_date?->format('Y-m-d') ?? 'غير محدد' }} |
| الشهر | السنة | الرصيد السابق | الممنوح | المستخدم | الرصيد الحالي | ملاحظات |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::create()->month($detail['month'])->translatedFormat('F') }} | {{ $detail['year'] }} | {{ $detail['balance_before'] }} يوم | {{ $detail['granted_this_month'] }} يوم | {{ $detail['used_this_month'] }} يوم | {{ $detail['balance_after'] }} يوم | {{ $detail['notes'] ?? '-' }} |
| الإجمالي | {{ $leaveMonthlyDetails->sum('balance_before') }} يوم | {{ $leaveMonthlyDetails->sum('granted_this_month') }} يوم | {{ $leaveMonthlyDetails->sum('used_this_month') }} يوم | {{ $leaveMonthlyDetails->sum('balance_after') }} يوم | - | |
لا توجد بيانات لتراكم الإجازات لهذا الموظف.
@endif