@php $badge = ['PENDING' => 'warning', 'PAID' => 'success', 'EXPIRED' => 'secondary', 'FAILED' => 'danger', 'VOID' => 'dark']; @endphp
| Nomor | Company | Periode | Jatuh Tempo | Jumlah | Status | Aksi |
|---|---|---|---|---|---|---|
| {{ $invoice->number }} | {{ $companyNames[$invoice->company_id] ?? '#'.$invoice->company_id }} | {{ $invoice->period_start->format('d/m/Y') }} - {{ $invoice->period_end->format('d/m/Y') }} | {{ $invoice->due_date->format('d/m/Y') }} | Rp {{ number_format((float) $invoice->amount, 0, ',', '.') }} | {{ $invoice->status }} | @if ($invoice->status === 'PENDING') @else - @endif |
| Data tidak ditemukan. | ||||||