Tanggal Cetak: {{ date('d/m/Y H:i') }}
| No | Kode | Nama Produk | Qty | Harga Satuan | Harga Beli Total |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $barang->barang->kode ?? '-' }} | {{ $barang->barang->nama ?? '-' }} | {{ $barang->qty }} / {{ $barang->barang->satuan->nama ?? 'Qty' }} | Rp {{ number_format($barang->harga_satuan, 0, ',', '.') }} | Rp {{ number_format($barang->total_calculated, 0, ',', '.') }} |
| Subtotal | Rp {{ number_format($p->PembelianBarang->sum('subtotal'), 0, ',', '.') }} | ||||