Activité : {{ $activite->nom }}
{{-- Message Session --}}
@if(Session::has('status'))
{{ Session::get('status') }}
@endif
@php $usergroupId = Auth::user()->usergroup_id; @endphp
{{-- Informations générales --}}
Informations générales
- Code : {{ $activite->code }}
- Nom : {{ $activite->nom }}
- Description : {{ $activite->description ?? '-' }}
- Montant : {{ $activite->montant ?? '-' }}
- Date Début : {{ $activite->datedebut }}
- Date Fin : {{ $activite->datefin ?? 'En cours' }}
-
Réalisation maximale :
-
Actif :
@if(!$activite->valide)
@else
@if(in_array($usergroupId, [1,2,4]))
{{ $activite->actif ? 'OUI' : 'NON' }}
@else
@endif
@endif
-
Ouvert :
@if(!$activite->actif)
@else
@if(in_array($usergroupId, [1,2,4]))
{{ $activite->ouvert ? 'OUI' : 'NON' }}
@else
@endif
@endif
{{-- État de validation --}}
{{-- Informations liées --}}
Informations liées
- Groupe d'activité : {{ $activite->groupeactivite->nom ?? '-' }}
- Action : {{ $activite->action->nom ?? '-' }}
- Résultat : {{ $activite->resultat->nom ?? '-' }}
- Structure responsable : {{ $activite->structureresponsable->nom ?? '-' }}
{{-- Extrants --}}
Extrants
@php $canAddExtrant = ($activite->ouvert && $activite->actif) || !$activite->valide; @endphp
@if($canAddExtrant)
Nouvel Extrant
@endif
| Libellé |
Début |
Fin |
Outils |
@foreach($activite->extrants as $extrant)
| {{ $extrant->nom }} |
{{ $extrant->debut }} |
{{ $extrant->fin }} |
@if($canAddExtrant)
|
@endif
@endforeach
{{-- Étapes --}}
Étapes
| Ordre |
Nom |
Pondération |
Niveau exécution |
Source de vérification |
@foreach($activite->etapes as $etape)
| {{ $etape->ordre }} |
{{ $etape->nom }} |
{{ $etape->ponderation }} % |
{{ $etape->niveauexec }} % |
{{ $etape->sourceverif ?? '-' }} |
@endforeach
{{-- Structures partenaires --}}
Structures partenaires
@php $canAddStructure = ($activite->ouvert && $activite->actif) || !$activite->valide; @endphp
@if($canAddStructure)
Ajouter une structure
@endif
| Structure |
Ministère |
Début |
Fin |
Action |
@foreach($activite->structurespartenaires ?? [] as $structure)
| {{ $structure->nom }} ({{ $structure->code }}) |
{{ $structure->ministere->nom ?? '-' }} |
{{ $structure->pivot->datedebut ?? 'En cours' }} |
{{ $structure->pivot->datefin ?? 'En cours' }} |
@if($canAddStructure)
X |
@endif
@endforeach
{{-- Prévision / Évaluation --}}
{{-- Historique anciens intervenants --}}
Historique des anciens intervenants
| Structure |
Ministère |
Du |
Au |
@foreach($activite->structurearchives ?? [] as $structureold)
| {{ $structureold->nom }} ({{ $structureold->code }}) |
{{ $structureold->ministere->nom }} ({{ $structureold->ministere->code }}) |
{{ $structureold->pivot->datedebut }} |
{{ $structureold->pivot->datefin }} |
@endforeach