@foreach ([null => 'Todas', 'trial' => 'En prueba', 'active' => 'Activas', 'past_due' => 'Pago vencido', 'cancelled' => 'Canceladas', 'expired' => 'Vencidas'] as $value => $label) $status === $value, 'bg-white border border-gray-200 text-gray-700 hover:bg-gray-50' => $status !== $value, ])> {{ $label }} @endforeach
@forelse ($subscriptions as $sub) @empty @endforelse
Empresa Plan Estado Ciclo Monto Periodo actual
{{ $sub->company?->name }} {{ $sub->plan?->name }} {{ $sub->status->label() }} {{ ucfirst($sub->billing_cycle) }} $ {{ number_format($sub->amount, 0, ',', '.') }} @if ($sub->current_period_start) {{ $sub->current_period_start->format('d/m/Y') }} → {{ $sub->current_period_end?->format('d/m/Y') }} @else — @endif
@if ($subscriptions->hasPages())
{{ $subscriptions->links() }}
@endif