{{ now()->locale('es')->isoFormat('D [de] MMMM [de] YYYY, h:mm a') }}
Préstamo {{ $prestamo->cliente_nombre_completo }}
{{ $prestamo->fecha_entrega->format('d/M/Y') }}
(Codeudor/a: {{ $prestamo->codeudor_nombre_completo }})
RESUMEN DEL PRÉSTAMO
Total Crédito ${{ number_format($prestamo->monto_credito, 0, ',', '.') }}
Modalidad {{ $prestamo->modalidad_pago }}
Número de Cuotas {{ $prestamo->numero_cuotas }}
Valor Cuota ${{ number_format($prestamo->valor_cuota, 0, ',', '.') }}
Estado {{ $prestamo->cuotas->where('pagado', true)->count() }}/{{ $prestamo->cuotas->count() }} Pagadas
PLAN DE PAGOS
@foreach($prestamo->cuotas as $cuota) @php $modalidadTexto = $prestamo->modalidad_pago === 'semanal' ? 'Semana' : ($prestamo->modalidad_pago === 'quincenal' ? 'Quincena' : 'Mes'); @endphp @endforeach
Cuota Fecha Monto Estado Pagado el Método
@if($cuota->cuota_origen_id) SALDO {{ $cuota->numero_cuota }} {{ $modalidadTexto }} @else {{ $cuota->numero_cuota }} {{ $modalidadTexto }} @endif {{ $cuota->fecha_pago->format('d/m/Y') }} ${{ number_format($cuota->monto, 0, ',', '.') }} @if($cuota->abono_parcial && $cuota->monto_original)
De ${{ number_format($cuota->monto_original, 0, ',', '.') }} @endif
@if($cuota->pagado) @if($cuota->abono_parcial) ABONO @else PAGADO @endif @else PENDIENTE @endif @if($cuota->pagado && $cuota->fecha_pago_real) {{ $cuota->fecha_pago_real->format('d/m/Y') }} @else - @endif @if($cuota->metodo_pago) {{ $cuota->metodo_pago }} @else - @endif
DATOS DEL CLIENTE
Nombre: {{ $prestamo->cliente_nombre_completo }}
Cédula: {{ $prestamo->cliente_cedula }}
Ciudad: {{ $prestamo->cliente_ciudad }}
Celular: {{ $prestamo->cliente_celular }}
@if($prestamo->cliente_email)
Email: {{ $prestamo->cliente_email }}
@endif
DATOS DEL CODEUDOR
Nombre: {{ $prestamo->codeudor_nombre_completo }}
Cédula: {{ $prestamo->codeudor_cedula }}
Ciudad: {{ $prestamo->codeudor_ciudad }}
Celular: {{ $prestamo->codeudor_celular }}
@if($prestamo->codeudor_email)
Email: {{ $prestamo->codeudor_email }}
@endif
@if($prestamo->cliente_foto_cedula)
CÉDULA DEL CLIENTE
Cédula Cliente
@endif