@extends('layouts.app') @section('title', 'Oportunidades') @section('content')

Oportunidades

Gestión y seguimiento de oportunidades de venta

Dashboard Pipeline Nueva Oportunidad
Limpiar
Listado de Oportunidades
@forelse($opportunities as $opportunity) @empty @endforelse
Oportunidad Cliente Vendedor Etapa Valor Estimado Probabilidad Fecha Cierre Acciones
{{ $opportunity->name }}
@if($opportunity->description) {{ Str::limit($opportunity->description, 50) }} @endif
@if($opportunity->client)
{{ Str::limit($opportunity->client->business_name, 30) }}
@else N/A @endif
@if($opportunity->salesman) {{ $opportunity->salesman->first_name }} {{ $opportunity->salesman->last_name }} @else N/A @endif {{ $opportunity->stage->name ?? 'N/A' }} ${{ number_format($opportunity->estimated_value, 2) }}
Esperado: ${{ number_format($opportunity->expected_value, 2) }}
{{ number_format($opportunity->probability, 1) }}% @if($opportunity->expected_close_date) {{ $opportunity->expected_close_date->format('d/m/Y') }} @if($opportunity->is_overdue)
Vencida @elseif($opportunity->days_to_close > 0)
{{ $opportunity->days_to_close }} días @endif @else N/A @endif
@csrf @method('DELETE')

No se encontraron oportunidades

Crear Primera Oportunidad
@if($opportunities->hasPages()) @endif
@endsection