@extends('layout.template') @section('title', 'ICAT') @section('content')
Datos de Capacitando Número de control : {{ $datos_cap->numero_control }}
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@csrf @method('POST')
Datos Personales
@if ($errors->has('apellido_paterno'))
{{ $errors->first('apellido_paterno') }}
@endif
@if ($errors->has('apellido_materno'))
{{ $errors->first('apellido_materno') }}
@endif
@if ($errors->has('nombre'))
{{ $errors->first('nombre') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('estado_civil'))
{{ $errors->first('estado_civil') }}
@endif
@if ($errors->has('recluso'))
{{ $errors->first('recluso') }}
@endif
@if ($errors->has('grado_estudios'))
{{ $errors->first('grado_estudios') }}
@endif
@if ($errors->has('indigena'))
{{ $errors->first('indigena') }}
@endif
@if ($errors->has('formato_22'))
{{ $errors->first('formato_22') }}
@endif
@if ($errors->has('extranjero'))
{{ $errors->first('extranjero') }}
@endif
@php if ($datos_cap->curp != null && $datos_cap->curp != '') { $edad = \Carbon\Carbon::parse($datos_cap->fecha_nacimiento)->age; } @endphp
@if ($errors->has('curp_input'))
{{ $errors->first('curp_input') }}
@endif
@php if (strlen($datos_cap->rfc) == 13) { // Homoclave is valid, no additional input needed } else { @endphp
@php } @endphp
@if ($errors->has('celular'))
{{ $errors->first('celular') }}
@endif
@if ($errors->has('fecha_ingreso'))
{{ $errors->first('fecha_ingreso') }}
@endif

Información Adicional
{{ $datos_cap->fecha_nacimiento}}
{{$edad}}
{{ $datos_cap->sexo }}
{{ $datos_cap->tercera_edad }}
{{ $entidadNacimiento }}
Domicilio
@if ($errors->has('calle'))
{{ $errors->first('calle') }}
@endif
@if ($errors->has('numero_exterior'))
{{ $errors->first('numero_exterior') }}
@endif
@if ($errors->has('colonia'))
{{ $errors->first('colonia') }}
@endif
@if ($errors->has('codigo_postal'))
{{ $errors->first('codigo_postal') }}
@endif
@if ($errors->has('estados'))
{{ $errors->first('estados') }}
@endif
@if ($errors->has('lista_municipios'))
{{ $errors->first('lista_municipios') }}
@endif
@if ($errors->has('telefono'))
{{ $errors->first('telefono') }}
@endif
Empresa / Institución

Documentación Entregada
{{--
--}}


@if ($datos_cap->status != 'B') @puede('Capacitandos','hacer_cambios_capacitandos')
@endpuede @else @puede('Capacitandos','alta_capacitando')
@endpuede @endif
@endsection @push('scripts') @endpush @push('plugin-scripts') @endpush @push('custom-scripts') @endpush