@extends('layouts.app') @section('title', 'Production Risk Monitor') @section('content')

Production Risk Monitor

AI Detection of Schedule Deviations & Process Bottlenecks

@csrf
@forelse($risks as $pred) @empty @endforelse
Production Order Target Line Planned Finish Predicted Finish Risk Level Probability
{{ $pred->workOrder->work_order_no }}
{{ $pred->workOrder->product->name }}
{{ $pred->workOrder->productionLine->name ?? 'Unassigned' }}
Priority: {{ $pred->workOrder->priority }}
{{ optional(Carbon\Carbon::parse($pred->workOrder->end_date))->format('M d, H:i') ?? 'N/A' }} {{ $pred->predicted_completion_at->format('M d, H:i') }} {{ strtoupper($pred->risk_level) }}
{{ $pred->delay_probability }}%
Delay likelihood
No high-risk production orders detected.
@if($risks->hasPages()) @endif
@endsection