@extends('layouts.base') @section('content') @section('breadcrumb') @endsection @if(session('success')) @endif
@php $firstInitial = strtoupper(substr($client->firstname ?? '', 0, 1)); $lastInitial = strtoupper(substr($client->lastname ?? '', 0, 1)); $initials = $firstInitial . $lastInitial; @endphp @if($initials) {{ $initials }} @endif

@if($client->exists) Modifier {{ $client->firstname ?? '-' }} {{ $client->lastname ?? '-' }} @else Créer un client @endif

@if($client->exists)
{{ $client->email }} {{ format_phone_display($client->phones?->first()?->value ?? null) }} {{ $client->address?->city ?? '-' }}
@endif
Retour
@include('partner.clients._form', [ 'client' => $client, 'application' => $application, 'users' => $users ?? collect(), 'countries' => $countries ?? collect(), 'formId' => 'clientEditForm', 'buttonsInHeader' => true, ])
@endsection