{{-- Nozzle create/edit form body (field names unchanged). $nozzle is null on create. --}}
@php
use Modules\Station\View\StationContext;
$n = $nozzle ?? null;
$sn = StationContext::stationName();
$pumpOptions = $pumps->mapWithKeys(fn ($p) => [$p->id => StationContext::short($p->name, $sn).($p->code ? ' ('.$p->code.')' : '')])->all();
$tankOptions = $tanks->mapWithKeys(fn ($t) => [$t->id => StationContext::short($t->name, $sn).' · '.($t->fuelType->name ?? 'غير محدد').($t->code ? ' ('.$t->code.')' : '')])->all();
@endphp