@extends('layouts.app') @section('content')
personne morale : {{$id_tiers}}
@if(!empty($revenant->id_revenant))
Une demande de réactivation de compte est attente pour ce membre.
@endif
{{$tiers->id_tiers}} # {{$tiers->nom_tiers}} @if(!empty($tiers->prenom_tiers))({{$tiers->prenom_tiers}})@endif
@php $groups = [ 1=>"Informations principales", 2=>"Autres informations" ]; @endphp @foreach($groups as $key=>$group)
{{$group}}
@foreach ($fields as $name => $attribues) @php $attribue_group = !empty($attribues->group)? $attribues->group : null @endphp @if($attribue_group == $key)
{{ !empty($attribues->label) ? $attribues->label : $name }} @if(!empty($attribues->value)) @switch($attribues->type) @case('date') {{(new DateTime($attribues->value))->format('d/m/Y')}} @break @case('select') {{ $attribues->value }} : @if(key_exists($attribues->value,$attribues->options)) {{$attribues->options[$attribues->value]}} @endif @break @default {{$attribues->value}} @endswitch @else ND @endif
@endif @endforeach
@endforeach
@csrf
Réactivation

@endsection @section('script') @endsection