{{-- Success Alerts --}}
@if(session('success'))
{{-- Pagination --}}
{{ session('success') }}
@endif
| Sr No | Customer Name | Mobile No. | Location | Wishlist Folders | Total Items | Date | Action |
|---|---|---|---|---|---|---|---|
| {{ ($wishlists->currentPage() - 1) * $wishlists->perPage() + $index + 1 }} | {{ $firstWishlist->customer->name ?? $firstWishlist->user->name ?? 'N/A' }} | {{ $firstWishlist->customer->mobile_no ?? $firstWishlist->user->mobile ?? 'N/A' }} | {{ $firstWishlist->customer->location ?? $firstWishlist->user->address ?? 'N/A' }} |
@foreach($customerWishlists->take(2) as $wl)
{{ $wl->name }}
@endforeach
@if($customerWishlists->count() > 2)
...
@endif
|
{{ $totalItems }} Items | {{ $firstWishlist->created_at->format('d-m-Y') }} | {{-- Actions --}}@if($status === 'pending') {{-- Convert to quotation --}} @else Converted @endif {{-- View items button --}} {{-- Delete wishlist button --}} |
| No Wishlists found | |||||||
{{ $wishlists->links('pagination::bootstrap-5') }}