@include('pdf.partials.styles-unified')

REPORTE DE PAGOS | {{ $empresa->name }}

Caja: #{{ $caja->id }}
Fecha Apertura: {{ \Carbon\Carbon::parse($caja->fecha_apertura)->format('d/m/Y H:i') }}
Total Pagos: {{ $records->count() }}

DETALLE DE PAGOS

@php $index = 1; @endphp @forelse($records as $pago) @empty @endforelse
ID Cliente Fecha Registro Método Pago Banco N° Operación Monto
{{ $index++ }} {{ $pago->id }} {{ $pago->cliente?->razon_social ?? 'N/A' }} {{ $pago->created_at->format('d/m/Y H:i:s') }} {{ $pago->metodoPago->descripcion ?? 'N/A' }} {{ $pago->banco?->name ?? 'N/A' }} {{ $pago->num_operacion ?? 'N/A' }} S/ {{ number_format($pago->monto_total, 2) }}
No hay pagos registrados
TOTAL DE PAGOS: S/ {{ number_format($records->sum('monto_total'), 2) }}