@extends('layouts.app') @section('breadcrumb') @stop @section('content')

LMS Agency Report

{!! Form::label('', 'Course:') !!} {!! count($result) > 1 ? $result[0]->coursename : '-' !!}

{!! Form::open(['id' => 'lms-search', 'url' => 'lms_agency', 'files'=>true, 'data-submit' => 'noAjax']) !!}
{!! Form::label('', 'Course:') !!}
{!! Form::label('', 'Start Date:') !!} {!! Form::date('start_date' , \Carbon::now()->subYear()->month(6)->day(1) , ['class' => 'form-control']) !!}
{!! Form::label('', 'End Date:') !!} {!! Form::date('end_date' , \Carbon::now()->month(5)->day(31) , ['class' => 'form-control']) !!} {!! Form::hidden('agencyid' , getCurrentCompany(true) , ['class' => 'form-control']) !!}
{!! Form::submit('Search', ['id' => 'm-submit', 'class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@if($result && !$result->isEmpty()) Download Report
{!! $result[0]->coursename !!}
1) Overall Training Progress
As of {!! Carbon::now()->format('d F Y') !!}, there are {!! count($result) !!} candidates registered for the {!! $result[0]->coursename !!} E-Learning.
STATISTICS NUMBER OF CANDIDATES
Registered {!! count($result) !!}
Completed {!! $trained_count !!}
Not Yet Completed {!! $untrained_count !!}
2) Performance of candidates to achieve full marks
a) Attempts taken by candidates to achieve Full Marks:

STATISTICS NUMBERS OF CANDIDATES
i) Total Number of officers who PASSED in 1st attempt {!! $pass_attempt1 !!}
ii) Total Number of officers who PASSED in 2nd attempt {!! $pass_attempt2 !!}
ii) Total Number of officers who PASSED in 3rd attempt {!! $pass_attempt3 !!}
Please download the excel file (from the report page) for the details of the training.


b) Performance of candidates for each E-Assessment question
@if(count($questions))

Assessment Quiz:

@for($key = 0; $key < 5; $key++) {!! $key+1 !!}. {!! strip_tags($questions[$key]->questiontext) !!}
@endfor
@for($key = 5; $key < count($questions); $key++) {!! $key+1 !!}. {!! strip_tags($questions[$key]->questiontext) !!}
@endfor
@endif @if(count($chart_qn)) @foreach($chart_qn as $index => $qn) @endforeach
1st Attempt 2nd Attempt 3rd Attempt
{!! $qn !!} {!! $attempt_1[$index] !!} {!! $attempt_2[$index] !!} {!! $attempt_3[$index] !!}
@else
No attempts
@endif
c) Recommendation based on overall performance:

@if($attempt_2_percent < 25) The overall performance result obtained from {!! $result[0]->coursename !!} E-Learning is fairly good and the candidates have exhibited sufficient security knowledge on the topic. @else The overall performance result obtained from {!! count($result) > 1 ? $result[0]->coursename : '-' !!} E-Learning requires Candidates to upgrade their security knowledge as @if($result->whereIn('attempts',[1,2,3])->count() > 0) {!! $attempt_2_percent !!} @else 0 @endif % of them require at least 2 or more attempts to score full marks. @endif








Detecting and responding to suspicious situations. Recognising threat-based surveillance. Detecting and responding to unattended suspicious baggage. Responding to unattended stationary vehicles. Responding to vehicular attacks. Responding to disorderly behaviour in public. Responding to fire emergency.

NRIC Name Company Name Course Completed Attempts Pass individual
@else No trainings @endif
@section('js') {!! Html::script('vendor/bootstrap-table/dist/bootstrap-table.min.js',[], env("HTTPS",false)) !!} {!! Html::script('vendor/bootstrap-table/dist/extensions/editable/bootstrap-table-editable.min.js',[], env("HTTPS",false)) !!} {!! Html::script('vendor/bootstrap-table/dist/extensions/export/bootstrap-table-export.min.js',[], env("HTTPS",false)) !!} {!! Html::script('vendor/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.min.js',[], env("HTTPS",false)) !!} {!! Html::script('vendor/bootstrap-table/dist/extensions/toolbar/bootstrap-table-toolbar.min.js',[], env("HTTPS",false)) !!} {!! HTML::style('vendor/bootstrap-table/src/bootstrap-table.css') !!} {!! Html::script('https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment.min.js') !!} {!! Html::style('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css') !!} {!! Html::script('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js') !!} @endsection
@endsection