Matriz de riesgo
@if($configuracion->entidad == 'fortaleza')
Matriz para riesgo inicial
| Concepto |
Nivel de riesgo |
| Coincidencia con lista PEP NACIONAL |
Medio riesgo |
| Coincidencia con PEP INTERNACIONAL |
Alto riesgo |
| Coincidencia con Lista de personas bloqueadas |
Alto riesgo |
| Coincidencia con demás listas negras (personas y lugares) |
Alto riesgo |
@endif
@if($configuracion->entidad == 'fortaleza')
Matriz general
@endif
@if($configuracion->entidad == 'amealco')
| Id |
Elemento / Indicador |
Ponderación |
Peso en la matriz |
|
@php $totalPeso = 0; @endphp
@foreach ($elementos as $elemento)
@php
$indicadoresElemento = $indicadores->where('pld_matrizs_id', $elemento->id);
$subtotalPeso = 0;
@endphp
| {{ $elemento->id }} |
{{ $elemento->nombre }} |
{{ $elemento->ponderacion }}% |
|
|
@foreach ($indicadoresElemento as $indicador)
@php
$peso = $indicador->ponderacion * $elemento->ponderacion / 100;
$subtotalPeso = $subtotalPeso + $peso;
@endphp
| {{ $indicador->id }} |
{{ $indicador->nombre }} |
{{ $indicador->ponderacion }}% |
{{ number_format($peso,2) }}% |
|
@endforeach
@php $totalPeso = $totalPeso + $subtotalPeso; @endphp
| Subtotal {{ $elemento->nombre }} |
{{ number_format($indicadoresElemento->sum('ponderacion'),2) }}% |
{{ number_format($subtotalPeso,2) }}% |
|
@endforeach
| TOTAL |
{{ number_format($totalPeso,2) }}% |
|
@else
| Id |
Nombre |
Ponderación |
|
@foreach ($elementos as $elemento)
| {{ $elemento->id }} |
{{ $elemento->nombre }} |
{{ $elemento->ponderacion }}% |
|
@endforeach
|
{{ number_format($elementos->sum('ponderacion'),2) }}% |
|
@endif
@endsection