@extends('admin.layouts.master') @section('page_title', __("Dashboard")) @push('css') @endpush @section('breadcrumb')
@include('admin.partials.breadcrumb', ['breads' => [__('Dashboard'), __('Dashboard & Statistics')]]) @if(auth()->getDefaultDriver() == 'admin') {{ __("Payments") }} @endif
@endsection @section('content') @can('View Dashboard')
{{__("Students With Groups")}}

{{$studentsWithGroup}}

5,9,5,6,4,12,18,14,10,15,12,5,8,5,12,5,12,10,16,12
{{__('Teachers')}}

{{$totalTeachers}}

3,2,4,6,12,14,8,7,14,16,12,7,8,4,3,2,2,5,6,7
{{__('Groups')}}

{{$totalGroups}}

5,10,5,20,22,12,15,18,20,15,8,12,22,5,10,12,22,15,16,10
{{__('Classrooms')}}

{{$totalClassrooms}}

5,9,5,6,4,12,18,14,10,15,12,5,8,5,12,5,12,10,16,12

{{__('Students Payments')}}

{{number_format($studentsPayments->sum('paid'), 2)}}

{{number_format($studentsPayments->sum('discounted'), 2)}}

{{number_format($studentsPayments->sum('exempt'), 2)}}

{{__('Total Profits')}}

{{__('Funds')}}

{{number_format($funds, 2)}}

{{__('Last 6 months')}}

{{__('Expenses')}}

{{number_format($expenses, 2)}}

{{__('Last 6 months')}}

{{__('Teachers Payments')}}

{{number_format($teachersPayments->sum('paid'), 2)}}

{{number_format($teachersPayments->sum('discounted'), 2)}}

{{number_format($teachersPayments->sum('bonus'), 2)}}

{{__('Total Payments')}}

{{$activeStudentsPayments}}

{{__('Active Students')}}

{{$studentsWithGroup}} - {{$totalStudents}}

@else
@endcan @endsection @push('js') @endpush