@extends('layouts.master') @section('heading')

Contact: {{ $contact->name }}

@endsection @section('content')
{{ __('Contact Information') }}
@if ($contact->formatted_address)

{!! $contact->formatted_address !!}

@endif

@if ($contact->primary_number)

Primary #: {{ $contact->primary_number }}

@endif @if ($contact->secondary_number)

Secondary #: {{ $contact->secondary_number }}

@endif @if ($contact->email)

Email: {{ $contact->email }}

@endif
{{ __('Actions') }}
@if (Auth::user()->can('contact-update')) Edit Contact @endif @if (Auth::user()->can('contact-delete'))
{{ csrf_field() }}
@endif
{{ __('Client Information') }}

{{ $contact->client->name }}

@if ($contact->client->formatted_billing_address)

Billing Address:
{!! $contact->client->formatted_billing_address !!}

@endif @if ($contact->client->formatted_shipping_address)

Shipping Address:
{!! $contact->client->formatted_shipping_address !!}

@endif

@if ($contact->client->primary_number)

Primary #: {{ $contact->client->primary_number }}

@endif @if ($contact->client->secondary_number)

Secondary #: {{ $contact->client->secondary_number }}

@endif @if ($contact->client->primary_email)

Primary Email: {{ $contact->client->primary_email }}

@endif
{{ __('Salesperson Information') }}

{{ $contact->client->user->name }}

@if ($contact->client->user->email)

{{ $contact->client->user->email }}

@endif @if ($contact->client->user->personal_number)

{{ $contact->client->user->personal_name }}

@endif @if ($contact->client->user->work_number)

{{ $contact->client->user->work_number }}

@endif
@endsection