@extends('adminlte::page') @section('plugins.Datatables', true) @section('plugins.Sweetalert2', true) @section('plugins.Select1', true) @section('plugins.Sortable', true) @section('plugins.ClockPicker', true) @section('title', 'Intranet | Documentos Requerido Del Postulante ' . $postulante->nombre) @section('content_header')
@stop @section('content')
@if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Pendiente')
{{ $postulante->carpetaDeDocumentos->estado_carpeta }}
@endif @if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Aprobado')
{{ $postulante->carpetaDeDocumentos->estado_carpeta }}
@endif @if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Rechazado')
{{ $postulante->carpetaDeDocumentos->estado_carpeta }}
@endif
Datos Del Postulante
@if ($postulante->referido == true)
@else
@endif
@if ($postulante->discapacidad == true)
@else
@endif
Datos Del Aprobación De Carpeta
@if (isset($postulante->carpetaDeDocumentos->aprobador))
@else
@endif
@if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Rechazado')
@endif
@php $SePuedeEnviarLaCarpeta = true; @endphp @if (Gate::check('postulante.aprobar-carpeta-documentos-postulantes-general') || Gate::check('postulante.aprobar-carpeta-documentos-postulantes-sucursal')) @foreach ($documentos as $documento) @if ($documento->tipo_documento == 'Documento') @php $postulanTieneEsteDocumento = false; @endphp @foreach ($postulante->carpetaDeDocumentos->detalleDocumentosRequeridos as $detalleDocumento) @if ($detalleDocumento->id_documento_postulante == $documento->id) @php $postulanTieneEsteDocumento = true; $listadoAsistencias = json_encode($detalleDocumento->asistencias); @endphp @endif @endforeach @if ($postulanTieneEsteDocumento == false) @if ($documento->estado_defecto == 'Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp @elseif($documento->estado_defecto == 'No Aplica') @endif @endif @endif @endforeach @else @if (Gate::check('postulante.editar-carpeta-documentos-postulantes')) @foreach ($documentos as $documento) @if ($documento->tipo_documento == 'Documento') @if ($documento->acceso == 'RRHH' || $documento->acceso == 'RRHH/Solicitante De Solicitud') @php $postulanTieneEsteDocumento = false; @endphp @foreach ($postulante->carpetaDeDocumentos->detalleDocumentosRequeridos as $detalleDocumento) @if ($detalleDocumento->id_documento_postulante == $documento->id) @php $postulanTieneEsteDocumento = true; $listadoAsistencias = json_encode($detalleDocumento->asistencias); @endphp @endif @endforeach @if ($postulanTieneEsteDocumento == false) @if ($documento->estado_defecto == 'Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp @elseif($documento->estado_defecto == 'No Aplica') @endif @endif @endif @endif @endforeach @else @foreach ($documentos as $documento) @if ($documento->tipo_documento == 'Documento') @if ($documento->acceso == 'RRHH/Solicitante De Solicitud') @php $postulanTieneEsteDocumento = false; @endphp @foreach ($postulante->carpetaDeDocumentos->detalleDocumentosRequeridos as $detalleDocumento) @if ($detalleDocumento->id_documento_postulante == $documento->id) @php $postulanTieneEsteDocumento = true; @endphp @endif @endforeach @if ($postulanTieneEsteDocumento == false) @if ($documento->estado_defecto == 'Pendiente') @elseif($documento->estado_defecto == 'No Aplica') @endif @endif @endif @endif @endforeach @endif @endif
Acción Documento Tipo Institución Fecha Entrega Documentos Fecha De Vencimiento Estado
{{ $documento->documento }} {{ $documento->tipo }} {{ $detalleDocumento->institucion }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_entrega_documento) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_vencimiento) }} @switch($detalleDocumento->estado) @case('No Aplica') {{ $detalleDocumento->estado }} @break @case('Rechazado') {{ $detalleDocumento->estado }} @break @case('Entregado') {{ $detalleDocumento->estado }} @break @case('Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp {{ $detalleDocumento->estado }} @break @case('Apto') {{ $detalleDocumento->estado }} @break @case('Apto c/observaciones') {{ $detalleDocumento->estado }} @break @endswitch @can('postulante.editar-carpeta-documentos-postulantes') @endcan {{ $documento->documento }} {{ $documento->tipo }} PendienteNo Aplica
@if (Gate::check('postulante.editar-carpeta-documentos-postulantes'))
@endif
{{ $documento->documento }} {{ $documento->tipo }} {{ $detalleDocumento->institucion }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_entrega_documento) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_vencimiento) }} @switch($detalleDocumento->estado) @case('No Aplica') {{ $detalleDocumento->estado }} @break @case('Rechazado') {{ $detalleDocumento->estado }} @break @case('Entregado') {{ $detalleDocumento->estado }} @break @case('Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp {{ $detalleDocumento->estado }} @break @case('Apto') {{ $detalleDocumento->estado }} @break @case('Apto c/observaciones') {{ $detalleDocumento->estado }} @break @endswitch
{{ $documento->documento }} {{ $documento->tipo }} PendienteNo Aplica
{{ $documento->documento }} {{ $documento->tipo }} {{ $detalleDocumento->institucion }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_entrega_documento) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_vencimiento) }} @switch($detalleDocumento->estado) @case('No Aplica') {{ $detalleDocumento->estado }} @break @case('Rechazado') {{ $detalleDocumento->estado }} @break @case('Entregado') {{ $detalleDocumento->estado }} @break @case('Pendiente') {{ $detalleDocumento->estado }} @break @case('Apto') {{ $detalleDocumento->estado }} @break @case('Apto c/observaciones') {{ $detalleDocumento->estado }} @break @endswitch {{ $documento->documento }} {{ $documento->tipo }} PendienteNo Aplica
@php $SePuedeEnviarLaCarpeta = true; @endphp @if (Gate::check('postulante.aprobar-carpeta-documentos-postulantes-general') || Gate::check('postulante.aprobar-carpeta-documentos-postulantes-sucursal')) @foreach ($documentos as $documento) @if ($documento->tipo_documento == 'Actividad') @php $postulanTieneEsteDocumento = false; @endphp @foreach ($postulante->carpetaDeDocumentos->detalleDocumentosRequeridos as $detalleDocumento) @if ($detalleDocumento->id_documento_postulante == $documento->id) @php $postulanTieneEsteDocumento = true; $listadoAsistencias = json_encode($detalleDocumento->asistencias); @endphp @endif @endforeach @if ($postulanTieneEsteDocumento == false) @if ($documento->estado_defecto == 'Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp @elseif($documento->estado_defecto == 'No Aplica') @endif @endif @endif @endforeach @else @if (Gate::check('postulante.editar-carpeta-documentos-postulantes')) @foreach ($documentos as $documento) @if ($documento->tipo_documento == 'Actividad') @if ($documento->acceso == 'RRHH' || $documento->acceso == 'RRHH/Solicitante De Solicitud') @php $postulanTieneEsteDocumento = false; @endphp @foreach ($postulante->carpetaDeDocumentos->detalleDocumentosRequeridos as $detalleDocumento) @if ($detalleDocumento->id_documento_postulante == $documento->id) @php $postulanTieneEsteDocumento = true; $listadoAsistencias = json_encode($detalleDocumento->asistencias); @endphp @endif @endforeach @if ($postulanTieneEsteDocumento == false) @if ($documento->estado_defecto == 'Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp @elseif($documento->estado_defecto == 'No Aplica') @endif @endif @endif @endif @endforeach @else @foreach ($documentos as $documento) @if ($documento->tipo_documento == 'Actividad') @if ($documento->acceso == 'RRHH/Solicitante De Solicitud') @php $postulanTieneEsteDocumento = false; @endphp @foreach ($postulante->carpetaDeDocumentos->detalleDocumentosRequeridos as $detalleDocumento) @if ($detalleDocumento->id_documento_postulante == $documento->id) @php $postulanTieneEsteDocumento = true; @endphp @endif @endforeach @if ($postulanTieneEsteDocumento == false) @if ($documento->estado_defecto == 'Pendiente') @elseif($documento->estado_defecto == 'No Aplica') @endif @endif @endif @endif @endforeach @endif @endif
Acción Actividad Tipo Institución Fecha Coordinación Fecha Entrega Documentos Fecha De Vencimiento Estado
{{ $documento->documento }} {{ $documento->tipo }} {{ $detalleDocumento->institucion }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_coordinacion) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_entrega_documento) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_vencimiento) }} @switch($detalleDocumento->estado) @case('No Aplica') {{ $detalleDocumento->estado }} @break @case('Rechazado') {{ $detalleDocumento->estado }} @break @case('Entregado') {{ $detalleDocumento->estado }} @break @case('Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp {{ $detalleDocumento->estado }} @break @case('Apto') {{ $detalleDocumento->estado }} @break @case('Apto c/observaciones') {{ $detalleDocumento->estado }} @break @endswitch @can('postulante.editar-carpeta-documentos-postulantes') @endcan {{ $documento->documento }} {{ $documento->tipo }} PendienteNo Aplica
@if (Gate::check('postulante.editar-carpeta-documentos-postulantes'))
@endif
{{ $documento->documento }} {{ $documento->tipo }} {{ $detalleDocumento->institucion }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_coordinacion) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_entrega_documento) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_vencimiento) }} @switch($detalleDocumento->estado) @case('No Aplica') {{ $detalleDocumento->estado }} @break @case('Rechazado') {{ $detalleDocumento->estado }} @break @case('Entregado') {{ $detalleDocumento->estado }} @break @case('Pendiente') @php $SePuedeEnviarLaCarpeta = false; @endphp {{ $detalleDocumento->estado }} @break @case('Apto') {{ $detalleDocumento->estado }} @break @case('Apto c/observaciones') {{ $detalleDocumento->estado }} @break @endswitch
{{ $documento->documento }} {{ $documento->tipo }} PendienteNo Aplica
{{ $documento->documento }} {{ $documento->tipo }} {{ $detalleDocumento->institucion }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_coordinacion) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_entrega_documento) }} {{ fechaConFormatoDeChile($detalleDocumento->fecha_vencimiento) }} @switch($detalleDocumento->estado) @case('No Aplica') {{ $detalleDocumento->estado }} @break @case('Rechazado') {{ $detalleDocumento->estado }} @break @case('Entregado') {{ $detalleDocumento->estado }} @break @case('Pendiente') {{ $detalleDocumento->estado }} @break @case('Apto') {{ $detalleDocumento->estado }} @break @case('Apto c/observaciones') {{ $detalleDocumento->estado }} @break @endswitch {{ $documento->documento }} {{ $documento->tipo }} PendienteNo Aplica
@stop @section('footer')
Intranet
Copyright © 2021 GuiñezIngeniería.cl. @stop @section('css') @stop @section('js') @if (Gate::check('postulante.editar-carpeta-documentos-postulantes') && $postulante->carpetaDeDocumentos->envio_carpeta == false) @endif @if (Gate::check('postulante.aprobar-carpeta-documentos-postulantes-general') || Gate::check('postulante.aprobar-carpeta-documentos-postulantes-sucursal')) @if ($postulante->carpetaDeDocumentos->envio_carpeta == true) @if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Pendiente') @endif @endif @endif @if (Gate::check('postulante.aprobar-carpeta-documentos-postulantes-general') || Gate::check('postulante.aprobar-carpeta-documentos-postulantes-sucursal')) @if ($postulante->carpetaDeDocumentos->envio_carpeta == true) @if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Pendiente') @endif @if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Rechazado') @endif @else @if ($postulante->carpetaDeDocumentos->estado_carpeta == 'Rechazado') @endif @endif @endif @stop