@extends('layouts.superadmin') @section('title','توقّع نهاية الشهر - ProMission') @section('page-title','توقّع نهاية الشهر - ProMission') @section('content') @php $pill = function($ok){ return $ok ? 'bg-emerald-500/15 text-emerald-200 border-emerald-500/25' : 'bg-rose-500/15 text-rose-200 border-rose-500/25'; }; @endphp
{{-- Header --}}

توقّع نهاية الشهر

يحسب المعدّل اليومي للفترة ويُتوقع الإنجاز حتى {{ $forecastEnd }}.

الفترة: {{ $from }}{{ $to }}
{{-- Filters --}}
إعادة ضبط الأيام: تم {{ $forecast['days_elapsed'] }} يوم • المتبقي {{ $forecast['days_remaining'] }} يوم • نهاية التوقع {{ $forecast['end'] }}
{{-- Current vs Forecast cards --}}
الحالي (إجمالي)
{{ $cur['total_hours'] }} س
{{ $progress['pct_total'] }}%
توقّع (إجمالي)
{{ $forecast['total_hours'] }} س
{{ $progress['pct_total_forecast'] }}%
القستات (الحالي/الهدف)
{{ $cur['guest_count'] }} / {{ $goals['guest_count'] }}
{{ $progress['pct_guest'] }}%
السهرات (الحالي/الهدف)
{{ $cur['sahra_hours'] }} / {{ $goals['sahra_hours'] }} س
{{ $progress['pct_sahra'] }}%
{{-- On track status --}}
على المسار: الإجمالي اللايف القست السهرة
المطلوب يوميًا (إجمالي)
{{ is_infinite($required['per_day_total']) ? '∞' : $required['per_day_total'].' س/يوم' }}
المطلوب يوميًا (لايف)
{{ is_infinite($required['per_day_live']) ? '∞' : $required['per_day_live'].' س/يوم' }}
المطلوب يوميًا (سهرة)
{{ is_infinite($required['per_day_sahra']) ? '∞' : $required['per_day_sahra'].' س/يوم' }}
المطلوب يوميًا (قست)
{{ is_infinite($required['per_day_guest']) ? '∞' : $required['per_day_guest'].' /يوم' }}
{{-- AI box --}}
تحليل ذكي
    @foreach(($ai['tips'] ?? []) as $t)
  • • {{ $t }}
  • @endforeach
@endsection