@extends('layout') @section('title') {{ $seo_setting->seo_title }} @endsection @section('frontend-content')

{{__('admin.Search')}}

{{__('admin.Select Category')}}

@if (request()->has('categories')) @foreach ($categories as $category) @php $is_request = false; foreach (request()->get('categories') as $request_cat) { if($request_cat == $category->slug) $is_request = true; } @endphp
@endforeach @else @foreach ($categories as $category)
@endforeach @endif

{{__('admin.Price Filter')}}

{{__('admin.Price')}}:
@forelse ($services as $index => $service)
# @auth('web')
@else
@endauth
@if ($service->category) {{ $service->category->name }} @endif
{{ currency($service->price) }}

{{ $service->title }}

@if ($service->influencer) {{ $service->influencer->name }} @endif
@php if ($service->total_review > 0) { $average = $service->average_rating; $int_average = intval($average); $next_value = $int_average + 1; $review_point = $int_average; $half_review=false; if($int_average < $average && $average < $next_value){ $review_point= $int_average + 0.5; $half_review=true; } } @endphp
@if ($service->total_review > 0) @for ($i = 1; $i <=5; $i++) @if ($i <= $review_point) @elseif ($i> $review_point ) @if ($half_review==true) @php $half_review=false @endphp @else @endif @endif @endfor @else @endif
({{ $service->total_review }})
{{__('admin.Book Now')}}
@empty

{{__('admin.Sorry!! Service not found.')}}

{{__('admin.Whoops... this information is not available for a moment')}}

{{__('admin.Back to Service')}}
@endforelse
{{ $services->links('custom_pagination') }}
@endsection