@extends('backEnd.master') @section('title') @lang('exam.marksheet_report') @endsection @section('mainContent')
{{ Form::open(['class' => 'form-horizontal', 'route' => 'percent-marksheet-report', 'method' => 'GET']) }}
@if(moduleStatusCheck('University'))
@includeIf('university::common.session_faculty_depart_academic_semester_level', ['required' => ['USN', 'UD', 'UA', 'US', 'USL','USUB'] ])
{{ Form::select('exam_type',[""=>__('exam.select_exam').'*'], null , ['class' => 'primary_select form-control'. ($errors->has('exam_type') ? ' is-invalid' : ''), 'id'=>'select_exam_typ_subject']) }}
loader
@if ($errors->has('exam')) {{ @$errors->first('exam') }} @endif
@else
@if ($errors->has('exam_type')) {{ $errors->first('exam_type') }} @endif
loader
@error('subject') {{ $message }} @enderror
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if($errors->has('section')) {{ $errors->first('section') }} @endif
@endif
{{ Form::close() }}
@if(isset($mark_sheet)) @if(moduleStatusCheck('University')) @includeIf('university::exam.mark_sheet_report') @else

@lang('exam.marksheet_report')

{{ generalSetting()->school_name }}

@lang('exam.exam') : {{$examInfo->title}}

@lang('exam.subject') : {{$subjectInfo->subject_name}}

@lang('common.class') : {{$classInfo->class_name}} ({{$sectionInfo->section_name}})

{{isset(generalSetting()->school_name)?generalSetting()->school_name:'Infix School Management ERP'}}

{{isset(generalSetting()->address)?generalSetting()->address:'Infix School Adress'}}

@lang('common.email'): {{isset(generalSetting()->email)?generalSetting()->email:'hello@aorasoft.com'}} , @lang('common.phone'): {{isset(generalSetting()->phone)?generalSetting()->phone:'+96897002784'}}

@lang('exam.marksheet_report')


@foreach($mark_sheet as $data) @php $totalMark = subjectPercentageMark(@$data->total_marks, @subjectFullMark($data->exam_type_id, $data->subject->id, $data->class_id, $data->section_id)); $evaluation= markGpa($totalMark); @endphp @if($exam_rule) @else @endif @endforeach
@lang('common.student_name') @lang('student.admission_no') @lang('student.roll_no') @lang('exam.position') @lang('exam.total_mark') @lang('academics.pass_mark') @lang('exam.obtained_mark') @lang('exam.result') @lang('reports.remarks')
{{$data->studentRecords->student->full_name}} {{$data->studentRecords->student->admission_no}} {{$data->studentRecords->student->roll_no}} {{$loop->iteration}}{{subject100PercentMark()}}{{@subjectFullMark($data->exam_type_id, $data->subject->id)}}{{$pass_mark}} @if($exam_rule) {{$totalMark}} @else {{@$data->total_marks}} @endif @if ($pass_mark <= $totalMark) @lang('exam.pass') @else @lang('exam.fail') @endif {{$evaluation->description}}
@endif @endif @endsection @if(moduleStatusCheck('University')) @push('script') @endpush @endif