@extends('admin.layout') @section('title', 'Historique des chantiers client') @section('content')

Historique des chantiers — {{ $client['RAISON_SOCIALE'] ?: $client['NOMFAMILLE'] . ' ' . $client['PRENOM'] }}

ID CLIENT {{ $client['IDCONTACT'] }}
Nom {{ $client['RAISON_SOCIALE'] ?: $client['NOMFAMILLE'] . ' ' . $client['PRENOM'] }}

Historique des chantiers ({{ $chantiers->total() }})


@if ($chantiers->count())
@foreach ($chantiers as $ch) @php $itemId = 'chantier_' . $ch['id_rdv']; $isOpen = $loop->first; @endphp

Date début {{ $ch['date_debut'] }} {{ $ch['heure_debut'] }}
Date fin {{ $ch['date_fin'] }} {{ $ch['heure_fin'] }}
Employés @if (!empty($ch['employes_details']))
    @foreach ($ch['employes_details'] as $u)
  • {{ $u['prenom'] }} {{ $u['nom'] }}
  • @endforeach
@else — @endif
Devis liés @if (!empty($ch['devis_details'])) @else — @endif
@endforeach
{{ $chantiers->links() }}
@else

Aucun chantier.

@endif
@endsection