@extends('pdf.layout') @section('title', 'Attendance Raw List') @section('content') @php $sl = 1; @endphp @foreach($attendances as $attendance)
@include('include.report_header')

Exam Code-Name & Year : {{ $exam_info['exam_code'].'-'.$exam_info['exam_name'] .' & '.$exam_info['exam_year'] }}

{{-- College Code & Name: [{{ $candidate_item['college_code'] }}] {{ $candidate_item['college_name'] }} --}}

@php $k=1; @endphp @foreach($center_item['centers'] as $center) @php if(count($center['colleges']) > 1) { $roaspan = count($center['colleges']); echo ' '; } @endphp @foreach($center['colleges'] as $college) {{-- @foreach($chunk as $key => $item) --}} @php if(count($center['colleges']) == 1) { echo ''; } else { if($k == 1) { echo ' '; } else { echo ''; } } $k++; @endphp {{-- @php $k++; @endphp --}} {{-- @endforeach --}} @endforeach @endforeach
Subject Code & Name: {{$center_item['subject_code'].'-'.$center_item['subject_name']}}
Center Code Center Name College Code College Name
'.$center["center_code"].' '.$center["center_college_code"].'-'.$center["center_name"].'
'.$center["center_code"].' '.$center["center_college_code"].'-'.$center["center_name"].' '.$college["college_code"].' '.$college["college_name"].'
'.$college["college_code"].' '.$college["college_name"].'
'.$college["college_code"].' '.$college["college_name"].'
@endforeach @stop