My listing

@if(request()->anyFilled(['search', 'from_date', 'to_date', 'status'])) Reset Filters @endif Showing {{ $listings->firstItem() ?? 0 }} to {{ $listings->lastItem() ?? 0 }} of {{ $listings->total() }} results @if($listings->isEmpty()) No Listing Found! @else @foreach($listings as $list) @endforeach
Listing Status Posting date Action
image

{{ $list->title ?? '' }}

{{ $list->vin_number ?? '' }}
${{ number_format($list->price ?? 0) }}
{{ ucfirst($list->status ?? 'draft') }}
{{ $list->created_at ? $list->created_at->format('d M, Y') : '' }}
@endif
@if ($listings->hasPages())
{{-- PREVIOUS --}} @if ($listings->onFirstPage()) @else @endif {{-- PAGE LINKS --}} @foreach ($listings->getUrlRange(1, $listings->lastPage()) as $page => $url) @if ($page == $listings->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach {{-- NEXT --}} @if ($listings->hasMorePages()) @else @endif
@endif