@extends('backend.master') @section('mainContent') {!! generateBreadcrumb() !!}

@if(isset($editdata)) {{__('zoom.Edit')}} @else {{__('zoom.Add')}} @endif {{__('zoom.Classes')}}

@csrf
@if ($errors->has('topic')) {{ $errors->first('topic') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@if ($errors->has('time')) {{ @$errors->first('time') }} @endif
@if ($errors->has('durration')) {{ $errors->first('durration') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif

{{__('zoom.Recurring')}}

@if (isset($editdata))
is_recurring) == 1? 'checked': ''}}>
is_recurring) == 0? 'checked': ''}}>
@else
@endif
@if ($errors->has('recurring_type')) {{ @$errors->first('recurring_type') }} @endif
@if ($errors->has('recurring_repect_day')) {{ @$errors->first('recurring_repect_day') }} @endif
@if ($errors->has('recurring_end_date')) {{ $errors->first('recurring_end_date') }} @endif
attached_file) : trans('zoom.Attached File')}}" id="placeholderUploadContent"> @if ($errors->has('attached_file')) {{ $errors->first('attached_file') }} @endif
{{-- Start setting --}}

{{__('zoom.Change Default Settings')}}

{{__('zoom.Join Before Host')}}

@if (isset($editdata))
join_before_host) == 1 ? 'checked': ''}}>
join_before_host) == 0 ? 'checked': ''}}>
@else
join_before_host) == 1? 'checked': ''}}>
join_before_host) == 0? 'checked': ''}}>
@endif

{{__('zoom.Host Video')}}

@if (isset($editdata))
host_video) == 1? 'checked': ''}}>
host_video) == 0? 'checked': ''}}>
@else
host_video) == 1? 'checked': ''}}>
host_video) == 0? 'checked': ''}}>
@endif

{{__('zoom.Participant Video')}}

@if (isset($editdata))
participant_video) == 1 ? 'checked': ''}}>
participant_video) == 0 ? 'checked': ''}}>
@else
participant_video) == 1 ? 'checked': ''}}>
participant_video) == 0 ? 'checked': ''}}>
@endif

{{__('zoom.Mute Upon Entry')}}

@if (isset($editdata))
mute_upon_entry) == 1 ? 'checked': ''}}>
mute_upon_entry) == 0 ? 'checked': ''}}>
@else
mute_upon_entry) == 1 ? 'checked': ''}}>
mute_upon_entry) == 0 ? 'checked': ''}}>
@endif

{{__('zoom.Waiting Room')}}

@if (isset($editdata))
waiting_room) == 1 ? 'checked': ''}}>
waiting_room) == 0 ? 'checked': ''}}>
@else
waiting_room) == 1 ? 'checked': ''}}>
waiting_room) == 0 ? 'checked': ''}}>
@endif
@if ($default_settings->package_id != 1 )

{{__('zoom.Auto Recording')}}

@if ($errors->has('auto_recording')) {{ @$errors->first('auto_recording') }} @endif
@endif

{{__('zoom.Audio Option')}}

@if ($errors->has('audio')) {{ @$errors->first('audio') }} @endif

{{__('zoom.Class Approval')}}

@if ($errors->has('approval_type')) {{ @$errors->first('approval_type') }} @endif
{{-- Start setting --}}
@if(empty($user->zoom_api_key_of_user) ||empty($user->zoom_api_serect_of_user)) * Please make sure zoom api key setup successfully. Without zoom api key setup, you can't create class @else @endif
@if(isset($editdata)) @endif @if(isset($editdata)) @else @endif @endsection @push('scripts') @endpush