{{-- table loader --}}
{{__('admin.loading')}}
{{-- table loader --}} {{-- table content --}} @foreach($contacts as $contact) @endforeach
{{__('admin.date')}} {{ __('admin.user_name') }} {{__('admin.phone')}} {{__('admin.message_type')}} {{__('admin.control')}}
{{\Carbon\Carbon::parse($contact->created_at)->format('d/m/Y')}} {{$contact->user_name ??$contact->contactable?->name}} {{$contact->phone ?? $contact->contactable?->phone}} {{$contact->model_type}}
{{-- table content --}} {{-- no data found div --}} @if ($contacts->count() == 0)
{{__('admin.there_are_no_matches_matching')}}
@endif {{-- no data found div --}}
{{-- pagination links div --}} @if ($contacts->count() > 0 && $contacts instanceof \Illuminate\Pagination\AbstractPaginator )
{{$contacts->links()}}
@endif {{-- pagination links div --}}