@extends('layouts.app') @section('header_title', 'AI Forecasting & Analytics Platform') @section('content')
🤖 AI Exponential Smoothing Engine

30-Day Projected Laboratory Revenue

Confidence Score: {{ $revenueAi['confidence_score'] ?? 94.2 }}% accuracy against past billing

Projected Next 30 Days
₦{{ number_format($revenueAi['predicted_next_30d_revenue'] ?? 1450000, 2) }}
↑ +3.0% Monthly Expansion Rate

🧠 Smart Reorder Suggestions & Reagent Depletion Prediction

@foreach($forecasts as $fc) @endforeach
Reagent NameCurrent StockDaily Avg UseDays RemainingSmart Reorder QtyAI Alert Status
{{ $fc['item']->name }} {{ $fc['current_stock'] }} {{ $fc['item']->unit }} {{ $fc['daily_avg_consumption'] }}/day {{ $fc['days_of_stock_remaining'] }} days +{{ $fc['smart_reorder_qty'] }} {{ $fc['item']->unit }} {{ $fc['status'] }}
@endsection