@php $channelLabels = \App\Models\MissileOutreachAttempt::channelLabels(); $outcomeLabels = \App\Models\MissileOutreachAttempt::outcomeLabels(); @endphp
{{ $missile->project_name ?: 'β€”' }}
@if($missile->prospect_phone) πŸ“ž {{ $missile->prospect_phone }} @endif @if($missile->prospect_email) Β· πŸ“§ {{ $missile->prospect_email }} @endif @if($missile->prospect_name) Β· {{ $missile->prospect_name }} @endif
{{-- ════════ Hoja de llamada: demo + Maps + web actual + contexto ════════ --}}
@if($missile->launchedProject && $missile->launchedProject->domain)
🌐 Tu demo: {{ $missile->launchedProject->domain }} {{ $missile->launchedProject->pipeline_status === 'active' ? 'lista βœ“' : 'armΓ‘ndose…' }}
@endif
@if($missile->prospect_maps_url) Ver en Maps @endif @if($missile->prospect_website) Su web actual @else Sin web propia @endif @if($missile->product_slug) {{ $missile->product_slug }} @endif
@if($missile->prospect_address)
{{ $missile->prospect_address }}
@endif @if($missile->internal_notes)
{{ $missile->internal_notes }}
@endif
{{-- ════════ Form: nuevo intento ════════ --}}
{{-- ════════ Timeline ════════ --}}
Historial ({{ $attempts->count() }} intentos)
@if($attempts->isEmpty())
Sin intentos registrados todavΓ­a.
CargΓ‘ el primero arriba.
@else
@foreach($attempts as $a) @php [$chLabel, $chIcon, $chColor] = $a->channel_label; [$outLabel, $outClass] = $a->outcome_label; @endphp
{{ $chLabel }} {{ $outLabel }} {{ $a->attempted_at?->format('d/m/Y H:i') }} @if($a->attempted_at) Β· {{ $a->attempted_at->diffForHumans() }} @endif @if($a->attemptedBy) por {{ trim(($a->attemptedBy->first_name ?? '') . ' ' . ($a->attemptedBy->last_name ?? '')) ?: $a->attemptedBy->email }} @endif
@if($a->notes)

{{ $a->notes }}

@endif @if($a->next_followup_at)
Follow-up: {{ $a->next_followup_at->format('d/m/Y H:i') }} ({{ $a->next_followup_at->diffForHumans() }}) @if($a->isFollowupDue()) Β· VENCIDO @endif
@endif
@endforeach
@endif