@extends('layouts.app') @section('title', 'Risk Analysis') @section('breadcrumbs') @endsection @section('content')

Risk Analysis

AI-powered risk assessment with heat maps

@php $stats = [['label'=>'High Risk','count'=>$stats['high']??0,'icon'=>'bi-exclamation-octagon','color'=>'danger'],['label'=>'Medium Risk','count'=>$stats['medium']??0,'icon'=>'bi-exclamation-triangle','color':'warning'],['label'=>'Low Risk','count'=>$stats['low']??0,'icon'=>'bi-shield-check','color':'success'],['label'=>'Avg Risk Score','count'=>number_format($stats['avg_score']??0,1),'icon':'bi-speedometer','color'=>'primary']]; @endphp @foreach($stats as $stat)
@endforeach
Risk Heat Map
@php $categories = ['Customs', 'Financial', 'Operational', 'Compliance', 'Weather', 'Geopolitical']; $regions = ['Americas', 'Europe', 'Asia', 'Africa', 'Middle East']; @endphp @foreach($categories as $cat)
{{ $cat }}
@foreach($regions as $reg) @php $score = rand(10, 95); @endphp
{{ $score }}
@endforeach @endforeach
Low Risk Medium Risk High Risk
Risk Factors
@foreach(['Sanctions Screening' => ['low' => 92, 'color' => 'success'], 'Payment Risk' => ['medium' => 45, 'color' => 'warning'], 'Country Risk' => ['high' => 78, 'color' => 'danger'], 'Documentation' => ['low' => 88, 'color' => 'success'], 'Credit Risk' => ['medium' => 55, 'color' => 'warning']] as $factor => $data)
{{ $factor }} {{ $data['low'] ?? $data['medium'] ?? $data['high'] ?? 0 }}/100
@endforeach
@endsection