Detail Produk
| No | Produk | Qty | Harga | Subtotal |
|---|---|---|---|---|
| {{$index + 1}} | {{$detail->product->name}} | {{number_format($detail->quantity, 0, ',', '.')}} {{$detail->product->unit}} | Rp {{number_format($detail->purchase_price, 0, ',', '.')}} | Rp {{number_format($detail->subtotal, 0, ',', '.')}} |
| Total | Rp {{number_format($purchase->total_amount, 0, ',', '.')}} | |||
Informasi Pembelian
| No. Pembelian | {{$purchase->purchase_number}} |
|---|---|
| Supplier | {{$purchase->supplier->name}} |
| Cabang | {{$purchase->branch->name}} |
| Tanggal | {{TanggalID($purchase->purchase_date)}} |
| Status | @if($purchase->status == 'pending') Pending @elseif($purchase->status == 'completed') Selesai @else Batal @endif |
| User | {{$purchase->user->name}} |
| Catatan | {{$purchase->notes}} |
| Dibuat | {{TanggalID($purchase->created_at)}} |