| Nomor Faktur | Nama Distributor | Tanggal Transaksi | Jenis Transaksi | Tanggal Jatuh Tempo | Total |
|---|---|---|---|---|---|
| {{ $drugBuy->invoice_number ?? '-' }} | {{ optional($drugBuy->distributor)->name ?? '-' }} {{ optional($drugBuy->distributor)->is_active ? 'Aktif' : 'Nonaktif' }} | {{ optional($drugBuy->date)->format('d/m/Y') ?? '-' }} | {{ $drugBuy->transaction_type ?? '-' }} | {{ optional($drugBuy->due_date)->format('d/m/Y') ?? '-' }} | {{ money_format_idr($drugBuy->total_buy) ?? '-' }} |