@extends('layout.template') @section('title', 'SICCAP ICATEP') @section('content')
Datos de Capacitando Número de control : {{ $datos_cap->alu_num_control }}
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@csrf @method('POST')
Datos Personales
@if ($errors->has('ape_pat'))
{{ $errors->first('ape_pat') }}
@endif
@if ($errors->has('ape_mat'))
{{ $errors->first('ape_mat') }}
@endif
@if ($errors->has('nombre'))
{{ $errors->first('nombre') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('edo_civ'))
{{ $errors->first('edo_civ') }}
@endif
@if ($errors->has('grado_estudios'))
{{ $errors->first('grado_estudios') }}
@endif
@if ($errors->has('indigena'))
{{ $errors->first('indigena') }}
@endif
@if ($errors->has('f22'))
{{ $errors->first('f22') }}
@endif
@if ($errors->has('extranjero'))
{{ $errors->first('extranjero') }}
@endif
@php if ($datos_cap->alu_curp != null && $datos_cap->alu_curp != '') { $edad = \Carbon\Carbon::parse($datos_cap->alu_fechnac)->age; } @endphp
@if ($errors->has('curp_input'))
{{ $errors->first('curp_input') }}
@endif
@php if (strlen($datos_cap->alu_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->alu_fechnac}}
{{$edad}}
{{ $datos_cap->alu_sexo }}
{{ $entidadNacimiento }}
Domicilio
@if ($errors->has('calle'))
{{ $errors->first('calle') }}
@endif
@if ($errors->has('num_ext'))
{{ $errors->first('num_ext') }}
@endif
@if ($errors->has('colonia'))
{{ $errors->first('colonia') }}
@endif
@if ($errors->has('cp'))
{{ $errors->first('cp') }}
@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->alu_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