@if($contacts->isEmpty())
@else
@php
$counter = ($contacts->currentPage() - 1) * $contacts->perPage() + 1;
@endphp
@foreach($contacts as $contact)
@php
$counter++;
@endphp
@endforeach
@endif
{{ $contacts->onEachSide(5)->links() }}
Contact ID | Message | Created At | Control |
---|---|---|---|
There are no contacts to be shown |
|||
{{$counter}} | {{$contact->message}} | {{$contact->created_at->format('d / m / Y') }} |