@extends('layouts.app') @section('content') @php $locale = session()->get('locale') ? session()->get('locale') : App\Helpers\ConstantHelper::ENGLISH; @endphp {{ __('static.my_whishlist') }} @forelse ($favorites as $key => $favorite) {{ $locale == App\Helpers\ConstantHelper::ENGLISH ? @$favorite->branchView->name_en : @$favorite->branchView->name_ar }} {{ $favorite->branchView->address }} ({{ round($favorite->branchView->distance) . 'Km' }} ) @php $totalRating = round($favorite->branchView->rating); @endphp @for ($i = 1; $i <= 5; $i++) @if ($i <= $totalRating) @else @endif @endfor ({{ $totalRating }}) {{-- (4.7) --}} {{ __('label.remove') }} @if (isset($favorite->branchView->starting_from)) {{ __('static.starting_services_from') }} {{ 'EGP' . @$favorite->branchView->starting_from }} @endif @empty {{ __('admin::message.no_records_found') }} @endforelse {{ $favorites->appends(request()->input())->links('admin::partials.pagination') }} @endsection @section('script') @endsection
{{ $favorite->branchView->address }} ({{ round($favorite->branchView->distance) . 'Km' }} )
{{ __('static.starting_services_from') }} {{ 'EGP' . @$favorite->branchView->starting_from }}