@php $configData = Helper::appClasses(); $pendingOffers = $domain->offers->where('status', \App\Enums\OfferStatus::Pending)->count(); @endphp @extends('layouts/layoutMaster') @section('title', $domain->name) @section('vendor-style') @vite(['resources/assets/vendor/libs/apex-charts/apex-charts.scss']) @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/apex-charts/apexcharts.js']) @endsection @section('page-script') @vite(['resources/assets/js/domain-show.js']) @endsection @section('content')
@include('_partials.alerts')
{{ strtoupper(substr($domain->name, 0, 1)) }}
{{ $domain->name }}
@include('content.domains._status_badge', ['domain' => $domain])
{{ $domain->days_until_expiration }}
Días para vencer
{{ $domain->offers->count() }}
Ofertas
Detalles
  • Categoría {{ $domain->category?->name ?? '—' }}
  • Registrador {{ $domain->registrar ?? '—' }}
  • Prioridad {{ $domain->priority->label() }}
  • Fecha de compra {{ $domain->purchase_date->format('d/m/Y') }}
  • Fecha de vencimiento {{ $domain->timeUntilExpirationCompact() }} {{ $domain->expirationDateHuman() }}
  • @if ($domain->estimated_renewal_cost)
  • Costo estimado de renovación {{ \App\Models\Currency::format($domain->estimated_renewal_cost, $domain->currency) }}/año
  • @endif
  • Costo inicial {{ \App\Models\Currency::format($domain->purchase_cost, $domain->currency) }}
  • Última renovación {{ $domain->renewal_date ? $domain->renewal_date->format('d/m/Y') : 'Nunca renovado' }} @if ($domain->renewal_cost) ({{ \App\Models\Currency::format($domain->renewal_cost, $domain->currency) }}) @endif
  • Renovación automática {{ $domain->auto_renew ? 'Sí' : 'No' }}
@if ($domain->notes)

{{ $domain->notes }}

@endif
Editar
Renovaciones
  • Próximo vencimiento {{ $domain->timeUntilExpirationCompact() }} {{ $domain->expirationDateHuman() }}
  • @if ($domain->estimated_renewal_cost)
  • Costo estimado {{ \App\Models\Currency::format($domain->estimated_renewal_cost, $domain->currency) }}/año
  • @endif
@php $renewalLogs = $domain->logs->where('type', \App\Enums\DomainLogType::Renewal); @endphp @if ($renewalLogs->isNotEmpty())
    @foreach ($renewalLogs as $log)
  • {{ $log->created_at->format('d/m/Y H:i') }}

    {{ $log->description }}

  • @endforeach
@else

Todavía no se ha registrado ninguna renovación.

@endif
Ofertas recibidas
@forelse ($domain->offers as $offer) @empty @endforelse
De Monto Mensaje Estado Fecha Acciones
{{ $offer->name ?: '—' }} {{ $offer->email }} @if ($offer->phone) {{ $offer->phone }} @endif {{ $offer->currency }} {{ number_format($offer->amount, 2) }} {{ $offer->message ?: '—' }} @include('content.domains._offer_status_badge', ['status' => $offer->status]) {{ $offer->created_at->format('d/m/Y') }} @if ($offer->status->value === 'pending')
@csrf
@csrf
@endif
Todavía no hay ofertas para este dominio.
Métricas de la landing
{{ $totalVisits }} visitas totales
Bitácora
@csrf
    @forelse ($domain->logs as $log)
  • {{ $log->type->label() }} {{ $log->created_at->format('d/m/Y H:i') }}

    {{ $log->description }}

    @if ($log->user) — {{ $log->user->name }} @endif
  • @empty

    Todavía no hay movimientos registrados.

    @endforelse
SEO de la landing pública

Se usan en el <title> y la meta descripción de la página pública cuando el dominio está en venta. Si se dejan vacíos, se usa un texto genérico.

@csrf @method('PUT')
@error('seo_title')
{{ $message }}
@enderror
@error('seo_description')
{{ $message }}
@enderror
@endsection