@extends('procurement::layouts.master') @section('title','Log Build') @section('content')

Log Build

@csrf
@foreach($componentsByProject as $projectId => $components) @endforeach Cancel
Build History
{{ $builds->sum('quantity') }} unit(s) built total
@forelse($builds as $build) @empty @endforelse
Date Project Boards Built Reference Performed By Notes
{{ $build->movement_date->format('M j, Y') }} @if($build->component->project) {{ $build->component->project->name }} @else — @endif {{ $build->quantity }} {{ $build->reference }} {{ $build->performed_by ?: '—' }} {{ $build->notes ?: '—' }}
Consumed ({{ $build->consumed->count() }})
@forelse($build->consumed as $line)
{{ $line->component->description }} ({{ $line->component->ref_designator ?: '—' }}) {{ abs($line->quantity) }}
@empty

No parts recorded for this build.

@endforelse
Excluded from this build ({{ $build->excluded->count() }})
@forelse($build->excluded as $line)
{{ $line->description }} ({{ $line->ref_designator ?: '—' }})
@empty

Every current BOM line was included.

@endforelse

Measured against today's BOM — a line added or removed from the project since this build will show up here even if the choice at build time was different.

No builds logged yet.
@endsection @push('scripts') @endpush