@extends('admin.layouts.leadManagement') @section('title') {{ __('edit') }} @endsection @section('style') @endsection @section('content') @php $task_description = json_decode(@$class->task_description, true); $des_serial = 1; @$detail['id'] = 1; $meetingId = @$batch->meeting_id ?? null; $meetingPassword = @$batch->meeting_password ?? null; $start_date = \Carbon\Carbon::parse($class->start_date) ->tz(env('APP_TIMEZONE', 'UTC')) ->subMinutes(10); $end_date = \Carbon\Carbon::parse($start_date) ->tz(env('APP_TIMEZONE', 'UTC')) ->addMinutes($class->class_duration + 40); $current_date = \Carbon\Carbon::now()->tz(env('APP_TIMEZONE', 'UTC')); $is_current_date_within_range = $current_date->gte($start_date) && $current_date->lte($end_date); $study_material = json_decode(@$class->study_material, true); @endphp
{{--

Class

--}} {{-- @if (userCan('followup.view'))

@endif --}}

Show

@if(userCan('class.view')) @endif

(#{{ @$class->class_code }}) {{ ucwords(@$class->class_name) }}

Mode: {{ @$class->class_mode == 1 ? 'Online' : 'Offline' }} |Status: {{ @$class->status == 1 ? 'Active' : 'Inactive' }} |Tutor Name: @if ($class->tutor_id) {{ ucwords(adminIdToNameGet($class->tutor_id)) }} @endif

Date :{{ dateMonthTimeFormat(@$class->start_date) }}

{{-- --}} {{-- @if (userCan('class.hostClass') && $meetingId && $meetingPassword) Host Class @endif --}} @if (userCan('class.hostClass') && !empty($meetingId) && !empty($meetingPassword) && $is_current_date_within_range)
@csrf @method('POST')
@endif {{-- @if (userCan('class.hostClass') && $meetingId && $meetingPassword && $is_current_date_within_range) @endif --}}
{{--
Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

--}}
{{--
Attendees
--}}

Attendees

{{-- --}}
UserClassAttend
{{--
Task & Home Work
--}}

Task & Home Work

@if (@$task_description === null) @else @foreach (@$task_description as $description) @php $des_serial++; @endphp @endforeach @endif
Type Task Name Mock Test Mock Test Type Duration link
@if (@$description['type'] == 'Mock test') @endif @if (@$description['type'] == 'Mock test') @endif

Study Material

@if (@$study_material === null)
No Study Material Available.
@else @php $serial = 1; @endphp @foreach (@$study_material as $study)
{{-- ... --}} Placeholder

{{ ucwords(@$study['file_name']) ?? '--' }}

{{--

{{ @$study['file_name'] ?? '--' }} lkjweqoifweuoifu ihWIUFYIuwhq fbugiuwqhdgiuoFJBEWJHG IUWQGHFIUG WEQFGGIU

--}}
@csrf {{-- --}} {{-- --}}
@php $serial++; @endphp @endforeach @endif
{{--
--}} @endsection @section('script') @endsection