@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content') {{ __lang('attendance') }}: {{ $pageTitle }}

{{ __lang('attendance') }}: {{ $pageTitle }}

@php $count = 1 @endphp @php foreach($lessons as $lesson): @endphp @php if(!$attendanceTable->lessonExists($lesson->lesson_id,$sid)): @endphp @php endif; @endphp @php $count++; @endphp @php endforeach; @endphp @php foreach($students as $row): @endphp @php $count = 1 @endphp @php foreach($lessons as $lesson): @endphp @php if(!$attendanceTable->lessonExists($lesson->lesson_id,$sid)): @endphp @php endif; @endphp @php $count++; @endphp @php endforeach; @endphp @php endforeach; @endphp
{{ __lang('first-name') }} {{ __lang('last-name') }} {{ __lang('telephone-number') }} {{ __lang('email') }}{{ __lang('class') }} {{ $count }} @php if(!$attendanceTable->lessonExists($lesson->lesson_id,$sid)): @endphp- Start@php endif; @endphp
{{ limitLength($lesson->lesson_name,20) }}
{{ __lang('class') }} {{ $count }} - End
{{ limitLength($lesson->lesson_name,20) }}
{{ ucwords(strtolower($row->name)) }} {{ ucwords(strtolower($row->last_name)) }} {{ cleanTel($row->mobile_number) }} {{ strtolower($row->email) }}@php if(!$attendanceTable->lessonExists($lesson->lesson_id,$sid)): @endphpClass {{ $count }} - Start@php else: @endphp @php if($attendanceTable->hasAttendance($row->student_id,$lesson->lesson_id,$sid)): @endphp @php else: @endphp @php endif; @endphp @php endif; @endphpClass {{ $count }} - End
@endsection