@extends('layouts.guest.master') @section('content') @php $locale = session()->get('locale') ? session()->get('locale') : App\Helpers\ConstantHelper::ENGLISH; @endphp {{ __('static.all') }} {{ __('static.individual') }} {{ __('static.business') }} {{-- Category Filter --}} {{ __('static.categories') }} @foreach ($categories as $key => $category) id, isset($category_key) && count($category_key) > 0 ? $category_key : []) ? 'checked' : '' }} id="example_{{ $category->id }}"> {{ $locale == App\Helpers\ConstantHelper::ARABIC ? $category->title_ar : $category->title_en }} @endforeach {{ __('static.cancel') }} {{ __('static.apply') }} {{-- Price Filter --}} {{ __('label.price') }} {{ __('static.egp') }} 50 and Below {{ __('static.egp') }} 51 - {{ __('static.egp') }} 200 {{ __('static.egp') }} 201 - {{ __('static.egp') }} 500 {{ __('static.egp') }} 501 - {{ __('static.egp') }} 1000 {{ __('static.egp') }} 1001 - {{ __('static.egp') }} 2000 {{ __('static.cancel') }} {{ __('static.apply') }} {{ $branches->total() }} {{ __('static.results_found') }} @forelse ($branches as $key => $branch) {{ $locale == App\Helpers\ConstantHelper::ARABIC ? $branch->name_ar : $branch->name_en }} {{ $branch->address }} ({{ round($branch->distance) . 'Km' }} ) @if ($branch->branchView->rating > 0) @php $totalRating = round($branch->branchView->rating); @endphp @for ($i = 1; $i <= 5; $i++) @if ($i <= $totalRating) @else @endif @endfor ({{ $totalRating }}) @endif {{ __('static.see_all_services') }} @if (@$branch->branchView->starting_from) {{ __('static.starting_services_from') }} {{ 'EGP ' . @$branch->branchView->starting_from }} @endif @empty {{ __('admin::message.no_records_found') }} @endforelse {{ $branches->appends(request()->input())->links('admin::partials.pagination') }} @endsection @section('script') @endsection
{{ $branch->address }} ({{ round($branch->distance) . 'Km' }} )
{{ __('static.starting_services_from') }} {{ 'EGP ' . @$branch->branchView->starting_from }}