@extends('company.layouts.app') @section('title', 'Dashboard') @section('content')

{{$contact->full_name}}

{{$contact->full_name}}
Assigned to
{{ $contact->agent->full_name }}
Mobile Phone
{{ $contact->phone }}
Business Phone
{{ $contact->bphone ?? '-' }}
Home Phone
{{ $contact->hphone ?? '-' }}
Email
{{ $contact->email ?? '-' }}
Address
{{ $contact->address ?? '-' }}
City
{{ $contact->city ?? '-' }}
State
{{ $contact->state ?? '-' }}
Zip
{{ $contact->zip ?? '-' }}
Type
{{ $contact->type ?? '-' }}
Notes
{{ $contact->note ?? '-' }}
Created
{{ $contact->created_at ?? '-' }}
Modified
{{ $contact->updated_at ?? '-' }}
Lead History
@foreach($leadhistory as $month => $contactsInMonth)
{{ $month }}
@foreach($contactsInMonth as $leadcontact)
Lead: {{ $leadcontact->conversion }}

Assigned to : {{ $leadcontact->agent->full_name ?? 'N/A' }}

Contact : {{ $leadcontact->full_name ?? 'N/A' }}

  • First Name: {{ $leadcontact->fname }}
  • Last Name: {{ $leadcontact->lname }}
  • Listing : {{ $leadcontact->listing->title ?? '-' }}
@endforeach @endforeach
Listings Interested
@foreach($leadhistory as $month => $contactsInMonth) @foreach($contactsInMonth as $leadcontact) @if ($leadcontact->listing) @endif @endforeach @endforeach
ID TITLE ACREAGE PRICE STATUS
{{ $leadcontact->listing->id }} {{ $leadcontact->listing->title ?? '-' }}

{{$leadcontact->listing->county}}, {{$leadcontact->listing->state}}

{{ $leadcontact->listing->acreage }} {{ $leadcontact->listing->price }} {{ ucfirst($leadcontact->listing->status) }}
@endsection