user() !== null; } public function rules(): array { return [ 'invoice_number' => ['nullable', 'string', 'max:100'], ]; } }