@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)) }} |
|
@elseif($communication_type=='sms')
@if(isset($unseen_messages[$communication->id]))
@endif
{{ $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
|
|
@endif
@endforeach