{{ $clients->total() }} clients

@if ($commune) @endif
@foreach ($clients as $client) @endforeach
Type {!! $this->sortiIcon('type') !!} Nom {!! $this->sortiIcon('nom') !!} Prénom {!! $this->sortiIcon('prenom') !!} Adresse {!! $this->sortiIcon('adresse') !!} Code Postal {!! $this->sortiIcon('codePostal') !!} Ville {!! $this->sortiIcon('ville') !!} Téléphone {!! $this->sortiIcon('telephone1') !!} Email {!! $this->sortiIcon('mail') !!} Commentaire {!! $this->sortiIcon('debrief') !!} Projet {!! $this->sortiIcon('projet') !!} Dernier Contact {!! $this->sortiIcon('dernier_contact') !!} Paiement {!! $this->sortiIcon('dernier_paiement') !!} Rentré par {!! $this->sortiIcon('rentre_par') !!} Rentré Le {!! $this->sortiIcon('rentre_le') !!} Actions
@if (in_array($client['type'], $clientsTypesPrecontact)) @else {{ $clientsTypes[$client['type']] ?? '' }} @endif
{{ $client['nom'] }}
{{ $client['prenom'] }}
{{ $client['adresse'] }}
{{ $client['cp'] }}
{{ $client['ville'] }}
@if ($client->telephone1) {{ $client->telephone1 }} @endif @if ($client->telephone2 && $client->telephone1)
@endif @if ($client->telephone2) {{ $client->telephone2 }} @endif
{{ $client['mail'] }}
{{ $client['debrief'] }}
{{ $client['projet'] }}
@if ($client['date_dernier_commentaire']) {{ \Carbon\Carbon::parse($client['date_dernier_commentaire'])->format('d/m/Y') }} @endif @if ($client->dernier_commentaire) {{ $client->dernier_commentaire}} @endif
@if (is_null($client->dernier_paiement) && is_null($client->duree_restante))
—
@else {{ $client->dernier_paiement ?? '—' }}
@if (is_null($client->duree_restante))
Non renseigné
@elseif ($client->duree_restante <= 0)
Terminé
@else
{{ $client->duree_restante }} Jours restants
@endif @endif
{{ $client['rentre_par_str']}}
@if($client['partage_avec']) ({{ $client['partage_str'] }}) @endif
@if($isAdmin && $client['rentre_le2']) {{ \Carbon\Carbon::parse($client['rentre_le2'])->format('d/m/Y H:i') }} @else {{ \Carbon\Carbon::parse($client['rentre_le'])->format('d/m/Y') }} @endif
{{-- Bouton export CSV --}} @if($isAdmin) @endif {{-- Pagination personnalisée --}}
{{ $clients->links() }}
Page : @if($pageErrorMessage) {{ $pageErrorMessage }} @endif
@if ($showModal)

Commentaires du client #{{ $clientIdModal }}

@if (count($commentaires) > 0)
    @foreach ($commentaires as $commentaire)
  • {{ \Carbon\Carbon::parse($commentaire['date'])->format('d/m/Y') }}
    {{ $commentaire['commentaire'] }}
  • @endforeach
@else

Aucun commentaire.

@endif
@endif @if ($showCommentModal)

Ajouter un commentaire

@endif