|
@if($logoBase64)
|
Cornejo & Cubas
Abogados Sistema de Gestión de Expedientes Jurídicos
|
ESTADO DE CUENTAGenerado el {{ now()->format('d/m/Y · H:i') }} |
|
{{ number_format($pctGlobal, 0) }}%
ABONADO
|
SALDO PENDIENTE DE PAGO
S/ {{ number_format($totalDeuda, 2) }}
@if($closestFac)
{{ str_replace('FAC', 'RH', $closestFac->numero_factura) }} · vence el {{ $closestFac->fecha_vencimiento ? $closestFac->fecha_vencimiento->format('d/m/Y') : 'N/A' }}
@else
No hay RH registrados.
@endif
|
| 👤 DATOS DEL CLIENTE |
|
NOMBRE COMPLETO
{{ $cliente->nombre_completo }}
|
DNI / RUC
{{ $cliente->dni_ruc ?? 'No registrado' }}
|
|
TELÉFONO
{{ $cliente->telefono ?? 'No registrado' }}
|
CORREO
{{ $cliente->correo ?? 'No registrado' }}
|
| 📄 RH / CUENTAS POR COBRAR |
| RH | CONCEPTO | EMISIÓN | VENCIMIENTO | ESTADO | ACORDADO | ABONADO | RESTANTE |
|---|---|---|---|---|---|---|---|
| {{ str_replace('FAC', 'RH', $fac->numero_factura) }} | {{ Str::limit($fac->concepto, 25) }} | {{ $fac->fecha_emision->format('d/m/Y') }} | {{ $fac->fecha_vencimiento ? $fac->fecha_vencimiento->format('d/m/Y') : '—' }} | @if($fac->estado == 'Pendiente') Pendiente @elseif($fac->estado == 'Parcial') Parcial @else Pagado @endif | S/ {{ number_format($fac->monto_total, 2) }} | S/ {{ number_format($abonado, 2) }} | S/ {{ number_format($fac->deuda_restante, 2) }} |
| No hay RH registrados. | |||||||
| TOTALES | S/ {{ number_format($totalAcordado, 2) }} | S/ {{ number_format($totalAbonado, 2) }} | S/ {{ number_format($totalDeuda, 2) }} | ||||
| 💵 PAGOS REGISTRADOS · {{ str_replace('FAC', 'RH', $fac->numero_factura) }} |
| # | FECHA | TIPO | MÉTODO | REFERENCIA | MONTO | ACUMULADO |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $pago->fecha_pago->format('d/m/Y') }} | Abono | {{ $pago->metodo_pago ?? 'N/A' }} | {{ $pago->referencia ?? '—' }} | + S/ {{ number_format($pago->monto_pagado, 2) }} | S/ {{ number_format($acumulado, 2) }} |
| TOTAL ABONADO | S/ {{ number_format($acumulado, 2) }} | |||||
|
@if($nFacturas > 0)
@if($totalDeuda == 0)
PAGADO AL DÍA
@elseif($totalAbonado > 0)
TODOS LOS RH CANCELADOS
PAGO PARCIAL
@else
{{ number_format($pctGlobal, 0) }}% ABONADO
PENDIENTE
@endif
@endif
SIN ABONOS REGISTRADOS
|
Este documento es generado automáticamente por
Cornejo & Cubas Abogados y tiene carácter informativo. |