{{-- Supplier create / edit (field names unchanged). $supplier = null on create. --}} @php $supplier = $supplier ?? null; $cityOptions = $cities->mapWithKeys(fn ($c) => [$c->name => $c->name])->all(); @endphp
@csrf @if ($supplier) @method('PUT') @endif
@if (! empty($cityOptions)) @error('service_areas')

{{ $message }}

@enderror @endif