@php $foodProductOptionGroups = \App\Models\FoodProduct::normalizeOptionsInput(old('options', $foodProduct->options ?? [])); $foodInventoryItems = collect($foodInventoryCatalog ?? [])->values()->all(); $foodOptionErrors = collect($errors->messages()) ->filter(static fn ($messages, $key) => $key === 'options' || str_starts_with($key, 'options.')) ->flatten() ->values(); @endphp @push('styles') @endpush

Options client & supplements

1 groupe = 1 question client. Exemple : sauces, boissons, choix du pain, supplements.

@if($foodOptionErrors->isNotEmpty())
@foreach($foodOptionErrors as $optionError)

{{ $optionError }}

@endforeach
@endif
Aucun groupe d'options. Commencez par ajouter un groupe comme Supplements, Sauces ou Boisson.
@push('scripts') @endpush