@extends('material.layouts.dashboard') @push('styles') @endpush @section('content')
@if (count($misAcciones) > 0) {{-- INICIO MIS ACCIONES PENDIENTES --}} @component('themes.bootstrap.components.portlet', ['icon' => 'fa fa-tasks', 'title' => 'Mis Acciones Pendientes', 'color' => 'font-blue-hoki']) @include('material.sections.hallazgos.form.list-mis-acciones') @endcomponent {{-- END MIS ACCIONES PENDIENTES --}} @endif @if ($esLineaDefensaOap || $esLineaDefensaControlInterno) {{-- INICIO PENDIENTES LINEA DE DEFENSA OAP/CONTROL INTERNO --}} @component('themes.bootstrap.components.portlet', ['icon' => 'fa fa-shield', 'title' => 'Acciones Pendientes de Monitoreo / Evaluación', 'color' => 'font-blue-hoki']) @include('material.sections.hallazgos.form.list-pendientes-linea-defensa') @endcomponent {{-- END PENDIENTES LINEA DE DEFENSA OAP/CONTROL INTERNO --}} @endif @php $totalHallazgosGeneral = 0; foreach ($estados as $subEstados) { $totalHallazgosGeneral += isset($subEstados['totalHallazgos']) ? $subEstados['totalHallazgos'] : 0; } @endphp {{-- INICIO FILTROS --}} {{-- Si el usuario no tiene hallazgos pendientes en ningún paso y tampoco puede crear hallazgos nuevos (p. ej. un responsable de actividad puntual), este panel siempre estaría vacío, así que no se muestra. --}} @if ($totalHallazgosGeneral > 0 || $esAutorHallazgo) @component('themes.bootstrap.components.portlet', ['icon' => 'glyphicon glyphicon-filter', 'title' => 'Plan de Acción / Hallazgos', 'color'=>'font-green']) @include('material.sections.hallazgos.form.list-estados') @endcomponent @endif {{-- END FILTROS --}} @include('material.sections.hallazgos.modals')
@endsection @push('plugins') @include('material.sections.hallazgos.scripts') @endpush @push('functions') @endpush