@extends('backoffice.dashboard') @section('content') @php $user = Auth::user(); @endphp @php use App\Models\Type; $types_G = Type::orderBy('id_type', 'asc')->get(); @endphp @php $hasInvestmentPermission = $user->hasPermission(20) || $user->hasPermission(31) || $user->hasPermission(36) || $user->hasPermission(42) || $user->hasPermission(48) || $user->hasPermission(54) || $user->hasPermission(60); $hasFinPermission = $user->hasPermission(66) || $user->hasPermission(72); $hasManifestationPermission = $user->hasPermission(77) || $user->hasPermission(83); $hasAubergePermission = $user->hasPermission(115) || $user->hasPermission(117) || $user->hasPermission(119); @endphp

لوحة القيادة

المعايير

إعادة تعيين
@if(($user->roles->pluck('id_roles')->contains(8) && $user->gouvernorat) || $hasInvestmentPermission)

إحصائيات الاستثمار

متابعة طلبات الاستثمار في المجال الرياضي والشبابي

إجمالي الطلبات

{{ $totaux['total'] }}
جميع المشاريع

قيد المعالجة

{{ $totaux['en_cours'] }}
{{ $totaux['total'] > 0 ? round($totaux['en_cours'] / $totaux['total'] * 100, 1) : 0 }}%

مقبولة

{{ $totaux['accepte'] }}
{{ $totaux['total'] > 0 ? round($totaux['accepte'] / $totaux['total'] * 100, 1) : 0 }}%

مرفوضة

{{ $totaux['refuse'] }}
{{ $totaux['total'] > 0 ? round($totaux['refuse'] / $totaux['total'] * 100, 1) : 0 }}%
@endif

قاعات رياضية

مشاريع البنية التحتية الرياضية

الإجمالي {{ $sallesSport['total'] }}
قيد المعالجة {{ $sallesSport['en_cours'] }}
مقبولة {{ $sallesSport['accepte'] }}
مرفوضة {{ $sallesSport['refuse'] }}

بداية النشاط

طلبات بدء النشاط الرياضي

الإجمالي {{ $debutActivite['total'] }}
قيد المعالجة {{ $debutActivite['en_cours'] }}
مقبولة {{ $debutActivite['accepte'] }}
مرفوضة {{ $debutActivite['refuse'] }}

الشباب - مؤسسات

المؤسسات الخاصة للشباب

الإجمالي {{ $jeunesseInstitutions['total'] }}
قيد المعالجة {{ $jeunesseInstitutions['en_cours'] }}
مقبولة {{ $jeunesseInstitutions['accepte'] }}
مرفوضة {{ $jeunesseInstitutions['refuse'] }}

الشباب - أنشطة

أنشطة الشباب والطفل

الإجمالي {{ $jeunesseActivites['total'] }}
قيد المعالجة {{ $jeunesseActivites['en_cours'] }}
مقبولة {{ $jeunesseActivites['accepte'] }}
مرفوضة {{ $jeunesseActivites['refuse'] }}

الفضاءات الترفيهية للشباب و الطفولة

مشاريع الترفيه للأطفال

الإجمالي {{ $jeuneEnfant['total'] }}
قيد المعالجة {{ $jeuneEnfant['en_cours'] }}
مقبولة {{ $jeuneEnfant['accepte'] }}
مرفوضة {{ $jeuneEnfant['refuse'] }}

التكوين والتدريب

الاستثمار الرياضي

الإجمالي {{ $formationStage['total'] }}
قيد المعالجة {{ $formationStage['en_cours'] }}
مقبولة {{ $formationStage['accepte'] }}
مرفوضة {{ $formationStage['refuse'] }}
@endif @if ($user && $hasFinPermission)

إدارة التمويلات

طلبات التمويل للجمعيات والمشاريع

إجمالي التمويلات

{{ $totauxFinancements['total'] }}
جميع الطلبات

قيد المعالجة

{{ $totauxFinancements['en_cours'] }}
{{ $totauxFinancements['total'] > 0 ? round($totauxFinancements['en_cours'] / $totauxFinancements['total'] * 100, 1) : 0 }}%

مقبولة

{{ $totauxFinancements['accepte'] }}
{{ $totauxFinancements['total'] > 0 ? round($totauxFinancements['accepte'] / $totauxFinancements['total'] * 100, 1) : 0 }}%

مرفوضة

{{ $totauxFinancements['refuse'] }}
{{ $totauxFinancements['total'] > 0 ? round($totauxFinancements['refuse'] / $totauxFinancements['total'] * 100, 1) : 0 }}%

طلبات التمويل

تمويل الجمعيات والمشاريع

