@php $statusColors = [ 'TRIAL' => 'warning', 'ACTIVE' => 'success', 'PAST_DUE' => 'danger', 'SUSPENDED' => 'dark', 'CANCELED' => 'secondary', ]; $statusColor = $statusColors[$subscription->status] ?? 'secondary'; @endphp
Siklus {{ $subscription->billing_cycle === 'YEARLY' ? 'Tahunan' : 'Bulanan' }}
| Komponen | Terpakai | Batas | Status |
|---|---|---|---|
| {{ $row['label'] }} | {{ $row['used'] }} | {{ $row['unlimited'] ? 'Tak terbatas' : $row['limit'] }} | @if ($row['allowed']) Aman @else Penuh @endif |
| Waktu | Dari | Ke | Alasan | Aktor |
|---|---|---|---|---|
| {{ $event->created_at->format('d/m/Y H:i') }} | {{ $event->from_status ?: '-' }} | {{ $event->to_status }} | {{ $event->reason ?: '-' }} | {{ $event->actor ?: '-' }} |
| Belum ada riwayat. | ||||
Belum ada tagihan.
@endforelse