{{-- @if(checkRole(['owner'])) --}}
{{ Form::label('branch_id', getphrase('branch')) }} * {{Form::select('branch_id', $branches, null, ['class'=>'form-control', 'id'=>'branch_id', 'ng-model'=>'branch_id', 'required'=> 'true', 'ng-change'=>'changeClassDetail(branch_id)', 'ng-class'=>'{"has-error": formExpenses.branch_id.$touched && formExpenses.branch_id.$invalid}' ])}}
{!! getValidationMessage()!!}
{{-- @else {{ Form::hidden('branch_id', getUserRecord()->branch_id, array('id'=>'branch_id')) }} @endif --}}
{{ Form::label('imprest_category_id', getphrase('imprest_category')) }} * {{Form::select('imprest_category_id', $imprest_categories, null, ['class'=>'form-control', 'id'=>'imprest_category_id', 'placeholder'=>getPhrase('select'), 'ng-model'=>'imprest_category_id', 'required'=> 'true', 'ng-class'=>'{"has-error": formExpenses.imprest_category_id.$touched && formExpenses.imprest_category_id.$invalid}' ])}}
{!! getValidationMessage()!!}
{{ Form::label('imprest_amount', getphrase('imprest_amount')) }} * {{ Form::number('imprest_amount', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('enter_value'), 'ng-model'=>'imprest_amount', 'min'=>'0', 'string-to-number'=>'imprest_amount', 'required'=> 'true', 'ng-class'=>'{"has-error": formExpenses.imprest_amount.$touched && formExpenses.imprest_amount.$invalid}', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('number')!!}
{{ Form::label('imprest_date', getphrase('imprest_date')) }} {{ Form::text('imprest_date', $value = $imprest_date , $attributes = array('class'=>'input-sm form-control dp')) }}
{{ Form::label('remark', getphrase('remark')) }} * {{ Form::text('remark', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('remark'), 'ng-model'=>'remark', 'required'=> 'true', 'ng-class'=>'{"has-error": formExpenses.remark.$touched && formExpenses.remark.$invalid}', 'ng-maxlength' => '512', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('maxlength')!!}
{{ Form::label('course_subject_id', getphrase('class')) }} *
{!! getValidationMessage()!!}
{{ Form::label('section_id', getphrase('section')) }} * {{Form::select('section_id', $sections, null, ['class'=>'form-control', 'id'=>'section_id', 'ng-model'=>'section_id', 'required'=> 'true', 'ng-change'=>'changeSection(section_id)', 'ng-class'=>'{"has-error": formExpenses.section_id.$touched && formExpenses.section_id.$invalid}' ])}}
{!! getValidationMessage()!!}
{{ Form::label('type', getphrase('allocation_type')) }} * {{Form::select('type', $types, null, [ 'class'=>'form-control', 'placeholder'=>'Select', 'id'=>'type', 'ng-model'=>'type', 'required'=> 'true', 'ng-change'=>'getStudents(type)', 'ng-class'=>'{"has-error": formQuiz.type.$touched && formQuiz.type.$invalid}', 'ng-options'=> "option.id as option.type for option in allottype track by option.id" ])}}
{!! getValidationMessage()!!}
{{getPhrase('S.No')}} {{getPhrase('roll_no')}} {{getPhrase('student_name')}} {{getPhrase('select')}}
@{{$index+1}} @{{student.user.roll_no}} @{{student.user.name}}