@extends('layouts.app') @section('title', 'Client Contacts') @section('content')
Client Contacts
Back to Clients
@foreach($client->contacts as $contact)
{{ $contact->name }}
@if($contact->is_primary) Primary @endif
@if($contact->position)
{{ $contact->position }}
@endif @if($contact->department)
{{ $contact->department }}
@endif @if($contact->email)
{{ $contact->email }}
@endif @if($contact->phone)
{{ $contact->phone }}
@endif
@if($contact->notes)
{{ $contact->notes }}
@endif
@if(!$contact->is_primary) @endif
@endforeach
@if($client->contacts->isEmpty())
No contacts found

Add your first contact for this client

@endif
@endsection