@extends('layouts.app') @section('content') @php $locale = session()->get('locale') ? session()->get('locale') : App\Helpers\ConstantHelper::ENGLISH; @endphp {{ __('label.book_your_appointment') }} @include('customer.book-appoinment.nav-bar') @include('customer.book-appoinment.filter') {{ $branches->total() }} {{ __('static.results_found') }} @forelse ($branches as $key => $branch) {{ $locale == App\Helpers\ConstantHelper::ENGLISH ? $branch->name_en : $branch->name_ar }} {{ $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 id, $favoritesIds) ? 'checked disabled' : '' }} class="filled-in {{ in_array($branch->id, $favoritesIds) ? '' : 'whishlist-selected' }}"> {{ in_array($branch->id, $favoritesIds) ? __('static.added') : __('static.add_to_whishlist') }} @if (@$branch->branchView->starting_from) {{ __('static.starting_services_from') }} {{ __('static.egp') }}{{ @$branch->branchView->starting_from }} @endif @empty {{ __('admin::message.no_records_found') }} @endforelse {{ $branches->appends(request()->input())->links('admin::partials.pagination') }} {{ __('static.cancel') }} @endsection @section('script') @endsection
{{ $branch->address }} ({{ round($branch->distance) . 'Km' }} )
{{ __('static.starting_services_from') }} {{ __('static.egp') }}{{ @$branch->branchView->starting_from }}