@error('visit_type')
{{ $message }}
@enderror
@if($visit_type === 'rental')
@endif
@if(($user_type === 'user' || $user_type === 'rental') && $visit_type === 'rental')
@if($kids_count > 0)
@endif
@endif
@if ($user_type === 'rental')
@endif
{{-- @if (!($user_type === 'promoter' && $visit_type === 'guest')) --}}
@if($visit_type === 'guest' || $visit_type === 'owner' || $visit_type === 'broker')
@endif
@if($visit_type === 'rental')
@endif
@if($visit_type === 'maintenance' || $visit_type === 'cleaning' || $visit_type === 'delivery' || $visit_type === 'other')
@endif
{{-- @endif --}}
@foreach($guests as $index => $guest)
@if($visit_type === 'guest' || $visit_type === 'owner' || $visit_type === 'broker')
Detalles de Invitado #{{ $index + 1 }}
@endif
@if($visit_type === 'rental')
Detalles de Huesped #{{ $index + 1 }}
@endif
@if($visit_type === 'maintenance' || $visit_type === 'cleaning' || $visit_type === 'delivery' || $visit_type === 'other')
Detalles de Proveedor #{{ $index + 1 }}
@endif
@if($visit_type === 'guest' || $visit_type === 'owner' || $visit_type === 'broker')
@endif
@if($visit_type === 'rental')
@endif
@if(($visit_type === 'maintenance' || $visit_type === 'cleaning' || $visit_type === 'delivery' || $visit_type === 'other'))
@endif
@endforeach
@error('message') {{ $message }}@enderror
@if ($user_type === 'promoter')
@if($visit_type === 'owner')
@foreach($units as $index => $unit)
Detalles de Unidad #{{ $index + 1 }}
@error('units.'.$index.'.condo_id')
{{ $message }}
@enderror
@error('units.'.$index.'.letter')
{{ $message }}
@enderror
@endforeach
@elseif($visit_type === 'broker')
@error('broker_investor') {{ $message }}@enderror
@endif
@endif