@extends('back.layout.app') @section('title', config('app.name') . ' - Contacts') @php $breadcrumb = 'crm.contacts'; @endphp @section('content')

Contacts

{{ $clientContacts->count() + $prospectContacts->count() + $mediaContacts->count() }} contact(s) au total
{{-- ===== ONGLETS ===== --}}
{{-- ===== ONGLET CLIENTS ===== --}}
@can('export-contacts') @endcan
@foreach ($clientContacts as $contact) @endforeach
Contact Email Téléphone Client
{{ $contact->firstname }} {{ $contact->lastname }} @if ($contact->user_id) Accès portail @endif
@if ($contact->job) {{ $contact->job }} @endif
@if ($contact->email) {{ $contact->email }} @else @endif {{ $contact->phone ?: '—' }} @if ($contact->customer) {{ $contact->customer->name }} @else @endif @can('edit-contacts')
Modifier
@endcan @if ($contact->user_id) @can('revoke-portal')
Retirer l'accès portail
@endcan @endif @can('edit-contacts')
Supprimer
@endcan
{{ __('ui.datatable.show') }}{{ __('ui.datatable.per_page') }}
{{-- Drawer édition contact client --}}
{{-- ===== ONGLET PROSPECTS ===== --}} {{-- ===== ONGLET MÉDIAS ===== --}}
@endsection