@forelse($sesiones as $sesion) {{-- Columna 1: Fechas y Estado --}} {{-- Columna 2: Cajero y Caja --}} {{-- Columna 3: Monto Inicial --}} {{-- Columna 4: Ventas del Sistema --}} {{-- Columna 5: Cuadre y Diferencia --}} {{-- Columna 6: Acciones --}} @empty @endforelse
Apertura / Turno Cajero Monto Inicial Ventas Sistema Cuadre (Diferencia) Detalles
@if(is_null($sesion->fecha_cierre)) lock_open Turno Activo @else lock Cerrada @endif Abre: {{ \Carbon\Carbon::parse($sesion->fecha_apertura)->format('d M, h:i A') }} @if($sesion->fecha_cierre) Cierra: {{ \Carbon\Carbon::parse($sesion->fecha_cierre)->format('d M, h:i A') }} @endif

{{ $sesion->cajero->nombre ?? 'N/A' }} {{ $sesion->cajero->apellido ?? '' }}

{{ $sesion->caja->nombre ?? 'Caja Única' }}

${{ number_format($sesion->monto_inicial_usd, 2) }}

${{ number_format($sesion->total_ventas_sistema_usd, 2) }}

Bs. {{ number_format($sesion->total_ventas_sistema_ves, 2) }}

@if(is_null($sesion->fecha_cierre)) Esperando cierre... @else @if($sesion->diferencia_usd == 0) balance CUADRE EXACTO @elseif($sesion->diferencia_usd > 0) arrow_upward SOBRÓ ${{ number_format($sesion->diferencia_usd, 2) }} @else arrow_downward FALTÓ ${{ number_format(abs($sesion->diferencia_usd), 2) }} @endif @endif
store

No hay historial de cajas

{{ $sesiones->links('pagination::tailwind') }}