@extends('layout.sidebar') @section('content') {{ HTML::script('js/webAdmission/web_aspirant.js') }} {{ Form::hidden('hdnSectionLevel', action('WebAspirantController@postSectionLevel', array()), array('id'=>'hdnSectionLevel')) }} {{ Form::hidden('hdnAddInstitution', action('WebAspirantController@postAddInst', array()), array('id'=>'hdnAddInstitution')) }} {{ Form::hidden('hdnUniqueCi', action('WebAspirantController@postUniqueCi', array()), array('id'=>'hdnUniqueCi')) }} {{Form::open(['url' => 'webAdmission/update', 'id' => 'update', 'enctype'=>'multipart/form-data'])}}

* Campos obligatorios

@foreach ($aspirants as $key => $aspirant)
{{Form::hidden('serial'.$aspirant->serial_asstu, $aspirant->serial_asstu, ['id' => 'serial'.$aspirant->serial_asstu])}} {{Form::hidden('hiddenSection'.$aspirant->serial_asstu, $aspirant->serial_set, ['id' => 'hiddenSection'.$aspirant->serial_asstu])}} {{Form::hidden('hiddenLevel'.$aspirant->serial_asstu, $aspirant->serial_lvl, ['id' => 'hiddenLevel'.$aspirant->serial_asstu])}}
Información del aspirante
{{Form::label('last_name_asstu_'.$aspirant->serial_asstu,'Apellidos')}}* {{Form::text($aspirant->serial_asstu.'[last_name_asstu]', $aspirant->last_name_asstu, ['id' => 'last_name_asstu_' . $aspirant->serial_asstu, 'class'=>'form-control last_name_asstu'])}}
{{Form::label('first_name_asstu_'.$aspirant->serial_asstu,'Nombres')}}* {{Form::text($aspirant->serial_asstu.'[first_name_asstu]', $aspirant->first_name_asstu, ['id' => 'first_name_asstu_' . $aspirant->serial_asstu, 'class'=>'form-control first_name_asstu'])}}
{{Form::label('aspirantAs_'.$aspirant->serial_asstu,'Nombre con el que se le conoce')}} {{Form::text($aspirant->serial_asstu.'[alias_aspirant]', $aspirant->known_name, ['id' => 'aspirantAs_'.$aspirant->serial_asstu, 'class'=>'form-control alias_aspirant'])}}
{{Form::label('ci_'.$aspirant->serial_asstu,'Número de documento de identificación')}} {{Form::text($aspirant->serial_asstu.'[ci]', $aspirant->id_asstu, ['id' => 'ci_'.$aspirant->serial_asstu, 'class'=>'form-control ci','maxlength'=>'10', 'onblur' => 'unique_ci('.$aspirant->serial_asstu.')'])}}
{{Form::label('birtAsstu_'.$aspirant->serial_asstu,'Fecha de nacimiento')}}*
@if($schoolSetup->serial_sst == 16)
{{Form::label('nationality_'.$aspirant->serial_asstu,'Nacionalidad')}}
@endif @if($schoolSetup->serial_sst == 9)
{{Form::label('parent_ex_student_astu_'.$aspirant->serial_asstu,'Es hijo de ex-alumno')}}*
{{Form::label('person_recommended_astu_'.$aspirant->serial_asstu,'Recomendado por alguien (Especifique)')}} {{Form::text($aspirant->serial_asstu.'[person_recommended_astu]', $aspirant->person_recommended_astu, ['id' => 'person_recommended_astu_' . $aspirant->serial_asstu, 'class'=>'form-control person_recommended_astu'])}}
{{Form::label('link_school_'.$aspirant->serial_asstu,'Vínculo con el Colegio')}}
@endif

Alumno solicita cupo en
{{Form::label('','Sección')}} {{Form::text($aspirant->serial_asstu.'[section]', null, ['id' => 'requestSection'.$aspirant->serial_asstu, 'class'=>'form-control', 'disabled'])}}
{{Form::label('','Nivel')}} {{Form::text($aspirant->serial_asstu.'[level]', null, ['id' => 'requestLevel'.$aspirant->serial_asstu, 'class'=>'form-control', 'disabled'])}}

