@extends('front') @section('content')
@include('user.partials.sidebar')

{{ __('wishlists') }}

@forelse($wishlists as $item) @php $product = $item->product; @endphp
{{ $product->category->name ?? '' }}
{{ $product->source_name }}
{{ $product->createdBy?->full_name ?? '' }}
@if($product->createdBy->location) {{ $product->createdBy->location }} @endif
@empty
{{ __('no_wishlists_found') }}
@endforelse
@if($wishlists->hasPages())
{{ __('showing') }} {{ $wishlists->firstItem() }} {{ __('to') }} {{ $wishlists->lastItem() }} {{ __('of') }} {{ $wishlists->total() }} {{ __('entries') }}
{{ $wishlists->onEachSide(2)->links('pagination::bootstrap-4') }}
@endif
@endsection