@extends('layouts.app') @section('title', 'Resoluciones') @section('content')

descriptionMódulo de Resoluciones

Registro y vinculación de resoluciones directorales

@if ($errors->any())
@endif @if (session('errores'))
Errores durante la importación:
@endif @if (session('success'))
{{ session('success') }}
@endif @php $hasChargePeriod = !empty($chargePeriod); @endphp
@if (Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('resolucion ingresar'))
addNuevo registro
@if ($hasChargePeriod) @else
Falta configurar periodo
@endif
@endif @if (Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('resolucion ver indicadores'))
history_eduUltimo RD
{{ $ultimoRegistro }}
Registro mas reciente
RD
calendar_todayPeriodo
@if ($hasChargePeriod)
{{ $chargePeriod }}
Actual
@else
Falta configurar
@endif
fact_checkTotal
@if ($hasChargePeriod)
{{ $totalResolucionesPeriodo }}
En {{ $chargePeriod }}
@else
Falta configurar
@endif
history_eduPor firmar
@if ($hasChargePeriod)
{{ $pendientesResolucionesPeriodo }}
En {{ $chargePeriod }}
@else
Falta configurar
@endif
@endif
@if (Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('resolucion exportar') || Auth::user()->can('resolucion importar excel'))
@if (Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('resolucion exportar'))
descriptionReportes
Exporta resoluciones en PDF o Excel
table_chart Excel
@endif @if (Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('resolucion importar excel'))
uploadImportar resoluciones
@csrf
downloadPlantilla
@endif
@endif
folder_openResoluciones
Gestione resoluciones, cargos y firmas
refresh Limpiar
@if (request()->filled('search') || request()->filled('periodo'))
filter_alt
info Este filtro busca instantáneamente sobre los {{ $resoluciones->count() }} resultados de esta página.
@php $canSignResolution = Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('modulo cargos') || Auth::user()->can('modulo resoluciones'); $canCreateCharge = Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('modulo cargos'); $canDeleteResolution = Auth::user()->hasRole('ADMINISTRADOR'); @endphp @forelse ($resoluciones as $resolucion) @php $charge = $resolucion->charge; $signatureContent = null; if ( $charge?->signature?->signature_root && \Illuminate\Support\Facades\Storage::disk('local')->exists( $charge->signature->signature_root, ) ) { $signatureContent = \Illuminate\Support\Facades\Storage::disk('local')->get( $charge->signature->signature_root, ); } $signatureStatus = $charge?->signature?->signature_status; @endphp
RD {{ $resolucion->rd }}
{{ $resolucion->fecha ? \Carbon\Carbon::parse($resolucion->fecha)->format('d/m/Y') : '' }}
@if ($signatureStatus === 'firmado') Firmado @elseif ($signatureStatus === 'rechazado') Rechazado @elseif ($signatureStatus === 'pendiente') Pendiente @else Sin cargo @endif
Nombres y apellidos
{{ $resolucion->nombres_apellidos }}
DNI: {{ $resolucion->dni ?? '-' }} Periodo: {{ $resolucion->periodo }} Procedencia: {{ $resolucion->procedencia }}
Asunto
{{ Str::limit($resolucion->asunto, 80) }}
@if (!$charge && $canCreateCharge)
@csrf
@endif @if (!Auth::user()->hasRole('VISUALIZADOR')) @endif
@empty
No se encontraron resoluciones
@endforelse
@if (!Auth::user()->hasRole('VISUALIZADOR')) @endif @php $canSignResolution = Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('modulo cargos') || Auth::user()->can('modulo resoluciones'); $canCreateCharge = Auth::user()->hasRole('ADMINISTRADOR') || Auth::user()->can('modulo cargos'); $canDeleteResolution = Auth::user()->hasRole('ADMINISTRADOR'); @endphp @forelse ($resoluciones as $key => $resolucion) @if (!Auth::user()->hasRole('VISUALIZADOR')) @endif @empty @php $colspan = Auth::user()->hasRole('VISUALIZADOR') ? 9 : 10; @endphp @endforelse
ID RD Fecha Nombres y Apellidos DNI Asunto Periodo Procedencia FirmaAcciones
{{ ($resoluciones->currentPage() - 1) * $resoluciones->perPage() + $key + 1 }} {{ $resolucion->rd }} {{ $resolucion->fecha ? \Carbon\Carbon::parse($resolucion->fecha)->format('d/m/Y') : '' }} {{ $resolucion->nombres_apellidos }} {{ $resolucion->dni ?? null }} {{ Str::limit($resolucion->asunto, 50) }} {{ $resolucion->periodo }} {{ $resolucion->procedencia }} @php $charge = $resolucion->charge; $signatureContent = null; if ( $charge?->signature?->signature_root && \Illuminate\Support\Facades\Storage::disk('local')->exists( $charge->signature->signature_root, ) ) { $signatureContent = \Illuminate\Support\Facades\Storage::disk( 'local', )->get($charge->signature->signature_root); } $signatureStatus = $charge?->signature?->signature_status; @endphp
@if ($signatureStatus === 'firmado') Firmado @elseif ($signatureStatus === 'rechazado') Rechazado @elseif ($signatureStatus === 'pendiente') Pendiente @else Sin cargo @endif @if (!$charge && $canCreateCharge)
@csrf
@endif
No se encontraron resoluciones
Mostrando {{ $resoluciones->firstItem() }} a {{ $resoluciones->lastItem() }} de {{ $resoluciones->total() }} resultados
{{ $resoluciones->appends(request()->query())->onEachSide(1)->links('pagination.bootstrap-4-lg') }}
@else
Logo Qilqana
@endif
@include('charges.forms.sign') @endsection