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

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'fees-discount-assign-search', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_studentA']) }}
@if(moduleStatusCheck('University')) @includeIf('university::common.session_faculty_depart_academic_semester_level',['hide'=>['USUB']]) @else
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@if ($errors->has('category')) {{ $errors->first('category') }} @endif
@if ($errors->has('group')) {{ $errors->first('group') }} @endif
@endif
{{ Form::close() }}
@if(!empty($students)) {{ Form::open(['class' => 'form-horizontal', 'method' => 'POST', 'route' => 'directFees.fees-discount-assign-store'])}}

@lang('fees.assign_fees_discount') ( @lang('fees.discount_will_be_applied_for_all_unpaid_installment_fees') )

@lang('fees.fees_discount') @lang('fees.amount')
{{$fees_discount->name}} {{$fees_discount->amount}}
@foreach($students as $student) @endforeach @if($students->count() > 0) @endif
0){ if(count($students) == count($already_assigned)){ echo 'checked'; } } @endphp> @lang('student.student_name') @lang('student.admission_no') @lang('common.class_sec') @lang('student.category') @lang('common.gender')
id, $already_assigned) ? 'checked':''}}> {{$student->studentDetail->full_name}} {{in_array($student->id, $already_assigned)}} {{$student->studentDetail->admission_no}} {{$student->class->class_name}}({{$student->section->section_name}}) {{$student->studentDetail->category!=""?$student->studentDetail->category->category_name:""}} {{$student->studentDetail->gender!=""?$student->studentDetail->gender->base_setup_name:""}}
{{ Form::close() }} @endif
@endsection @include('backEnd.partials.data_table_js')