@extends('layouts.admin') @section('content')
Dashboard
{{-- Students Courses Card --}} {{-- Students --}}
Students

{{$students_count}}

View Students
{{-- Inactive Card --}}
Inactive

{{$inactive_count}}

View Students
{{-- Extra meeting request --}}
Requests

{{$extra_meeting_requests_count}}

View Requests
{{-- Enrollments --}}
Overall Enrollments

{{$overall_enrollments_count}}

View Enrollments
Active Enrollments

{{$active_enrollments_count}}

View Enrollments
InActive Enrollments

{{$inactive_enrollments_count}}

View Enrollments
{{-- installments --}}
Installments

{{$installments}}

View Installments
{{-- Un calculated Transactions --}}
Un-Calculated Transactions

{{$uncalculated_transactions}}

View Transactions
@if($wallet_transaction_errors > 0) {{-- Repeated Walled Transaction --}}
Recharge Errors

{{$wallet_transaction_errors}}

View Details
@endif {{-- @if($duplicated_transaction_by_lesson > 0) --}} {{-- Repeated Walled Transaction --}} {{--
Duplicated Trans

{{$duplicated_transaction_by_lesson}}

View Details
--}} {{-- @endif --}} @if($uncalculated_transactions_less_than_month > 0) {{-- Un calculated Transactions less than month --}}
transactions errror
{{$uncalculated_transactions_less_than_month}}
View Details
@endif @if($uncalculated_installments_less_than_month > 0) {{-- Un calculated Installments less than month --}}
installments errror
{{$uncalculated_installments_less_than_month}}
View Details
@endif @if($group_schedules_not_in_today_meetings > 0) {{-- group_schedules_not_in_today_meetings --}}
today meetings warning
{{$group_schedules_not_in_today_meetings}}
View Details
@endif @if($missed_recordings > 0)
Missed Recordings
{{$missed_recordings}}
View Details
@endif
{{-- @if ($notifications->count() > 0)

Notifications

@csrf
    @foreach ($notifications as $notification)
  • img
    {{$notification->data['title']}}

    {{$notification->data['body']}}

    View Details {{$notification->created_at->diffForHumans()}}
  • @endforeach
@endif --}} {{-- Meetings --}}

Meetings

@if (request()->meetings=='yesterday_meetings') {{-- Yesterday Meetings --}}
@foreach ($yesterday_meetings as $meeting) @endforeach
Number Topic Level Status Date/Time
{{$meeting->mnumber}} {{$meeting->mtopic}} {{$meeting->lname}} {{$meeting->mstatus}}
{{$meeting->is_extra ? 'Extra meeting':''}} @if($meeting->is_extra == 0) {{$meeting->is_deleted ? 'Deactivated':''}} @endif
{{ $meeting->mstartdate . ' / '}} {{date('h:i A', strtotime($meeting->mstarttime))}}
@endif @if (!request()->meetings||request()->meetings=='today_meetings') {{-- Today Meetings --}}
@foreach ($today_meetings as $meeting) @endforeach
Number Password join Topic Attendance level Status Date/Time Cancel Meeting Share Meeting URL

{{$meeting->mnumber}}

@if ($meeting->is_extra) @if (in_array($meeting->is_extra_id,$today_meetings ->where('mid','!=',$meeting->mid) ->where('is_extra_id',$meeting->is_extra_id) ->pluck('is_extra_id')->toArray()))
merged
@endif @endif
{{$meeting->mpassword}} @php $found = 0; @endphp @if (now()->format('H:i:s') < date('H:i:s', strtotime('+' . $meeting->mduration + 30 . ' minutes', strtotime($meeting->mstarttime))) && now()->format('H:i:s') > date('H:i:s', strtotime($meeting->mstarttime) - 900) && $meeting->mstartdate === now()->format('Y-m-d')) @php $found = 1; @endphp @endif @if ($found && $meeting->mstatus!='Canceled') Join Lesson @else Join Lesson @endif {{$meeting->mtopic}} View {{$meeting->lname}} {{$meeting->mstatus}}
{{$meeting->is_extra ? 'Extra meeting':''}} @if($meeting->is_extra == 0) {{$meeting->is_deleted ? 'Deactivated':''}} @endif
{{ $meeting->mstartdate . ' / '}} {{date('h:i A', strtotime($meeting->mstarttime))}} @if ($meeting->mstatus == 'Canceled') cancel
@csrf

