@extends('backEnd.master') @section('title') @lang('system_settings.optional_subject') @endsection @section('mainContent')
@lang('system_settings.assign_optional_subject')
@lang('common.dashboard')
@lang('system_settings.system_settings')
@lang('system_settings.optional_subject')
@lang('system_settings.assign_optional_subject')
@if(userPermission('optional_subject_setup_post')) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'optional_subject_setup_post', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_student']) }} @endif
@lang('common.select_class')
*
@foreach($classes as $class)
id == @$editData->class_id? 'checked':''):''}}>
{{@$class->class_name}}
@endforeach
id, old('class'))) ? ' checked' : '' }}>
@lang('system_settings.all_select')
@if($errors->has('class'))
{{ $errors->first('class') }}
@endif
@lang('reports.gpa_above')
*
@if ($errors->has('gpa_above'))
{{ $errors->first('gpa_above') }}
@endif
@php $tooltip = ""; if(userPermission('optional_subject_setup_post') || userPermission('class_optional_edit')){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
@if (isset($editData)) @lang('system_settings.update') @else @lang('system_settings.save') @endif
{{ Form::close() }}
@if(isset($class_optionals))
@lang('system_settings.optional_subject')
@php $i=0; @endphp @foreach($class_optionals as $class_optional)
@lang('common.delete_optional_subject')
×
@lang('common.are_you_sure_to_delete')
@lang('common.cancel')
@lang('common.delete')
@endforeach
@lang('common.sl')
@lang('common.class_name')
@lang('reports.gpa_above')
@lang('common.action')
{{++$i}}
{{@$class_optional->class_name}}
{{ number_format(@$class_optional->gpa_above, 2, '.', ' ')}}
@if(userPermission('class_optional_edit'))
@lang('common.edit')
@endif @if(userPermission('delete_optional_subject'))
@lang('common.delete')
@endif
@endif @endsection @include('backEnd.partials.data_table_js')