@extends('layouts.master') @section('page_title', 'My Dashboard') @section('content') {{-- Accounting Dashboard for Accountants and Super Admins --}} @if(Qs::userIsTeamAccount())
Financial Dashboard
Loading...

Loading financial data...

@livewire('dashboard.accounting-dashboard')
@endif @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
@if(auth()->user()->user_type != 'admin' || auth()->user()->user_type != 'parent')
@livewire('dashboard.profit-and-loss-chart')
{{-- Financial Reports Quick Access --}} @if(Qs::userIsTeamAccount())
Financial Reports Quick Access
@endif @endif @endif {{--Events Calendar Begins--}}
School Events Calendar
{!! Qs::getPanelOptions() !!}
@livewire('canteen.menu-component')
{{--Events Calendar Ends--}} @endsection