Edit Dish

@csrf @method('PUT') @if ($errors->any())
Please fix the errors below
@endif
@error('name')
{{ $message }}
@enderror
@error('price')
{{ $message }}
@enderror
@error('stock')
{{ $message }}
@enderror
Alert when stock falls below this amount
@error('low_stock_threshold')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror
@if($dish->image)
Current
@php($cur = Str::startsWith($dish->image,['http://','https://']) ? $dish->image : asset('storage/'.ltrim($dish->image,'/'))) Current image
@endif
New preview
vegetarian))>
halal))>
gluten_free))>
Cancel
@push('scripts') @endpush