Educación Anterior
{{Form::hidden('length_table'.$aspirant->serial_asstu, count($levelSectionLessAspirant[$aspirant->serial_asstu])+1, ['id' => 'length_table'.$aspirant->serial_asstu])}}
@if($schoolSetup->serial_sst != 13) @endif @foreach($levelSectionLessAspirant[$aspirant->serial_asstu] as $idAspirant => $lessSection) @endforeach
Libretas
Centro Infantil {{Form::hidden($aspirant->serial_asstu.'[previous_school][zero][scy]', 0)}} {{Form::hidden($aspirant->serial_asstu.'[previous_school][zero][set]', 0)}} {{Form::hidden($aspirant->serial_asstu.'[previous_school][zero][lvl]', 0)}}
@if($schoolSetup->serial_sst==9)
@endif
@if($previousEducationAspirant[$aspirant->serial_asstu]['init']['filename_dc']) @else href="{{'../../public/uploads/'.$aspirant->serial_asstu.'/'.$previousEducationAspirant[$aspirant->serial_asstu]['init']['filename_dc']}}"> @endif ver @endif
{{$lessSection->name_lvl}} @if($schoolSetup->serial_sst==9) {{$lessSection->name_set}} @endif {{Form::hidden($aspirant->serial_asstu.'[previous_school]['.$lessSection->name_lvl.'][scy]',$lessSection->serial_scy)}} {{Form::hidden($aspirant->serial_asstu.'[previous_school]['.$lessSection->name_lvl.'][set]',$lessSection->serial_set)}} {{Form::hidden($aspirant->serial_asstu.'[previous_school]['.$lessSection->name_lvl.'][lvl]',$lessSection->serial_lvl)}}
@if($schoolSetup->serial_sst==9)
@endif
@if($previousEducationAspirant[$aspirant->serial_asstu]['more'][$lessSection->serial_scy.'-'.$lessSection->serial_set.'-'.$lessSection->serial_lvl]['filename_dc']) @else href="{{'../../public/uploads/'.$aspirant->serial_asstu.'/'.$previousEducationAspirant[$aspirant->serial_asstu]['more'][$lessSection->serial_scy.'-'.$lessSection->serial_set.'-'.$lessSection->serial_lvl]['filename_dc']}}"> @endif ver @endif
Familia y Representante
Parents_live_asstu == 'TOGETHER' ? 'checked' : ''}}>
Parents_live_asstu == 'SEPARATED' ? 'checked' : ''}}>
lives_with_asstu == 'PARENTS' ? 'checked' : ''}}>
lives_with_asstu == 'FATHER' ? 'checked' : ''}}>
lives_with_asstu == 'MOTHER' ? 'checked' : ''}}>
lives_with_asstu == 'OTHER' ? 'checked' : ''}}>

{{Form::label('numberBrother'.$aspirant->serial_asstu, 'Número de Hermanos')}} {{Form::text($aspirant->serial_asstu.'[numberBrother]', $aspirant->siblings_asstu,['id' =>' numberBrother'.$aspirant->serial_asstu, 'class'=>'form-control'])}}
{{Form::label('brothers'.$aspirant->serial_asstu, '¿Qué puesto ocupa entre sus hermano?')}}

legal_guardian=='FATHER' ? 'checked' :''}}>
legal_guardian=='MOTHER' ? 'checked' :''}}>
legal_guardian=='OTHER' ? 'checked' :''}}>
Documentos del aspirante
@if($schoolSetup->serial_sst!=13)
Cédula de identidad del aspirante
@else
Cédula / pasaporte del aspirante
@endif

Formato PDF máximo 1 MB

serial_sst==13 && count($aspirant->files) == 0) ? 'required':''}}>
@foreach($aspirant->files as $file) @if($file->type_file == 'CI') Ver archivo @else href="{{'../../public/uploads/' . $aspirant->serial_asstu . '/' . $file->filename_dc}}"> Ver archivo @endif actual @endif @endforeach
@if($schoolSetup->serial_sst!=9 && $schoolSetup->serial_sst!=13)
Partida de nacimiento @if($schoolSetup->serial_sst==9) (en caso de no disponer de cédula) @endif

Formato PDF máximo 1 MB


@foreach($aspirant->files as $file) @if($file->type_file == 'BIRTHDAY-CERTIFIED') Ver archivo @else href="{{'../../public/uploads/' . $aspirant->serial_asstu . '/' . $file->filename_dc}}"> Ver archivo @endif actual @endif @endforeach
@endif @if($schoolSetup->serial_sst==13)
Cédula / pasaporte de los padres de familia

Formato PDF máximo 1 MB

serial_sst==13 && count($aspirant->files) == 0) ? 'required':''}}>
@foreach($aspirant->files as $file) @if($file->type_file == 'CI_GUARDIANS') Ver archivo @else href="{{'../../public/uploads/' . $aspirant->serial_asstu . '/' . $file->filename_dc}}"> Ver archivo @endif actual @endif @endforeach
@endif
Fotografía del aspirane

Formato .jpg|.jpeg|.png máximo 1 MB

serial_sst==13 && count($aspirant->files) == 0) ? 'required':''}}>
@foreach($aspirant->files as $file) @if($file->type_file == 'PHOTO') Ver imagen @else href="{{'../../public/uploads/' . $aspirant->serial_asstu . '/' . $file->filename_dc}}"> Ver imagen @endif actual @endif @endforeach
@if($schoolSetup->serial_sst==13)
Certificado de NO adeudar colegio o guardería anterior

Formato PDF máximo 1 MB


@foreach($aspirant->files as $file) @if($file->type_file == 'AUTHORIZATION') Ver archivo @else href="{{'../../public/uploads/' . $aspirant->serial_asstu . '/' . $file->filename_dc}}"> Ver archivo @endif actual @endif @endforeach
@endif

@if($schoolSetup->serial_sst==9)
  • Copia de cédula
  • Fotografía
  • Libreta del estudiante
@else @endif
@endforeach
@if(count($aspirants)>0)
@endif
{{ Form::hidden('serial_scy',$school_year->serial_scy) }} {{Form::close()}} @stop()