Propiedades

{{ $filteredCount }} propiedades de {{ $agentCount }} agentes @if($filteredCount !== $totalCount) ({{ $totalCount }} total) @endif

@foreach($agents as $agent)
{{ strtoupper(mb_substr($agent['nombre'] ?? '?', 0, 2)) }}

{{ $agent['nombre'] ?? 'Sin nombre' }}

@if($agent['email'])

{{ $agent['email'] }}

@endif @if($agent['telefono'])

{{ $agent['telefono'] }}

@endif
Propiedades {{ $agent['property_count'] }}
@endforeach
@forelse($properties as $agentName => $agentProperties)
{{ strtoupper(mb_substr($agentName, 0, 2)) }}
{{ $agentName }} {{ $agentProperties->count() }}
@foreach($agentProperties as $prop)
{{ $prop['ref'] ?? '-' }} @if(!empty($prop['precio'])) {{ number_format((float) $prop['precio'], 0, ',', '.') }} € @endif

{{ $prop['tipo'] ?? '-' }}

{{ $prop['zona'] ?? '-' }}

@if(!empty($prop['superficie'])) {{ $prop['superficie'] }} m² @endif @if(!empty($prop['habitaciones'])) {{ $prop['habitaciones'] }} hab. @endif @if(!empty($prop['banos'])) {{ $prop['banos'] }} banos @endif
@endforeach
@empty

No se encontraron propiedades

@endforelse