@extends('layouts.customer') @section('content')

Online Ordering Availability

Create Availability @php $filter_items = [ 'this_week' => 'This Week', 'last_week' => 'Last Week', 'this_month' => 'This Month', 'last_month' => 'Last Month', 'this_year' => 'This Year', 'last_year' => 'Last Year', ]; @endphp
-- no location -- Master
Select a location
@if(isset($locations)) @endif
{!! Form::open(['route' => ['restaurants.online-ordering.availability.index', ['account'=>$account, 'restaurant' => $restaurant]], 'method' => 'GET', 'id' => 'date-filter-form', 'style'=>'display:inline']) !!} {{ Form::hidden( 'to', request()->get('to') ?? '', ['id' => 'to-date'] ) }} {{ Form::hidden( 'from', request()->get('from') ?? '', ['id' => 'from-date'] ) }} {!! Form::close() !!}

Create and manage custom online ordering hours for special dates. Use this section to adjust your restaurant’s availability for holidays, events, or maintenance days. These settings temporarily override your weekly schedule.

@if ($message = Session::get('success'))

{{ $message }}

@endif
@if($specialDays) @foreach($specialDays as $specialDay) @endforeach @else @endif
Date Opening Time Closing Time Cut Off Time (Mins) Action
{{ $specialDay->date ? \Carbon\Carbon::parse($specialDay->date)->format('F j, Y') : '-' }}
{{ $specialDay->note ?? '' }}
{{ $specialDay->open_time ?? '-' }} {{ $specialDay->close_time ?? '-' }} {{ $specialDay->cutoff_time ?? '-' }}
No record found!
@endsection @section('script') @endsection