{{-- php setup-----------------------------------------}} @php function getGradientColor($value): string { $t = ($value - 1) / 4; // Max RGB value slightly dimmed (from 255 down to ~220) $max = 230; $min = 20; if ($t <= 0.5) { // Green → Yellow (0,max,0) to (max,max,0) $r = (int)(2 * $t * $max); $g = $max; } else { // Yellow → Red (max,max,0) to (max,0,0) $r = $max; $g = (int)((1 - 2 * ($t - 0.5)) * $max); } $b = $min; // we’re staying on the warm spectrum return "rgb($r, $g, $b, 0.9)"; } @endphp @php $roe_value = round($roe, 2); if ($roe_value < 1) $roe_label = 'unwahrscheinlich'; elseif ($roe_value < 2) $roe_label = 'sehr selten'; elseif ($roe_value < 3) $roe_label = 'selten'; elseif ($roe_value < 4) $roe_label = 'wahrscheinlich'; else $roe_label = 'häufig'; @endphp
@csrf
{{-- Diagramme erstmals rausgenommen, weil nicht live bearbeitbar sind.

Risiko des Ausfalls [RoE]

Risiko Gesamtbewertung [RL]

Einfluss auf die Geschäftstätigkeit [BIA]

--}} {{-- --}} {{-- --}}

Workflow

{{ __('general.Completed') }}