@if(!blank($restaurant->cuisines))
@foreach($restaurant->cuisines as $cuisine)
{{$cuisine->name}}
@if(!$loop->last)
,
@endif
@endforeach
@endif
@if(!$average_rating ==0)
@endif
@if (Schema::hasColumn('coupons', 'slug'))
@if(array_key_exists( $restaurant->id,$vouchers))
@php
$amount = ( $vouchers[$restaurant->id]->discount_type == \App\Enums\DiscountType::FIXED ) ?
currencyName(round($vouchers[$restaurant->id]->amount)) :
round($vouchers[$restaurant->id]->amount).'%';
@endphp
{{__('frontend.voucher')}} {{$vouchers[$restaurant->id]->slug}}
{{__('frontend.use_voucher')}} {{$vouchers[$restaurant->id]->slug}}
{{__('frontend.and_get')}} {{ $amount }} {{__('frontend.off_on_orders_over')}}
{{ currencyName( $vouchers[$restaurant->id]->minimum_order_amount)}}
@endif
@endif
@livewire('show-page', ['restaurant' => $restaurant])
@if($restaurant->table_status == \App\Enums\TableStatus::ENABLE)
{{ __('frontend.table_booking') }}
@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
@endif
@include('frontend.partials._footer')
@foreach($ratings as $rating)-
{{$rating->user->name}}
{{ $rating->updated_at->format('d M Y, h:i A') }}
@if(!$loop->last)
@endforeach
{{$rating->review}}
@endif