@extends('layouts.master') @section('page_title', 'My Dashboard') @section('content') @if(Qs::userIsParent())
@if($my_children_list != null) @foreach($my_children_list as $child)
Generic placeholder image
{{$child->name}}
{{$child->username}}
{{$child->class_name}}
@endforeach @endif
@endif @if(Qs::userIsSAT())

{{$lesson_todo->where('assigned_to', $teacher_id)->where('session', Qs::getCurrentSession())->count()}}

Lessons

{{$lesson_todo->where('assigned_to', $teacher_id)->where('session', Qs::getCurrentSession())->where('status', 1)->count() ?? ''}}

Completed Lessons

{{ $users->where('user_type', 'teacher')->count() ?? 0 }}

Total Teachers
@endif @if(Qs::userIsSAT())
@endif @if(Qs::userIsTeamSA())

{{ $users->where('user_type', 'student')->where('status',0)->count() ?? 0 }}

Total Students

{{ $users->where('user_type', 'teacher')->count() ?? 0 }}

Total Teachers

{{ $users->where('user_type', 'admin')->count() ?? 0 }}

Total Administrators

{{ $users->where('user_type', 'parent')->count() ?? '' }}

Total Parents

Fees Awaiting Payment {{$fully_paid_bills}}/{{$total_bills}}

Staff Present Today0/{{$users->where('user_type', 'teacher')->count()}}

Student Present Today {{$count_student_attendance}}/{{$users->where('user_type', 'student')->count()}}

@if(auth()->user()->user_type != 'admin' || auth()->user()->user_type != 'parent') @livewire('wire-dashboard')
@livewire('dashboard.profit-and-loss-chart')
@endif @endif {{--Events Calendar Begins--}}
School Events Calendar
{!! Qs::getPanelOptions() !!}
@livewire('canteen.menu-component')
{{--Events Calendar Ends--}} @endsection