@extends('layouts.app',[ 'class' => '', 'folderActive' => '', 'elementActive' => '' ]) @section('head_supplement') @endsection @section('content')
{{ $client->client_title }}
@if(auth()->user()->user_type < 4 && (auth()->user()->client_id == 0 || !isset(auth()->user()->client_id)) )
@csrf @method('DELETE')
@endif
Coordonnées
    @if(!empty($client->adresse))
  • Adresse
    {{ $client->adresse }}
    {{ $client->cp }} {{ $client->ville }}
  • @endif @if(!empty($client->telephone))
  • Téléphone
    {{ $client->telephone }}
  • @endif @if(!empty($client->email))
  • Email
    {{ $client->email }}
  • @endif
Contacts
@if(auth()->user()->user_type < 4 && (auth()->user()->client_id == 0 || !isset(auth()->user()->client_id)) ) @endif
@foreach($contacts as $contact)
  • {{ config('various.civilite')[$contact->civilite] }} {{ $contact->contact_title }} {{ $contact->prenom }} - {{ config('types.type_contact')[$contact->type_contact] ?? '' }}
      @if(!empty($contact['telephone']))
    • Téléphone : {{ $contact['telephone']}}
    • @endif @if(!empty($contact['mobile']))
    • Mobile : {{ $contact['mobile']}}
    • @endif @if(!empty($contact['type_contact_desc']))
    • Fonction : {{ $contact['type_contact_desc']}}
    • @endif @if(!empty($contact['fax']))
    • Fax : {{ $contact['fax']}}
    • @endif @if(!empty($contact['email']))
    • Email : {{ $contact['email']}}
    • @endif @if(!empty($contact['observations']))
    • Observations : {{ $contact['observations']}}
    • @endif
    @if (!isset($contact['contact_access']) || $contact['contact_access'] == 0) @endif
  • @endforeach
    Observations
    {{ $client->observations }}
    Tarifs
    @if(auth()->user()->user_type < 4 && (auth()->user()->client_id == 0 || !isset(auth()->user()->client_id)) ) @endif
    Contrats ({{ count($contrats) }})
    @if(auth()->user()->user_type < 4 && (auth()->user()->client_id == 0 || !isset(auth()->user()->client_id)) ) @endif
    @foreach($contrats as $contrat) @endforeach
    @endsection @section('modal') @include('modals.clients.add_subcontractor') @include('modals.clients.tarifs') @include('modals.clients.contrat') @include('modals.clients.add_access') @include('modals.clients.contact') @include('modals.clients.clients') @include('modals.clients.add_file') @include('modals.doc') @endsection