@extends('layouts.app') @section('title', __('academic.add_subject_settings')) @section('content')

{{ __('academic.add_subject_settings') }}

{!! html()->form('POST', route('subject_settings.store'))->id('subject_settings_form')->open() !!}
@component('components.widget', ['title' => __('academic.add_subject_settings')])
{!! html()->checkbox('status[0]', true)->id('status')->class('input-icheck status') !!} {!! html()->label('Status', 'status') !!} @show_tooltip(__('core.tooltip_enable_user_active'))
{!! html()->label(__('academic.select_academic_class') . ':', 'academic_class_id[0]') !!}
{!! html()->select('academic_class_id[0]', $academic_classes)->class('form-control academic_class_id')->required()->id('academic_class_id[0]')->value(old('academic_class_id[0]')) !!}
{!! html()->label(__('academic.select_group') . ':', 'group[0]') !!}
{!! html()->select('group_id[0]', 'Please Select')->class('form-control group_id')->id('group_id[0]')->value(old('group_id'))->attribute('disabled', true) !!}
{!! html()->label(__('academic.select_section') . ':', 'section_id[0]') !!}
{!! html()->select('section_id[0]', 'Please Select')->class('form-control section_id')->id('section_id[0]')->value(old('section_id[0]'))->attribute('disabled', true) !!}
{!! html()->label(__('academic.select_subject') . ':', 'subject_id[0]') !!}
{!! html()->select('subject_id[0]', $subjects)->class('form-control subject_id')->id('subject_id[0]')->required()->value(old('subject_id[0]')) !!}
{!! html()->label(__('academic.student_payment') . ':', 'student_payment[0]') !!} {!! html()->number('student_payment[0]')->class('form-control student_payment')->id('student_payment[0]')->value(old('student_payment[0]')) !!}
{!! html()->label(__('academic.teacher_salary') . ':', 'teacher_salary[0]') !!} {!! html()->number('teacher_salary[0]')->class('form-control teacher_salary')->id('teacher_salary[0]')->value(old('teacher_salary[0]')) !!}
{!! html()->label(__('core.note') . ':', 'note[0]') !!} {!! html()->textarea('note[0]')->class('form-control')->id('note[0]')->value(old('note[0]')) !!}
{{-- --}}
@endcomponent
{!! html()->button(__('messages.save'), 'submit')->class('btn btn-primary btn-big') !!}
{!! html()->form()->close() !!}
@stop @section('javascript') @endsection