{{-- HEADER --}}

الجمهورية التونسية

وزارة الشباب و الرياضة

استمارة الإعلام ببداية النشاط

{{-- ÉTAT DU DOCUMENT --}}
@php // map status id -> bootstrap badge classes (adjust/add as you need) $statusClasses = [ 1 => 'bg-success', 2 => 'bg-warning text-dark', 3 => 'bg-danger', 4 => 'bg-info text-dark', 5 => 'bg-secondary', 6 => 'bg-secondary', ]; $class = $statusClasses[$debutActivite->id_statut] ?? 'bg-warning text-dark'; $locale = app()->getLocale(); // 'ar' | 'fr' | 'en' $labelKey = 'statut_'.$locale; $statusLabel = $debutActivite->statut->{$labelKey} ?? $debutActivite->statut->statut_en ?? __('site.unknown'); // determine which comment to show (prefer the current record's commentaire_motif) $currentComment = !empty($debutActivite->commentaire_motif) ? $debutActivite->commentaire_motif : ($relevantHistory->commentaire ?? null); // if relevantHistory exists and we want metadata: $historyAuthor = $relevantHistory->changer->name ?? $relevantHistory->changed_by ?? null; $historyAt = isset($relevantHistory->created_at) ? $relevantHistory->created_at->format('Y-m-d H:i') : null; @endphp
حالة الطلب {{ $statusLabel }}
@if(!empty($currentComment))
{{ __('site.start_activity.current_comment') }} {{ $currentComment}}
@endif
{{-- IDENTITÉ DU PORTEUR --}}

هوية الباعث

الاسم و اللقب أو الاسم التجاري {{ $debutActivite->immobilier->utilisateur->nom_prenom ?? '-' }}
رقم الهوية {{ $debutActivite->immobilier->utilisateur->cin ?? $debutActivite->immobilier->utilisateur->passport ?? $debutActivite->immobilier->utilisateur->num_fiscal ?? '-' }}
الهاتف {{ $debutActivite->immobilier->utilisateur->tel ?? '-' }}
البريد الإلكتروني {{ $debutActivite->immobilier->utilisateur->email ?? '-' }}
{{-- DATE DE DÉBUT --}}

تاريخ بداية النشاط

تاريخ البداية {{ $debutActivite->date_debut_activite ? $debutActivite->date_debut_activite->format('d/m/Y') : '-' }}
{{-- DOCUMENTS (commentés pour l’instant) --}} {{--

الوثائق المرفقة

@php $docs = [ 'preuve_propriete_location' => 'نسخة من شهادة الملكية أو عقد الكراء ...', 'plan_architectural' => 'مخطط معماري ...', 'declaration_investissement' => 'شهادة تصريح بالاستثمار ...', 'identification' => 'بطاقة تعريف / جواز ...', 'extrait_registre_national_entreprise' => 'السجل الوطني للمؤسسات ...', 'certificat_prevention' => 'شهادة الوقاية ...', 'contrat_assurance' => 'عقد التأمين ...', 'approbation_autorite_minicipale' => 'اعتماد السلطة المحلية ...' ]; @endphp @foreach($docs as $field => $label) @endforeach
الوثيقة عرض الملف
{{ $label }} @if($debutActivite->$field) عرض الملف @else - @endif
--}}