{{ $title }}

من {{ $data['start_date'] }} إلى {{ $data['end_date'] }}

تاريخ التقرير: {{ now()->format('Y-m-d H:i') }}

@forelse($technicians as $technician) @php $completedTotal = $technician->completed_total ?? 0; $completedFee = $technician->completed_fee ?? 0; $completedCommission = $technician->completed_commission ?? 0; $technicianNet = $completedCommission; @endphp @empty @endforelse
الاسم البريد الإلكتروني رقم الهاتف الخدمة عدد الطلبات إجمالي المكتمل رسوم التطبيق إجمالي المستحقات صافي الفني تاريخ التسجيل الحالة
{{ $technician->name }} {{ $technician->email }} {{ $technician->phone ?? '-' }} {{ $technician->service?->getTranslation('name', 'ar') ?? '-' }} {{ $technician->orders_count ?? 0 }} {{ number_format($completedTotal, 2) }} ر.س {{ number_format($completedFee, 2) }} ر.س {{ number_format($completedCommission, 2) }} ر.س {{ number_format($technicianNet, 2) }} ر.س {{ $technician->created_at->format('Y-m-d') }} {{ $technician->is_active ? 'نشط' : 'غير نشط' }}
لا يوجد فنيين
إجمالي الفنيين: {{ $technicians->count() }}
الفنيين النشطين: {{ $technicians->where('is_active', true)->count() }}
إجمالي قيمة الطلبات المكتملة: {{ number_format($technicians->sum('completed_total'), 2) }} ر.س
إجمالي رسوم التطبيق: {{ number_format($technicians->sum('completed_fee'), 2) }} ر.س
إجمالي مستحقات الفنيين: {{ number_format($technicians->sum('completed_commission'), 2) }} ر.س
صافي ربح التطبيق من الفنيين: {{ number_format($technicians->sum('completed_fee'), 2) }} ر.س