@extends('frontend.layouts.restaurant') @push('meta') @endpush @section('main-content')

{{$restaurant->name}} {{ __('frontend.restaurant_information')}}
{{ \Illuminate\Support\Str::limit($restaurant->address,65)}}

@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')
@livewire('order-cart', ['restaurant' => $restaurant])
@livewire('order-cart', ['restaurant' => $restaurant])
Modal @livewire('show-cart', ['restaurant' => $restaurant]) @endsection @section('extra-js') @endsection @section('livewire-scripts') @endsection