@extends('backEnd.master') @section('title') @lang('chat::chat.settings') @endsection @section('mainContent')

@lang('chat::chat.chatting_method_settings')

@csrf

@lang('chat::chat.chat_settings')

get('chatting_method') == 'pusher' ? 'checked' : ''}}>
get('chatting_method') == 'log' ? 'checked' : ''}}>

@lang('chat::chat.chat_settings')

@csrf

@lang('chat::chat.can_teacher_chat_with_parents')

get('chat_can_teacher_chat_with_parents') == 'yes' ? 'checked' : ''}}>
get('chat_can_teacher_chat_with_parents') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.can_student_chat_with_admin_accounts')

get('chat_can_student_chat_with_admin_account') == 'yes' ? 'checked' : ''}}>
get('chat_can_student_chat_with_admin_account') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.admin_can_chat_without_invitation')

get('chat_admin_can_chat_without_invitation') == 'yes' ? 'checked' : ''}}>
get('chat_admin_can_chat_without_invitation') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.open_chat_system')

get('chat_open') == 'yes' ? 'checked' : ''}}>
get('chat_open') == 'no' ? 'checked' : ''}}>
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}}

@lang('chat::chat.invitation_settings')

@csrf

@lang('chat::chat.invitation_requirement')

get('chat_invitation_requirement') == 'required' ? 'checked' : ''}}>
get('chat_invitation_requirement') == 'none' ? 'checked' : ''}}>
{{-- @if( is_null(app('general_settings')->get('chat_generate')) || app('general_settings')->get('chat_generate') != 'generated') --}}

@lang('chat::chat.generate_connections')

@lang('chat::chat.generate_teacher_and_student_connection_for_old_class_&_subjects')


{{-- @endif --}}

@lang('chat::chat.permission_settings')

@csrf

@lang('chat::chat.can_upload_file')

get('chat_can_upload_file') == 'yes' ? 'checked' : ''}}>
get('chat_can_upload_file') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.student_can_make_group')

get('chat_can_make_group') == 'yes' ? 'checked' : ''}}>
get('chat_can_make_group') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.teacher_staff_can_make_group')

get('chat_teacher_staff_can_make_group') == 'yes' ? 'checked' : ''}}>
get('chat_teacher_staff_can_make_group') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.can_staff_or_teacher_ban_tudent')

get('chat_staff_or_teacher_can_ban_student') == 'yes' ? 'checked' : ''}}>
get('chat_staff_or_teacher_can_ban_student') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.teacher_can_pinned_top_message')

get('chat_teacher_can_pin_top_message') == 'yes' ? 'checked' : ''}}>
get('chat_teacher_can_pin_top_message') == 'no' ? 'checked' : ''}}>

@lang('chat::chat.student_can_add_member')

get('student_can_add_member') == 'yes' ? 'checked' : 'checked'}}>
get('student_can_add_member') == 'no' ? 'checked' : ''}}>
@endsection @push('scripts') @endpush