{{-- Shared Traveler form fields. Wrapped by create.blade.php and edit.blade.php. Expects: $item (null on create), $customers, $relations, $statuses. --}} @php $dob = old('dob', $item && $item->dob ? $item->dob->format('Y-m-d') : ''); @endphp