@extends('procurement::layouts.master') @section('title',$run->run_number) @section('content')

{{ $run->project->name }} — {{ $run->run_number }}

Edit ← Back
Status
{{ ucfirst(str_replace('_',' ',$run->status)) }}
Target Qty
{{ $run->target_qty }}
Actual Qty
{{ $run->actual_qty ?: '—' }}
Target COGS
${{ number_format($run->target_cogs,4) }}
Actual COGS
${{ $run->actual_cogs > 0 ? number_format($run->actual_cogs,4) : '—' }}
Sell Price
${{ number_format($run->sell_price,2) }}
Margin
{{ $run->actual_cogs > 0 ? number_format($run->margin,1).'%' : '—' }}
Start
{{ $run->start_date?->format('M j, Y') ?? '—' }}
End
{{ $run->end_date?->format('M j, Y') ?? '—' }}
Purchase Orders for this Run
@forelse($run->orders as $order) @empty @endforelse
PO #SupplierStatusTotal
{{ $order->po_number }} {{ $order->supplier->name ?? '—' }} {{ ucfirst($order->status) }} ${{ number_format($order->total_amount,2) }}
No orders linked to this run
@endsection