@if ($editing) @endif

Opening hours

Set the times customers can visit. Add another time range for a break in the day, or mark a day closed.

@foreach ($days as $dayNumber => $dayName) @php($dayIndex = $dayNumber - 1)

{{ $dayName }}

@unless ($hours[$dayIndex]['is_closed'])
@foreach ($hours[$dayIndex]['slots'] as $slotIndex => $slot)
@if (count($hours[$dayIndex]['slots']) > 1) @endif
@endforeach @error("hours.{$dayIndex}.slots")

{{ $message }}

@enderror
@else

Closed all day

@endunless
@endforeach
@unless ($editing) Previous @endunless {{ $editing ? 'Save opening hours' : 'Save and continue' }} Saving...
@if (! $editing) Set hours later @else

Saved.

@endif