@extends('layouts.app') @section('titulo', 'Gestión de Caja') @section('contenido')
Abre la caja para empezar a vender.
Abierta por
{{ $sesion->usuario?->name ?? '—' }}
Punto de venta
{{ $sesion->puntoVenta?->nombre ?? '—' }}
Almacén
{{ $sesion->puntoVenta?->almacen?->nombre ?? '—' }}
Desde
{{ $sesion->abierta_at?->format('d/m/Y H:i') }}
Monto inicial
S/ {{ number_format($sesion->monto_inicial, 2) }}
Ventas efectivo
S/ {{ number_format($resumen['ventasEfectivo'], 2) }}
Ingresos
S/ {{ number_format($resumen['ingresos'], 2) }}
Egresos
S/ {{ number_format($resumen['egresos'], 2) }}
Esperado en caja
S/ {{ number_format($resumen['esperado'], 2) }}
| APERTURA | CIERRE | RESPONSABLE | INICIAL | ESPERADO | CONTADO | DIFERENCIA |
|---|---|---|---|---|---|---|
| {{ $h->abierta_at?->format('d/m/Y H:i') }} | {{ $h->cerrada_at?->format('d/m/Y H:i') }} | {{ $h->usuario?->name ?? '—' }} | S/ {{ number_format($h->monto_inicial, 2) }} | S/ {{ number_format($h->monto_esperado, 2) }} | S/ {{ number_format($h->monto_final, 2) }} | S/ {{ number_format($h->diferencia, 2) }} |
| Aún no hay cierres registrados. | ||||||