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

@lang('lang.chatting') @lang('lang.method') @lang('lang.settings')

@csrf

@lang('lang.chat') @lang('lang.settings')

@lang('lang.chat') @lang('lang.settings')

@csrf

@lang('lang.can_teacher_chat_with_parents')

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

@lang('lang.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('lang.admin_can_chat_without_invitation')

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

@lang('lang.open_chat_system')

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

@lang('lang.invitation') @lang('lang.settings')

@csrf

@lang('lang.invitation') @lang('lang.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('lang.generate') @lang('lang.connections')

@lang('lang.generate') @lang('lang.teacher') @lang('lang.and') @lang('lang.student') @lang('lang.connection') @lang('lang.for') @lang('lang.old') @lang('lang.class') @lang('lang.&') @lang('lang.subjects')


@endif

@lang('lang.permission') @lang('lang.settings')

@csrf

@lang('lang.can_upload_file')

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

@lang('lang.can_make_group')

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

@lang('lang.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('lang.teacher_can_pinned_top_message')

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