{{-- Shared Agent Payout form. Wrapped by create.blade.php and edit.blade.php. Expects: $item (null on create), $agents, $available, $methods, $statuses, $nextRef. --}} @php $requestedOn = old('requested_on', $item && $item->requested_on ? $item->requested_on->format('Y-m-d') : date('Y-m-d')); @endphp