@foreach($drugs as $drug) @endforeach
NO KODE NAMA HARGA STOK LETAK PRINCIPAL STATUS TANGGAL MASUK
{{ $loop->iteration }} {{ $drug->code }} {{ $drug->name }} {{ money_format_idr($drug->price) }} {{ $drug->quantity }}/{{ $drug->minimal }} {{ $drug->unit }} {{ $drug->placement }} {{ $drug->principal }} {{ $drug->is_active ? 'Aktif' : 'Nonaktif' }} {{ optional($drug->entered_at)->format('d/m/Y') }}