@extends('layouts.app') @section('title', 'Activité') @section('content')

Détails Activité

⏳ Génération en cours...

Activité : {{ $activite->nom }}

{{-- Message Session --}} @if(Session::has('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 --}}
État de validation
@if($usergroupId == 4) @else {{ $activite->valide ? 'VALIDE' : 'NON VALIDE' }} @endif
{{-- 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 @foreach($activite->extrants as $extrant) @if($canAddExtrant) @endif @endforeach
Libellé Début Fin Outils
{{ $extrant->nom }} {{ $extrant->debut }} {{ $extrant->fin }}
{{-- Étapes --}}
Étapes
@foreach($activite->etapes as $etape) @endforeach
Ordre Nom Pondération Niveau exécution Source de vérification
{{ $etape->ordre }} {{ $etape->nom }} {{ $etape->ponderation }} % {{ $etape->niveauexec }} % {{ $etape->sourceverif ?? '-' }}
{{-- Structures partenaires --}}
Structures partenaires
@php $canAddStructure = ($activite->ouvert && $activite->actif) || !$activite->valide; @endphp @if($canAddStructure) Ajouter une structure @endif @foreach($activite->structurespartenaires ?? [] as $structure) @if($canAddStructure) @endif @endforeach
Structure Ministère Début Fin Action
{{ $structure->nom }} ({{ $structure->code }}) {{ $structure->ministere->nom ?? '-' }} {{ $structure->pivot->datedebut ?? 'En cours' }} {{ $structure->pivot->datefin ?? 'En cours' }}X
{{-- Prévision / Évaluation --}} {{-- Historique anciens intervenants --}}
Historique des anciens intervenants
@foreach($activite->structurearchives ?? [] as $structureold) @endforeach
Structure Ministère Du Au
{{ $structureold->nom }} ({{ $structureold->code }}) {{ $structureold->ministere->nom }} ({{ $structureold->ministere->code }}) {{ $structureold->pivot->datedebut }} {{ $structureold->pivot->datefin }}
@endsection