{{ number_format($quotesTotal) }}
@extends('layouts/layoutMaster') @section('title', 'Metricas Mariachi') @section('page-style') @endsection @section('content') @php $statusMap = [ 'active' => ['label' => 'Activo', 'class' => 'success'], 'draft' => ['label' => 'Borrador', 'class' => 'secondary'], 'awaiting_plan' => ['label' => 'Sin plan', 'class' => 'warning'], 'awaiting_payment' => ['label' => 'Esperando pago', 'class' => 'warning'], 'paused' => ['label' => 'Pausado', 'class' => 'danger'], ]; $usagePercent = $openDraftLimit > 0 ? min(100, (int) round(($openDraftsCount / $openDraftLimit) * 100)) : 0; @endphp
{{ number_format($quotesTotal) }}
{{ $responseRate }}%
{{ number_format($viewsTotal) }}
{{ number_format($favoritesTotal) }}
Datos reales tomados de tus anuncios, conversaciones, favoritos y reseñas.
Aun no tienes perfil de mariachi. Completa tu perfil para ver metricas.
Activos: {{ (int) ($listingTotals['active'] ?? 0) }} · En revisión: {{ number_format((int) $listings->where('review_status', \App\Models\MariachiListing::REVIEW_PENDING)->count()) }}
@if($openDraftLimit > 0)Ultimos 30 dias: {{ number_format($views30d) }}
Ultimos 30 dias: {{ number_format($favorites30d) }}
Abiertas: {{ number_format($openQuotesTotal) }} · Ultimos 30 dias: {{ number_format($quotes30d) }}
Respondidas: {{ $repliedConversations }} / {{ $totalConversations }} · Pendientes primera respuesta: {{ $pendingFirstReply }}
Calificacion promedio: {{ number_format($approvedRatingAvg, 2) }} / 5
Periodo de analisis: ultimos 30 dias.
@if($profile->hasActiveVerification()) Verificación activa hasta {{ $profile->verification_expires_at?->format('Y-m-d') ?: 'nuevo aviso' }} @elseif($profile->verification_status === 'payment_pending') Verificación en revisión @else Sin verificación activa @endif
| Anuncio | Estado | Vistas | Favoritos | Solicitudes | Calificación | Vence | |
|---|---|---|---|---|---|---|---|
|
{{ mb_strlen($listing->title) > 45 ? mb_substr($listing->title, 0, 45).'…' : $listing->title }}
{{ $listing->city_name }}
|
{{ $statusInfo['label'] }} | {{ number_format((int) $listing->views_count) }} | {{ number_format((int) $listing->favorites_count) }} | {{ number_format((int) $listing->quotes_count) }} @if((int) $listing->open_quotes_count > 0) {{ $listing->open_quotes_count }} abiertas @endif | @if((int) $listing->approved_reviews_count > 0) {{ number_format((float) $listing->approved_rating_avg, 1) }} ★ ({{ $listing->approved_reviews_count }}) @else — @endif |
@if($expiresAt)
{{ $daysLeft !== null && $daysLeft <= 0 ? 'Vencido' : ($daysLeft.'d') }}
{{ $expiresAt->format('d/m/Y') }}
@else
—
@endif
|
Renovar |