Resumen de Cuotas

Regresar
{{ $cuotas->count() }}
Cuotas Pendientes
${{ number_format($totalPendiente, 2) }}
Total a Pagar
@if($cuotas->count() > 0) {{ $cuotas->first()->FechaVencimiento }} @else -- @endif
Proximo Vencimiento
@if($cuotas->count() > 0) @foreach($cuotas as $cuota) @php $fechaVenc = \Carbon\Carbon::parse($cuota->FechaVencimiento); $diasFaltan = (int)$hoy->diffInDays($fechaVenc, false); $esVencida = $diasFaltan < 0; $venceHoy = $diasFaltan == 0; @endphp

{{ $cuota->Titular }}

Obl {{ $cuota->Obligacion }} Vence: {{ $cuota->FechaVencimiento }} @if($esVencida) Vencida @else Pendiente @endif
@php $mensaje = 'Hola ' . $cuota->Titular . ' Faltan ' . max(0, $diasFaltan) . ' Dias para el vencimiento de tu cuota por un valor de: ' . $cuota->ValorCuota . ' Best-Coin Socio: ' . $cuota->BonusSocio; @endphp
${{ number_format($cuota->ValorCuota, 2) }}
@if($esVencida) Vencida hace {{ abs($diasFaltan) }} dias @elseif($venceHoy) Vence hoy @else Faltan {{ $diasFaltan }} dias @endif
Socio: ${{ number_format($cuota->BonusSocio, 2) }} | Best: ${{ number_format($cuota->BonusBest, 2) }}
@endforeach @else

No tienes cuotas pendientes. Todo al dia!

@endif