@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Profile @include('datepicker') @section('main-content')
@if (Session::has('success')) @endif
{{-- --}}

Mark Attendance

Students List
@if (isset($users) && count($users) != 0) @foreach ($users as $key => $user) @if (isset($user->profile_photo_path)) @else @endif @endforeach @else @endif
# User First Name Last Name Email Phone Status Attendance
{{ $key + 1 }} user user {{ ucwords($user->first_name) }} {{ ucwords($user->last_name) }} @if ($user->parent_id !== null) {{ $user->parent->phone }} @else {{ $user->phone }} @endif @if ($user->status == 'active') @if (isset($leaves) && count($leaves) > 0 && in_array($user->id, $leaves)) id, $present_students) ? 'checked' : '' }} /> @else id, $present_students) ? 'checked' : '' }} />
@endif @else N.A. @endif
{{ 'No record found' }}
@endsection