@extends('layouts.admin') @section('innerTitle',__lang('dashboard')) @section('pageTitle',__lang('dashboard')) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard') ]]) @endsection @section('content')
@can('access','view_students') @endcan

{{__lang('students')}}

{{$totalStudents}}
@can('access','view_students')
@endcan
@can('access-group','course') @endcan

{{ __lang('online-courses') }}

{{ $totalCourses }}
@can('access-group','course')
@endcan
@can('access-group','course') @endcan

{{ __lang('active-sessions') }}

{{ $totalSessions }}
@can('access-group','course')
@endcan
@can('access','view_classes') @endcan

{{ __lang('classes') }}

{{ $totalClasses }}
@can('access','view_classes')
@endcan
@can('access','view_payments')

{{ __lang('sales') }}

{{ $todaySales }}
{{ price($todaySum) }}
{{ __lang('today-sales') }}
{{ $weekSales }}
{{ price($weekSum) }}
{{ __lang('week-sales') }}
{{ $monthSales }}
{{ price($monthSum) }}
{{ __lang('month-sales') }}
{{ $yearSales }}
{{ price($yearSum) }}
{{ __lang('year-sales') }}
@endcan @can('access','view_discussions')

{{__lang('discussions')}}

    @foreach($discuss['paginator'] as $row)
  • avatar
    {{ \Illuminate\Support\Carbon::parse($row->created_at)->diffForHumans() }}
    {{ $row->name }} {{ $row->last_name }}
    {{ limitLength($row->subject,200) }}
  • @endforeach
@endcan
@can('access','view_students')

{{ __lang('latest-users') }}

@foreach($latestUsers as $user)
student) data-id="{{ $user->student->id }}" data-bs-toggle="modal" data-bs-target="#simpleModal" title="@lang('default.view')" @endif > image
@if($user->role_id==1) @else @endif
@endforeach
@endcan
@can('access','view_payments')

{{ __lang('invoices') }}

@endcan @can('access','view_sessions')
@endcan
@endsection @section('footer') @endsection