{{-- This file: runs/index.blade.php --}} @extends('procurement::layouts.master') @section('title','Production Runs') @section('content') @include('procurement::components.partials.page_header',['title'=>'Production Runs','actionRoute'=>route('procurement.runs.create'),'actionLabel'=>'New Run'])
@forelse($runs as $run) @empty @endforelse
RunProjectStatusTarget QtyActual QtyTarget COGSActual COGSSell PriceMargin
{{ $run->run_number }} {{ $run->project->name ?? '—' }} {{ ucfirst(str_replace('_',' ',$run->status)) }} {{ $run->target_qty }} {{ $run->actual_qty ?: '—' }} ${{ number_format($run->target_cogs,2) }} ${{ $run->actual_cogs > 0 ? number_format($run->actual_cogs,2) : '—' }} ${{ number_format($run->sell_price,2) }} {{ $run->actual_cogs > 0 ? number_format($run->margin,1).'%' : '—' }} Edit
No runs yet.
{{ $runs->links() }} @endsection