مؤشر الصحة التشغيلية
{{ number_format($score, 1) }}%
مبني على هامش الربح + التحصيل - مشاكل البيانات
هامش الربح
{{ number_format($marginPercent, 1) }}%
{{ number_format((float)($totals->total_profit ?? 0), 2) }} / {{ number_format((float)($totals->total_revenue ?? 0), 2) }}
معدل التحصيل
{{ number_format($collectionRatePercent, 1) }}%
{{ number_format((float)($collectionKpis->paid_amount ?? 0), 2) }} من {{ number_format((float)($collectionKpis->billed_amount ?? 0), 2) }}
أفضل شركة
{{ $bestCompany?->company_name ?? 'لا يوجد' }}
صافي الربح: {{ number_format((float)($bestCompany->total_net_profit ?? 0), 2) }}
@if($comparison['has_range'])
تغير الربح: {{ $comparison['profit_growth'] === null ? 'جديد' : number_format($comparison['profit_growth'], 1).'%' }}
تغير الإيراد: {{ $comparison['revenue_growth'] === null ? 'جديد' : number_format($comparison['revenue_growth'], 1).'%' }}
تغير عدد الرحلات: {{ $comparison['trips_growth'] === null ? 'جديد' : number_format($comparison['trips_growth'], 1).'%' }}
@endif
إجمالي الإيراد
{{ number_format((float)($totals->total_revenue ?? 0), 2) }}
إجمالي التكلفة
{{ number_format((float)($totals->total_cost ?? 0), 2) }}
إجمالي الربح
{{ number_format((float)($totals->total_profit ?? 0), 2) }}
صافي الربح بعد الضريبة
{{ number_format((float)($taxKpis->net_profit_after_tax ?? 0), 2) }}
متوسط قيمة الرحلة
{{ number_format((float)($opsKpis->avg_ticket ?? 0), 2) }}
متوسط ربح الرحلة
{{ number_format((float)($opsKpis->avg_profit_per_trip ?? 0), 2) }}
إجمالي الرحلات
{{ number_format((float)($totals->total_trips ?? 0)) }}
إجمالي الكمية
{{ number_format((float)($totals->total_quantity ?? 0), 2) }}
رحلات رابحة
{{ number_format((float)($opsKpis->profitable_trips ?? 0)) }}
رحلات خاسرة
{{ number_format((float)($opsKpis->loss_trips ?? 0)) }}
ضريبة السعر
{{ number_format((float)($taxKpis->total_tax ?? 0), 2) }}
خصم 1%
{{ number_format((float)($taxKpis->total_one_percent ?? 0), 2) }}
المحصل
{{ number_format((float)($collectionKpis->paid_amount ?? 0), 2) }}
تحت التحصيل
{{ number_format((float)($collectionKpis->checks_under_collection ?? 0), 2) }}
رصيد مستحق
{{ number_format((float)($collectionKpis->outstanding_amount ?? 0), 2) }}
نواقص بيانات
{{ number_format((float)(($qualityKpis->missing_invoice_date ?? 0) + ($qualityKpis->missing_receipt_date ?? 0) + ($qualityKpis->missing_tax_invoice ?? 0))) }}