{{-- Shared CRM Activity form fields. Wrapped by create.blade.php and edit.blade.php. Expects: $item (null on create), $customers, $leads, $types, $channels. --}} @php $activityDate = old('activity_date', $item && $item->activity_date ? $item->activity_date->format('Y-m-d') : ''); @endphp