@extends('procurement::layouts.master') @section('title','Components / BOM') @section('content') @include('procurement::components.partials.page_header',['title'=>'Components / BOM','actionRoute'=>route('procurement.components.create'),'actionLabel'=>'Add Component'])
| Ref | Description | Part # / Alts | Manufacturer | Supplier | Qty | Unit $ | Line $ | MOQ | Lead | Country | HS Code | Tariff% | Status | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $c->ref_designator ?: '—' }} |
{{ Str::limit($c->description,40) }} @if($c->notes)@endif |
{{ $c->part_number ?: '—' }}
@if($c->alt_part_number_1)Alt1: {{ $c->alt_part_number_1 }}@endif @if($c->alt_part_number_2) Alt2: {{ $c->alt_part_number_2 }}@endif |
{{ $c->manufacturer ?: '—' }} | {{ $c->supplier ?: '—' }} @if($c->website)@endif | {{ $c->qty_per_board }} | ${{ number_format($c->unit_cost,4) }} | ${{ number_format($c->line_cost,2) }} | {{ $c->moq }} | @if($c->lead_time_weeks >= 8){{ $c->lead_time_weeks }}w @elseif($c->lead_time_weeks > 0){{ $c->lead_time_weeks }}w @else—@endif | {{ $c->country_of_origin ?: '—' }} | {{ $c->hs_code ?: '—' }} | {{ $c->tariff_rate > 0 ? $c->tariff_rate.'%' : '—' }} | @php $sb=['active'=>'success','obsolete'=>'danger','under_review'=>'warning']; @endphp {{ ucwords(str_replace('_',' ',$c->status)) }} | Edit |
| No components found. | ||||||||||||||
| Page Total: | ${{ number_format($components->sum('line_cost'),2) }} | |||||||||||||