@if(count($aspirantStudents)) @foreach($studentArray as $file) @endforeach @if(count($legalFiles)) @foreach($legalFiles as $file) @endforeach @endif @if(count($fatherFiles)) @foreach($fatherFiles as $file) @endforeach @endif @if(count($motherFiles)) @foreach($motherFiles as $file) @endforeach @endif @endif @forelse($aspirantStudents as $student) @foreach($studentArray as $file) @endforeach @if(count($legalFiles)) @foreach($legalFiles as $file)
{{$schoolSetup->name_sst}}
REPORTE DE ASPIRANTES
{{Global_Functions::changeTitles('AÑO LECTIVO')}} {{$schoolYear->name_scy}}
NOMBRES {{$studentFieldsArray[$file]}} {{$legal_guardian[$file]}} {{$father_guardian[$file]}} {{$mother_guardian[$file]}}
{{$student->last_name_asstu}} {{$student->first_name_asstu}} @if($file=='Parents_live_asstu') @if($student->$file) {{$Parents_live_asstu[$student->$file]}} @endif @elseif($file=='siblings_in_school') {{$siblings_in_school[$student->$file]}} @elseif($file=='lives_with_asstu') {{$lives_with_asstu[$student->lives_with_asstu]}} @elseif($file=='link_school') @if(isset($link_school[$student->link_school])) {{$link_school[$student->link_school]}} @else {{$student->link_school}} @endif @elseif($file=='publicity_telling') @if(isset($publicity_telling[$student->publicity_telling])) {{$publicity_telling[$student->publicity_telling]}} @else {{$student->publicity_telling}} @endif @elseif($file=='payment_mode') @if(isset($payment_mode[$student->payment_mode])) {{$payment_mode[$student->payment_mode]}} @else {{$student->payment_mode}} @endif @else {{$student->$file}} @endif