@forelse($businesses as $b) @php $rowRating = $b['rating'] ?? null; $rowReviews = $b['rating_total'] ?? null; $rowHasRating = $rowRating !== null && $rowRating !== '' && is_numeric($rowRating) && (float) $rowRating > 0; $rowHasReviews = $rowReviews !== null && $rowReviews !== '' && is_numeric($rowReviews) && (int) $rowReviews > 0; @endphp @empty
No businesses yet
@endforelse