@extends('backend.master') @push('styles') @endpush @section('mainContent') @include("backend.partials.alertMessage") @if ($errors->any())
@endif @include("backend.partials.alertMessage") {!! generateBreadcrumb() !!}

@lang('common.Welcome') @lang('common.To') - {{Settings('site_title')}} | {{@Auth::user()->role->name}}

@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')}} {{date('Y')}}

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

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

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

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

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

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

@if(showEcommerce()) @endif @foreach ($recentEnroll as $key =>$enroll) @if(isset($enroll->course->slug)) @if(showEcommerce()) @endif @endif @endforeach
{{__('courses.Course Title')}} {{__('courses.Instructor')}} {{__('common.Email Address')}}{{__('dashboard.Recent Enrolls')}}
{{@$enroll->course->title}} {{@$enroll->course->user->name}} {{@$enroll->user->email}} {{getPriceFormat($enroll->purchase_price - @$enroll->reveune)}}
@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

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

@foreach ($allCourses->where('type',1) as $key =>$course) @if(isset($enroll->course->slug)) @endif @endforeach
{{__('courses.Course Title')}} {{__('courses.Instructor')}} {{__('dashboard.Enrolled')}}
{{@$course->title}} {{@$course->user->name}} {{@$course->enrolls->count()}}
@if (permissionCheck('dashboard.daily_wise_enroll'))

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

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

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

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

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

@endif

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

@endsection @push('scripts') @endpush