@extends('backend.master') @push('styles') @endpush @section('mainContent')

{{__("common.Dashboard")}}

@if (permissionCheck('dashboard.number_of_student')) @endif @if (permissionCheck('dashboard.number_of_instructor')) @endif @if (permissionCheck('dashboard.number_of_subject')) @endif @if (permissionCheck('dashboard.number_of_enrolled')) @endif @if(showEcommerce()) @if (permissionCheck('dashboard.total_amount_from_enrolled')) @endif @if (permissionCheck('dashboard.total_revenue')) @endif @if (permissionCheck('dashboard.total_enrolled_today')) @endif @if (permissionCheck('dashboard.total_enrolled_this_month')) @endif
@if (permissionCheck('dashboard.monthly_income'))

{{__('dashboard.Monthly Income Stats for')}} {{translatedNumber(date('Y'))}}

@endif @if (permissionCheck('dashboard.payment_statistic'))

{{__('dashboard.Payment Statistics for')}} {{\Carbon\Carbon::now()->translatedFormat('F')}}

@endif @if (permissionCheck('dashboard.overview_status_of_courses'))

{{__('dashboard.Status Overview of Topics')}}

@endif @if (permissionCheck('dashboard.overview_of_courses'))

{{__('dashboard.Overview of Topics')}}

@endif @if(isModuleActive('CPD'))

{{__('cpd.CPD')}} {{translatedNumber(date('Y'))}}

@endif @if (permissionCheck('dashboard.daily_wise_enroll'))

{{__('dashboard.Daily Wise Enroll Status for')}} {{\Carbon\Carbon::now()->translatedFormat('F')}}

@endif @if (permissionCheck('userLoginChartByDays'))

{{__('dashboard.User Login Chart')}} ({{__('dashboard.By Date')}})

@endif @if (permissionCheck('userLoginChartByTime'))

{{__('dashboard.User Login Chart')}} ({{__('dashboard.By Time')}})

@endif
@endif
{{--
--}}
@if (permissionCheck('dashboard.total_student_by_each_course'))

{{__('dashboard.Total student by each course')}}

@foreach ($allCourses->where('type',1) as $key =>$course) @endforeach @if(count($allCourses->where('type',1))==0) @endif
{{__('courses.Course Title')}} {{__('courses.Instructor')}} {{__('dashboard.Enrolled')}}
{{@$course->title}} {{@$course->user->name}} {{@translatedNumber($course->enrolls->count())}}
{{__('common.No data available in the table')}}
@endif @if (permissionCheck('dashboard.recent_enrolls'))

{{__('dashboard.Recent Enrolls')}}

@if(showEcommerce()) @endif @foreach ($recentEnroll as $key =>$enroll) @if(showEcommerce()) @endif @endforeach @if(count($recentEnroll)==0) @endif
{{__('courses.Course Title')}} {{__('courses.Instructor')}} {{__('common.Email Address')}}{{__('dashboard.Recent Enrolls')}}
{{@$enroll->course->title}} {{@$enroll->course->user->name}} {{@$enroll->user->email}} @if(isModuleActive('Organization') && auth()->user()->isOrganization()) {{getPriceFormat(@$enroll->reveune)}} @else {{getPriceFormat($enroll->purchase_price - @$enroll->reveune)}} @endif
{{__('common.No data available in the table')}}
@endif
@if(count($badges)!=0)

{{__('frontend.Upcoming Badge')}}

@endif @if(isModuleActive('Noticeboard')) @includeIf('noticeboard::_dashboard_noticeboard_list') @endif @endsection @push('scripts') @endpush