@php use App\Models\BusinessSetting; use App\CentralLogics\Helpers; @endphp @extends('layouts.admin.app') @section('title', $restaurant->name . "'s" . translate('messages.settings')) @section('content') @php($order_subscription = BusinessSetting::where('key', 'order_subscription')->first())
  {{ translate('messages.restaurant_settings') }}
@if ($restaurant->restaurant_model == 'commission')
@endif
@if (isset($order_subscription) && $order_subscription->value == 1)
@endif
@php($self_delivey = 0) @if ( ($restaurant->restaurant_model == 'subscription' && isset($restaurant->restaurant_sub) && $restaurant->restaurant_sub->self_delivery == 1) || ($restaurant->restaurant_model == 'commission' && $restaurant->self_delivery_system == 1)) @php($self_delivey = 1) @endif @if ($self_delivey == 1)
@endif
@csrf
@if ($self_delivey == 1)
restaurant_config?->customer_date_order_sratus == 1 ? 'required' : 'readonly' }} min="0" max="99999999" class="form-control" placeholder="30" value="{{ $restaurant?->restaurant_config?->customer_order_date ?? '' }}">
@endif @if ($restaurant->restaurant_config?->dine_in)
restaurant_config?->dine_in == 1 ? 'required' : 'disabled' }}>
@endif
@includeif('vendor-views.business-settings.partials._restaurant_schedule_data', $restaurant)
@endsection @push('script_2') @endpush