@extends('layouts.app') @section('title', 'Reporte de Caja #' . $cashRegister->id) @section('content')
| Folio | Hora | Mesa | Cliente | Comprob. | Método | Total |
|---|---|---|---|---|---|---|
| #{{ str_pad($order->id,6,'0',STR_PAD_LEFT) }} | {{ $order->created_at->format('H:i') }} | {{ $order->table->name ?? 'POS Rápido' }} | {{ Str::limit($order->client_name ?? 'Público', 20) }} | @php $dt = $order->document_type ?? 'Ticket'; @endphp {{ $dt }} | @php $pm = $order->payment_method; $pmLabel = match($pm) { 'cash'=>'Efectivo','card'=>'Tarjeta','yape'=>'Yape','plin'=>'Plin','transferencia'=>'Transf.', default=>ucfirst($pm) }; $pmColor = match($pm) { 'cash'=>'success','card'=>'primary','yape'=>'warning','plin'=>'info', default=>'secondary' }; @endphp {{ $pmLabel }} | S/ {{ number_format($order->total, 2) }} |
| Sin ventas en este turno | ||||||
| TOTAL: | S/ {{ number_format($totalSales, 2) }} | |||||
| {{ $exp->created_at->format('H:i') }} | {{ Str::limit($exp->description ?? '-', 25) }} | S/ {{ number_format($exp->amount,2) }} |
| Total: | S/ {{ number_format($totalExpenses,2) }} | |