@include('pdf.partials.styles-unified')
Total de Clientes Morosos: {{ $total_clientes }}
Deuda Total: S/ {{ number_format($total_deuda, 2) }}
Generado: {{ $fecha_reporte }}
| N° | Documento | Razón Social | Ubicación | Celular | Deuda Pendiente | Ventas Pendientes | Días Morosidad |
|---|---|---|---|---|---|---|---|
| {{ $index++ }} | {{ $cliente->documento }} | {{ $cliente->razon_social }} | {{ $cliente->direccion ?: '—' }} | {{ $cliente->celular ?: '—' }} | S/ {{ number_format($cliente->deuda_pendiente, 2) }} | {{ $cliente->ventas_pendientes }} | @if($cliente->dias_morosidad) {{ $cliente->dias_morosidad }} días @else — @endif |
| No se encontraron clientes morosos | |||||||
| TOTALES: | S/ {{ number_format($total_deuda, 2) }} | {{ $clientes->sum('ventas_pendientes') }} | |||||