@if($debutActivite->id_statut == 3 && $debutActivite->commentaire_motif)
سبب الرفض:
{{ $debutActivite->commentaire_motif }}
@endif
{{-- history card (compact) --}}
@if($debutActivite->statutHistories->isEmpty())
لا توجد تغييرات سابقة.
@else
@foreach($debutActivite->statutHistories as $hist)
@php
$from = optional($hist->fromStatut)->statut_ar ?? optional($hist->fromStatut)->libelle_ar ?? '—';
$to = optional($hist->toStatut)->statut_ar ?? optional($hist->toStatut)->libelle_ar ?? '—';
$toId = optional($hist->toStatut)->id_statut;
$badgeClass = $toId === 1 ? 'badge-success' : ($toId === 3 ? 'badge-danger' : 'badge-muted');
$changer = optional($hist->changer)->nom_prenom ?? optional($hist->changer)->email ?? 'نظام';
@endphp
{{ $hist->created_at->format('d/m/Y H:i') }}
بواسطة: {{ $changer }}
{{ $from }}
←
{{ $to }}
@if($hist->commentaire)
@endif
@endforeach
@endif
هوية الباعث
{{-- Type de relation --}}
{{-- Informations utilisateur --}}
{{-- Adresse --}}
@if($utilisateur && $utilisateur->adresse)
@endif
{{-- Gouvernorat --}}
@if($gouvernorat)
@endif
تاريخ بداية النشاط
تاريخ بداية النشاط يجب ان يكون بعد 15 يوما من تاريخ استلام وصل التسجيل.
الوثائق المرفقة
@php
$docs = [
'preuve_propriete_location' => [
'label' => 'نسخة من شهادة الملكية أو عقد الكراء',
'desc' => 'وثيقة تثبت ملكية أو كراء الفضاء'
],
'plan_architectural' => [
'label' => 'مخطط معماري',
'desc' => 'المخطط الهندسي المعتمد'
],
'declaration_investissement' => [
'label' => 'شهادة تصريح بالاستثمار',
'desc' => 'تصريح رسمي بالاستثمار'
],
'identification' => [
'label' => 'بطاقة تعريف / جواز سفر',
'desc' => 'وثيقة تعريف صاحب المشروع'
],
'extrait_registre_national_entreprise' => [
'label' => 'السجل الوطني للمؤسسات',
'desc' => 'وثيقة تسجيل المؤسسة'
],
'certificat_prevention' => [
'label' => 'شهادة الوقاية',
'desc' => 'وثيقة السلامة والوقاية'
],
'contrat_assurance' => [
'label' => 'عقد التأمين',
'desc' => 'عقد تأمين ساري المفعول'
],
'approbation_autorite_minicipale' => [
'label' => 'اعتماد السلطة المحلية',
'desc' => 'ترخيص من السلطة المحلية'
],
];
@endphp
@foreach($docs as $field => $meta)
{{-- Label --}}
{{ $meta['label'] }}
{{-- Action --}}
@if(!empty($debutActivite->$field))
عرض الملف
@else
غير متوفر
@endif
{{-- Description --}}
@if(!empty($meta['desc']))
{{ $meta['desc'] }}
@endif
@endforeach
@endsection
سبب / تعليق