Mi portal

@if ($cuotas->isEmpty())

No tienes cuotas registradas.

@else
    @foreach ($cuotas as $cuota)
  • {{ $cuota->tipo->nombre }} · {{ $cuota->periodo }}

    {{ number_format($cuota->importe, 2, ',', '.') }} €

    $cuota->estado === 'pagada', 'bg-amber-100 text-amber-700' => $cuota->estado === 'pendiente', 'bg-red-100 text-red-700' => $cuota->estado === 'devuelta', 'bg-stone-100 text-stone-600' => $cuota->estado === 'exenta', ])>{{ \App\Models\Cuota::ESTADOS[$cuota->estado] }}
  • @endforeach
@endif