@extends('layouts.admin') @section('title') @lang('translation.Dashboard Reservas') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Dashboard @endslot @slot('title') Reservas en Tiempo Real @endslot @endcomponent
Reservas Hoy
{{ $estadisticas['crecimiento_hoy'] ?? 0 }}% vs ayer
Pendientes
Requieren atención
Ingresos Hoy
{{ $estadisticas['crecimiento_ingresos'] ?? 0 }}% vs ayer
Ocupación
Promedio semanal
{{ $reserva->cancha->nombre ?? 'N/A' }} - {{ $reserva->fecha ? format_date_es($reserva->fecha) : 'N/A' }}
{{ format_time_range_12h($reserva->hora_inicio, $reserva->hora_fin) }}
{{ $alerta['mensaje'] }}
{{ $alerta['tiempo'] }}| Cancha | Reservas | Ingresos | Ocupación |
|---|---|---|---|
{{ $cancha->nombre }}{{ $cancha->categoria->nombre }} |
{{ $cancha->total_reservas ?? 0 }} | {{ format_currency($cancha->total_ingresos ?? 0, 0) }} |
|
| No hay datos disponibles | |||
| ID | Cliente | Cancha | Fecha | Hora | Estado | Total | Acciones |
|---|---|---|---|---|---|---|---|
| #{{ $reserva->id }} @if($reserva->created_at->diffInMinutes() < 30) Nuevo @endif |
{{ $reserva->usuario->nombre ?? 'N/A' }} {{ $reserva->usuario->apellido ?? '' }}{{ $reserva->usuario->email ?? 'N/A' }} |
{{ $reserva->cancha->nombre ?? 'N/A' }}
{{ $reserva->cancha->categoria->nombre ?? 'N/A' }} |
{{ $reserva->fecha ? format_date_es($reserva->fecha) : 'N/A' }} | {{ format_time_range_12h($reserva->hora_inicio, $reserva->hora_fin) }} | {{ ucfirst($reserva->estado) }} | {{ format_currency($reserva->total, 0) }} |
|
| No hay reservas registradas | |||||||