{{-- resources/views/manufacturing/bom/index.blade.php --}} @extends('layouts.app') @section('title', 'Bill of Materials') @section('content')
@forelse($boms as $bom) @empty @endforelse
BOM #Finished ItemQty ProducedMaterial CostOperation CostTotal Cost/UnitStatusActions
{{ $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
@if($boms->hasPages()) @endif
@endsection