Saved list
View allNo saved listings yet.
Browse listings@include('frontend.partials.head', ['title' => 'Fily | Customer Dashboard']) @include('frontend.dashboard.partials.styles') @php $customerName = $customer?->name ?: 'Customer'; $customerInitial = strtoupper(substr($customerName, 0, 1)); $savedListingCollection = collect($savedListings ?? []); $profileFields = ['name', 'mobile', 'email', 'city', 'state', 'address']; $completedProfileFields = collect($profileFields)->filter(fn ($field) => filled(data_get($customer, $field)))->count(); $profileStrength = (int) round(($completedProfileFields / count($profileFields)) * 100); $listingFallbackImages = [ 'job' => 'https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=400&q=80', 'rent' => 'https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=400&q=80', 'hostel' => 'https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=400&q=80', 'service' => 'https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=400&q=80', ]; $listingImage = function ($listing) use ($listingFallbackImages): string { return $listing->media_path ? asset('storage/'.$listing->media_path) : ($listingFallbackImages[$listing->listing_type] ?? $listingFallbackImages['rent']); }; $listingLocation = fn ($listing): string => collect([$listing->location, $listing->city])->filter()->implode(', ') ?: 'Location on request'; @endphp
@include('frontend.partials.header')No saved listings yet.
Browse listings