{{ $section['section_title_main'] ?? '' }} {{ $section['section_title_last'] ?? '' }}

{{ $section['section_label'] ?? '' }}

@if(!empty($section['section_content']) && count($section['section_content']) > 0)
@foreach ($categories as $index => $category)
@php // Filter the rated services for the current category $filteredRatedServices = collect($ratedSection['section_content'])->filter(function($service) use ($category) { return $service->source_category == $category->id; }); @endphp @if ($filteredRatedServices->isEmpty())

{{ __('No high rated services found for this category.') }}

@else @foreach ($filteredRatedServices as $ratedService) @endforeach @endif
@endforeach
@else
{{ __('No high rated service available.') }}
@endif