@extends('procurement::layouts.master') @section('title','Purchase Planner') @section('content')

Purchase Planner

Start Over

Nothing here is saved — adjust quantities freely and the totals below update live. Reload or leave the page and it resets. To Purchase already nets out what's on hand.

@if($scope !== 'custom') @foreach($sections as $i => $section)
{{ $section['project']->name }}{{ $section['project']->code ? ' ('.$section['project']->code.')' : '' }}
@if($section['run']) Run {{ $section['run']->run_number }} — target qty {{ $section['run']->target_qty }} @else Custom quantity @endif
@forelse($section['components'] as $c) @empty @endforelse
Ref Part / Description Category Qty / Unit Base Qty Additional Qty Total Qty On Hand To Purchase Unit Cost Extended Cost
{{ $c['ref_designator'] ?: '—' }} {{ $c['part_number'] ?: '—' }}
{{ Str::limit($c['description'], 60) }}
{{ $c['category'] }} {{ $c['qty_per_unit'] }} 0 0 {{ $c['on_hand'] }} 0 $0.00
This project has no active BOM lines.
Section Subtotal $0.00
Cost / Board $0.00
@endforeach @else
Custom Parts List
Part / Description Category Quantity On Hand To Purchase Unit Cost Extended Cost
No parts added yet — use the picker above.
@endif
Grand Total

$0.00

@endsection @push('scripts') @endpush