@foreach ($serviceProvider->bookings->take(7) as $booking)
@php
$imagePath = $booking->getUser->image
? asset($booking->getUser->image)
: null;
$fileExists =
$imagePath && file_exists(public_path($booking->getUser->image));
@endphp
@if ($fileExists)

@else
@endif
@endforeach
{{-- Show "+X" if there are more than 7 patients --}}
@if ($serviceProvider->todayBookings > 7)
+{{ $serviceProvider->todayBookings - 7 }}
@endif