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