@extends('layouts.dashboard') @section('title-content') {{ config('app.name') }} | Dash Index @endsection @section('content')

Semester Report Generate

{{--

@lang('app.intro-text')

--}} {!! Form::open(['url' => Request::url(), 'class' => 'reports-module', 'method' => 'POST', 'role' => 'form']) !!}
{!! Form::label('year', 'Select Academic Year') !!} {!! Form::select( 'year', $academic_years, $request['year'] ?? null, $errors->has('academic_year') ? ['class' => 'form-control is-invalid', 'id' => 'year'] : ['class' => 'form-control', 'id' => 'year'], ) !!} {{-- --}}
{!! Form::label('year_study', 'Select Year of Study') !!} {!! Form::select( 'year_study', $years, $request['year_study'] ?? null, $errors->has('year') ? ['class' => 'form-control is-invalid', 'id' => 'year_study'] : ['class' => 'form-control', 'id' => 'year_study'], ) !!}
{!! Form::label('batch_no', 'Select Batch') !!} {!! Form::select( 'batch_no', $batches, $request['batch_no'] ?? null, $errors->has('batch_no') ? ['class' => 'form-control is-invalid', 'id' => 'batch_no'] : ['class' => 'form-control', 'id' => 'batch_no'], ) !!}
{!! Form::label('semester', 'Select Semester') !!} {!! Form::select( 'semester', $semester, $request['semester'] ?? null, $errors->has('semester') ? ['class' => 'form-control is-invalid', 'id' => 'semester'] : ['class' => 'form-control', 'id' => 'semester'], ) !!}
{!! Form::label('department_id', 'Select Department') !!} {!! Form::select( 'department_id', $departments, $request['department_id'] ?? null, $errors->has('department_id') ? ['class' => 'form-control is-invalid', 'id' => 'department_id'] : ['class' => 'form-control', 'id' => 'department_id'], ) !!}
{{--
--}} {{--
--}} {{-- {!! Form::label('course_id','Select Course') !!} --}} {{-- {!! Form::select('course_id',[],null, $errors->has('course_id') ? ['class' => 'form-control is-invalid','id'=>'course_id'] : ['class' => 'form-control','id'=>'course_id']) !!} --}} {{--
--}} {{--
--}}
{!! Form::label('programme_id', 'Select Programme') !!} {!! Form::select( 'programme_id', [], null, $errors->has('programme_id') ? ['class' => 'form-control is-invalid', 'id' => 'programme_id'] : ['class' => 'form-control', 'id' => 'programme_id'], ) !!}
{{ Form::button('Generate Report', ['type' => 'submit', 'class' => 'btn btn-lg btn-success pull-right', 'id' => 'generateBtn']) }}
{{ Form::close() }}
@if (!empty($request)) Download PDF Report

The Local Government Training Institute (LGTI)

Supplementary/Special/Resupplemetary

Semester Results


@if (count($course_data) > 0) @foreach ($course_data as $courses => $item) @if ($courses == '0') @break @endif @endforeach @endif
Table 1. SEMESTER REPORT
Program Name Code Academic Year Study Year Semester
{{ $item->program_name }} {{ $item->program_code }} {{ $item->year }} {{ $year_study }} {{ $request_semester }}

@if (count($course_data) > 0) @foreach ($course_data as $courses) {{-- --}} @endforeach @endif
Table 2. MODULES EXAMINED IN SEMESTER {{ $request_semester }} Year {{ $year_study }} - @if (count($course_data) > 0) @foreach ($course_data as $courses => $item) @if ($courses == '0') {{ $item->year }} @break @endif @endforeach @endif
CODE MODULE NAME INSTRUCTORS
{{ $courses->course_code }} {{ $courses->course_name }}{{$courses->salutation}}. --}} {{-- {{$courses->fn}} {{$courses->mn}} {{$courses->ln}} {{ $srs->getInstructor($courses->course_id) }}