@extends('layouts.app') @section('style') @endsection @section('content')
Síntesis de Resultados (TAMIZAJE MENORES)

Datos del entrevistado {{ trim($arrestedFault->full_name) !== '' ? $arrestedFault->full_name : 'Sin nombre registrado' }}
Folio {{ isset($arrestedFault->faultMinorScreening) ? $arrestedFault->faultMinorScreening->folio : ' ' }}
Fecha de detención {{ isset($arrestedFault->detention_date) ? $arrestedFault->detention_date : 'S/D' }}
Fecha de Tamizaje {{ $fechaActual = date('d-m-Y') }}
Edad {{ isset($arrestedFault->age) ? $arrestedFault->age : 'S/D' }}
Género {{ isset($arrestedFault->arrested_gender) ? $arrestedFault->arrested_gender : 'S/D' }}
Municipio {{ isset($arrestedFault->township_address) ? $arrestedFault->township_address : 'S/D' }}
Colonia {{ isset($arrestedFault->colony_address) ? $arrestedFault->colony_address : 'S/D' }}
Tamizaje realizado por: {{ isset($arrestedFault->faultMinorScreening) ? $arrestedFault->faultMinorScreening->psychosocial->full_name : 'S/D' }}
@foreach ($results as $key => $result) @if ($key !== 'total') @else @endif @endforeach
Sección Puntaje Porcentaje Nivel de riesgo
{{ $result['name'] }} {{ $result['points'] }} {{ bcdiv($result['percentage'] * 100, '1', 2) }}% {{ $result['riskLevel'] }}{{ $result['name'] }} {{ $result['points'] }} {{ bcdiv($result['percentage'] * 100, '1', 2) }}% {{ $result['riskLevel'] }}
GRÁFICA DE RIESGO
@csrf
@if (auth()->user()->userTypeString() == 'Administrador' || auth()->user()->userTypeString() == 'Subadministrador' || auth()->user()->userTypeString() == 'Capturista Psicosocial')
@endif
@csrf
@endsection @section('js-files') @endsection