تقرير التكريمات والمكافآت

نظام إدارة فريق الوفاء الذهبي
تاريخ التقرير: {{ now()->format('Y/m/d H:i') }}

الإحصائيات العامة

{{ $honorsRewards->count() }}
إجمالي العدد
{{ $honorsRewards->where('type', 'honor')->count() }}
التكريمات
{{ $honorsRewards->where('type', 'reward')->count() }}
المكافآت
{{ $honorsRewards->where('status', 'active')->count() }}
نشط
{{ $honorsRewards->where('status', 'completed')->count() }}
مكتمل
{{ $honorsRewards->sum('points_amount') ?: 0 }}
إجمالي النقاط
{{ $honorsRewards->sum('recipients_count') }}
إجمالي المستلمين
{{ $honorsRewards->where('status', 'cancelled')->count() }}
ملغي
@if($honorsRewards->isNotEmpty()) @foreach($honorsRewards as $item)

{{ $item->title }}

{{ $item->type_text }}
المنشئ: {{ $item->creator->name }}
التاريخ: {{ $item->created_at->format('Y/m/d') }}
الحالة: {{ $item->status_text }}
المستلمين: {{ $item->recipients_count }} شخص
@if($item->points_amount)
النقاط: {{ $item->points_amount }} نقطة
@endif @if($item->rank)
الرتبة: {{ $item->rank->name }}
@endif @if($item->executed_at)
تاريخ التنفيذ: {{ $item->executed_at->format('Y/m/d H:i') }}
@endif

سبب {{ $item->type_text }}:

{{ $item->reason }}

@if($item->additional_notes)

ملاحظات إضافية:

{{ $item->additional_notes }}

@endif @if($item->recipients->isNotEmpty())

المستلمون ({{ $item->recipients->count() }}):

@foreach($item->recipients as $recipient)
{{ $recipient->user->name }}
{{ $recipient->user->email }}
@if($recipient->awarded_at)
✓ تم المنح: {{ $recipient->awarded_at->format('Y/m/d') }}
@endif
@endforeach
@endif
@endforeach @else

لا توجد بيانات للعرض

لا توجد تكريمات أو مكافآت تطابق المعايير المحددة.

@endif