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

@lang('system_settings.update_general_settings')

@if(Illuminate\Support\Facades\Config::get('app.app_sync')) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'admin-dashboard', 'method' => 'GET', 'enctype' => 'multipart/form-data']) }} @else @if(userPermission('update-general-settings-data')) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'update-general-settings-data', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif @endif

@lang('common.update')

@if ($errors->has('school_name')) {{ $errors->first('school_name') }} @endif
@if ($errors->has('site_title')) {{ $errors->first('site_title') }} @endif
@if ($errors->has('session_id')) {{ $errors->first('session_id') }} @endif
@if ($errors->has('school_code')) {{ $errors->first('school_code') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('income_head')) {{ $errors->first('income_head') }} @endif
@if ($errors->has('language_id')) {{ $errors->first('language_id') }} @endif
@if ($errors->has('week_start_id')) {{ $errors->first('week_start_id') }} @endif
@if ($errors->has('date_format_id')) {{ $errors->first('date_format_id') }} @endif
@if ($errors->has('time_zone')) {{ $errors->first('time_zone') }} @endif
@if ($errors->has('currency')) {{ $errors->first('currency') }} @endif
@if ($errors->has('currency_symbol')) {{ $errors->first('currency_symbol') }} @endif
is_administrator != "yes" ? 'readonly':''}} autocomplete="off" value="{{isset($editData)? @$editData->file_size : old('file_size')}}" id="file_size" > @if ($errors->has('file_size')) {{ $errors->first('file_size') }} @endif
@if ($errors->has('ss_page_load')) {{ $errors->first('ss_page_load') }} @endif

@lang('student.multiple_roll_number')

multiple_roll == "1"? 'checked': ''}}>
multiple_roll == "0"? 'checked': ''}}>

@lang('system_settings.promossion_without_exam')

promotionSetting == "0"? 'checked': ''}}>
promotionSetting == "1"? 'checked': ''}}>
@if(moduleStatusCheck('Lms'))

@lang('lms::lms.lms_checkout_option')

lms_checkout == "1"? 'checked': ''}}>
lms_checkout == "0"? 'checked': ''}}>
@endif

@lang('system_settings.subject_attendance_layout')

{{-- --}}
attendance_layout == "0"? 'checked': ''}}>
@if(moduleStatusCheck('Fees') && !moduleStatusCheck('University'))

@lang('fees::feesModule.new_fees_module')

fees_status == "1"? 'checked': ''}}>
fees_status == "0"? 'checked': ''}}>
@endif
@if(!moduleStatusCheck('University'))

@lang('fees.school_fees_payment_installment_enable')

direct_fees_assign == "1"? 'checked': ''}}>
direct_fees_assign == "0"? 'checked': ''}}>
@endif

@lang('system_settings.result_type')

result_type == "gpa"? 'checked': ''}}>
result_type == "mark"? 'checked': ''}}>

@lang('system_settings.student_admission')

with_guardian == 1 ? 'checked': ''}}>
with_guardian == 0 ? 'checked': ''}}>

@lang('system_settings.If_student_do_not_pay_fees_bfore_due_date_login_restricted_student_&_parent')

due_fees_login == 1 ? 'checked': ''}}>
due_fees_login == 0 ? 'checked': ''}}>

@lang('common.global_settings_for_can_comment_and_comment_auto_approval')

auto_approve == 1 ? 'checked': ''}}>
is_comment == 1 ? 'checked': ''}}>

@lang('common.Blog Search')

blog_search == 1 ? 'checked': ''}}>
blog_search == 0 ? 'checked': ''}}>

@lang('common.role_based_sidebar')

role_based_sidebar == 1 ? 'checked': ''}}>
role_based_sidebar == 0 ? 'checked': ''}}>

@lang('common.Recent Blog')

recent_blog == 1 ? 'checked': ''}}>
recent_blog == 0 ? 'checked': ''}}>
 {{ 'cd ' . base_path() . '/ && php artisan schedule:run >> /dev/null 2>&1' }}
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if(env('APP_SYNC')==TRUE) @else @if(userPermission('update-general-settings-data')) @endif @endif
{{ Form::close() }}
@endsection