Meeting Canceled

@else cancel
@csrf
@endif
@if ($meeting->shareable_url != "")
{{-- Copy lnk --}}
{{-- Copy password --}} {{-- Edit password --}}
@else
@csrf
@endif
@endif @if (request()->meetings=='tommorow_meetings') {{-- Tommorow Meeting --}}
@foreach ($tommorow_meetings as $meeting) @endforeach
Number Topic Level Status Date/Time Cancel Meeting Share Meeting URL
{{$meeting->mnumber}} {{$meeting->mtopic}} {{$meeting->lname}} {{$meeting->mstatus}}
{{$meeting->is_extra ? 'Extra meeting':''}} @if($meeting->is_extra == 0) {{$meeting->is_deleted ? 'Deactivated':''}} @endif
{{ $meeting->mstartdate . ' / '}} {{date('h:i A', strtotime($meeting->mstarttime))}} @if ($meeting->mstatus == 'Canceled') cancel
@csrf

Meeting Canceled

@else cancel
@csrf
@endif
@if ($meeting->shareable_url != "")
{{-- Copy lnk --}}
{{-- Copy password --}} {{-- Edit password --}}
@else
@csrf
@endif
@endif
{{--Live Support Meetings--}}

Live Support Meetings

@if (!request()->live_support_meetings||request()->live_support_meetings=='today_meetings') {{-- Today Meetings --}}
{{-- --}} {{-- --}} @foreach ($live_support_today_meetings as $meeting) {{-- --}} {{-- --}} @endforeach
Number join TopicAttendanceStatus Date/Time Cancel MeetingShare Meeting URL

{{$meeting->mnumber}}

@php $found = 0; @endphp @if (now()->format('H:i:s') < date('H:i:s', strtotime('+' . $meeting->mduration + 30 . ' minutes', strtotime($meeting->mstarttime))) && now()->format('H:i:s') > date('H:i:s', strtotime($meeting->mstarttime) - 900) && $meeting->mstartdate === now()->format('Y-m-d')) @php $found = 1; @endphp @endif @if ($found && $meeting->mstatus!='Canceled') Join Session @else Join Lesson @endif {{$meeting->mtopic}}View {{$meeting->mstatus}}
{{ $meeting->mstartdate . ' / '}} {{date('h:i A', strtotime($meeting->mstarttime))}} @if ($meeting->mstatus == 'Canceled')

Meeting Canceled

@else cancel
@csrf
@endif
@endif
{{-- Offered courses --}}

Current Offered Courses

@lang('student.search by course name')
@lang('student.filter by')
{{-- @forelse ($sessions as $session => $item) --}}
@foreach ($offered_courses as $offer) @endforeach
{{ $offer->esname }}
{{ $offer->cname }}
@if ($offer->has_label) @endif

{{ $offer->cname }}

{{ $offer->lname }}


{{ $offer->sname }} {{ $offer->year }}

{{ $offer->bname }}

{{--

--}}

{{ Str::limit($offer->cdescription, 100, '....') }}

{{ $offer->fee_per_lesson_total }} @lang('student.EGP') / @lang('student.lesson')

@if ($offer->fee_per_course_total > 0)

@if ($offer->by_month) {{$offer->fee_course_per_month}} @lang('student.EGP') / @lang('student.month') @elseif ($offer->course_discount > 0 ) {{$offer->fee_per_course_total}} {{ $offer->fee_per_course_total - ($offer->fee_per_course_total * ($offer->course_discount / 100)) }} @lang('student.EGP') / @lang('student.course') @else {{$offer->fee_per_course_total}} @lang('student.EGP') / @lang('student.course') @endif

@endif @if($offer->allow_enrollment)

@lang('student.enrollment-opened')

@else

@lang('student.enrollment-closed')

@endif {{-- @if ($offer->enrollment->count() > 0)

{{$offer->enrollment->count()}} @lang('student.enrollments')

@endif --}}
@if (in_array(auth()->id(),[1,3]))

{{-- --}} @if ($offer->course_discount == 0) @else @endif

@endif
{{-- @empty

Looks like There Is No Courses Been Found

@endforelse --}}
{{-- add course group modal --}} @include('components.course_offering.modals') @endsection @section('admin-js') {{-- --}} {{-- course offering tools --}} @endsection