@if($communication_type=='email') @elseif($communication_type=='sms') @endif @foreach ($communications as $communication) @if($communication_type=='email') @elseif($communication_type=='sms') @if(isset($unseen_messages[$communication->id])) @endif @endif @endforeach
Sent by Dealer Email Subject Date ShowDealer Phone Last Message Date Show
@if(isset($communication->user)) {{ $communication->user->first_name }} {{ $communication->user->last_name }} @endif {{ $dealer_names[$communication->coid] }} {{ $communication->email }} {{ $communication->subject }} {{ date('m/d/Y H:i', strtotime($communication->created_at)) }}
{{ $dealer_names[$communication->coid] }} {{ $communication->user_identifier }} @if(isset($last_messages[$communication->id])) {{ $last_messages[$communication->id] }} @endif @if(isset($last_datetime[$communication->id])) {{ date('m/d/Y H:i', strtotime($last_datetime[$communication->id]) - 60 * 60 * 5) }} @endif
{{ $communications->links() }}