{{-- resources/views/manufacturing/bom/index.blade.php --}} @extends('layouts.app') @section('title', 'Bill of Materials') @section('content')
| BOM # | Finished Item | Qty Produced | Material Cost | Operation Cost | Total Cost/Unit | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $bom->bom_number }} |
{{ $bom->finishedItem->name }}
{{ $bom->finishedItem->code }}
|
{{ $bom->quantity }} {{ $bom->unit }} | ৳{{ number_format($bom->total_raw_material_cost, 2) }} | ৳{{ number_format($bom->total_operation_cost, 2) }} | ৳{{ $bom->quantity > 0 ? number_format(($bom->total_raw_material_cost + $bom->total_operation_cost) / $bom->quantity, 2) : '0.00' }} | {{ $bom->is_active ? 'Active' : 'Inactive' }} @if($bom->is_default)Default@endif | |
| No BOMs yet. Create your first Bill of Materials | |||||||