الإجمالي {{ $financements['total'] }}
قيد المعالجة {{ $financements['en_cours'] }}
مقبولة {{ $financements['accepte'] }}
مرفوضة {{ $financements['refuse'] }}
@endif @if ($user && $hasManifestationPermission)

إدارة تنظيم التظاهرات الرياضية

طلبات التظاهرات الرياضية الوطنية والدولية

إجمالي التظاهرات

{{ $totauxManifestations['total'] }}
جميع التظاهرات

قيد المعالجة

{{ $totauxManifestations['en_cours'] }}
{{ $totauxManifestations['total'] > 0 ? round($totauxManifestations['en_cours'] / $totauxManifestations['total'] * 100, 1) : 0 }}%

مقبولة

{{ $totauxManifestations['accepte'] }}
{{ $totauxManifestations['total'] > 0 ? round($totauxManifestations['accepte'] / $totauxManifestations['total'] * 100, 1) : 0 }}%

مرفوضة

{{ $totauxManifestations['refuse'] }}
{{ $totauxManifestations['total'] > 0 ? round($totauxManifestations['refuse'] / $totauxManifestations['total'] * 100, 1) : 0 }}%

التظاهرات الوطنية

طلبات التظاهرات الرياضية الوطنية

الإجمالي {{ $manifestationsNationales['total'] }}
قيد المعالجة {{ $manifestationsNationales['en_cours'] }}
مقبولة {{ $manifestationsNationales['accepte'] }}
مرفوضة {{ $manifestationsNationales['refuse'] }}

التظاهرات الدولية

طلبات التظاهرات الرياضية الدولية

الإجمالي {{ $manifestationsInternationales['total'] }}
قيد المعالجة {{ $manifestationsInternationales['en_cours'] }}
مقبولة {{ $manifestationsInternationales['accepte'] }}
مرفوضة {{ $manifestationsInternationales['refuse'] }}
@endif @if(($user->roles->pluck('id_roles')->contains(7) && $user->auberge) || $hasAubergePermission)

إحصائيات الحجوزات والإقامة

إدارة الحجوزات @if($user->roles->pluck('id_roles')->contains(7) && $user->auberge) {{ $user->auberge->nom_ar }} @else والمركبات ومراكز إقامة الشباب @endif

إجمالي الحجوزات

{{ $totauxReservations['total'] }}
جميع الحجوزات

قيد المعالجة

{{ $totauxReservations['en_cours'] }}
{{ $totauxReservations['total'] > 0 ? round($totauxReservations['en_cours'] / $totauxReservations['total'] * 100, 1) : 0 }}%
@if(!($user->roles->pluck('id_roles')->contains(7) && $user->auberge))

مراكز الإقامة

{{ $totauxReservations['total_auberges'] }}
مركز نشط
@endif

السعة الإجمالية

{{ $totauxReservations['capacite_totale'] }}
سرير

إدارة الحجوزات

حجوزات مراكز الإقامة

الإجمالي {{ $totauxReservations['total'] }}
قيد المعالجة {{ $totauxReservations['en_cours'] }}
مقبولة {{ $totauxReservations['accepte'] }}
مرفوضة {{ $totauxReservations['refuse'] }}
@if(!($user->roles->pluck('id_roles')->contains(7) && $user->auberge))

مراكز الإقامة

المركبات ومراكز إقامة الشباب

الإجمالي {{ $auberges['total'] }}
EPA {{ $auberges['epa'] }}
غير EPA {{ $auberges['non_epa'] }}
السعة الإجمالية {{ $auberges['capacite_totale'] }}
@endif
@endif @if ($user && $user->hasPermission(130))

إدارة المناظرات

المناظرات وطلبات الترشح

إجمالي المناظرات

{{ $totauxConcours['total_concours'] }}
مناظرة مفتوحة

إجمالي المترشحين

{{ $totauxConcours['total_candidats'] }}
مترشح

قيد الدراسة

{{ $totauxConcours['en_cours'] }}
{{ $totauxConcours['total_candidats'] > 0 ? round($totauxConcours['en_cours'] / $totauxConcours['total_candidats'] * 100, 1) : 0 }}%

قبول نهائي

{{ $totauxConcours['accepte_definitif'] }}
{{ $totauxConcours['total_candidats'] > 0 ? round($totauxConcours['accepte_definitif'] / $totauxConcours['total_candidats'] * 100, 1) : 0 }}%

المناظرات

إدارة المناظرات والمترشحين

مترشحين {{ $concours['total_candidats'] }}
قيد الدراسة {{ $concours['en_cours'] }}
قبول نهائي {{ $concours['accepte_definitif'] }}
مرفوض {{ $concours['refuse'] }}
@endif
@endsection