| Kode | {{$bom->code}} |
| Tgl | {{$bom->date}} |
| Produk | {{$bom->product ? $bom->product->name : "-"}} |
| Deskripsi | {{$bom->description}} |
| Kode | Item | Unit | Standard Cost | Qty | Total Cost |
| {{$item->product ? $item->product->code : "-"}} | {{$item->product ? $item->product->name : "-"}} | {{$item->product ? $item->product->purchase_unit : "-"}} | {{number_format(($item->product ? $item->product->cost_of_products_sold : 0),2,',','.') }} | {{$item->quantity}} | {{number_format($total ?? 0,2,',','.')}} |
| Total | {{number_format($totalQty ?? 0,2,',','.')}} | {{number_format($totalCost ?? 0,2,',','.')}} | |||