@extends('backend.template.layouts.template-base')
@section('title', 'Delivery Slots | ' . config('app.name'))
@section('styles')
@include('backend.template.salad-management.styles')
@endsection
@section('content')
@php
// The customer-facing picker groups slots by `group_name` in this exact
// order, so previewing it here is the fastest way for an admin to see
// what a change will actually look like at checkout.
$preview = $slots->where('status', 'active')->groupBy('group_name');
@endphp
Time windows customers can pick at checkout — used by groceries, Vital Kitchen and the mobile app.
{{ $groupName }}Delivery Slots
Configured Slots
Drag-free ordering: the lower the sort order, the higher the slot appears at checkout.
@forelse ($slots as $slot)
Order
Group Heading
Time Window
Internal Name
Closes Before
Status
Action
@empty
{{ $slot->sort_order }}
{{ $slot->group_name }}
{{ $slot->displayLabel() }}
{{ $slot->name ?: '-' }}
@if ($slot->lead_time_minutes > 0)
{{ $slot->lead_time_minutes }} min
@else
No buffer
@endif
{{ ucfirst($slot->status) }}
@endforelse
No delivery slots yet. Add one to let customers schedule their order.
Customer Preview
How the slot picker will look at checkout.