@if(isset($result))
@if(count($result) && is_array($result) && array_key_exists(0, $result) && $result)
Download PDF
Name of Officer :
{!! $officer= strtoupper($result[0]->Firstname.' '.$result[0]->Lastname ) !!}
NRIC / FIN :
{!! strtoupper($result[0]->NRIC) !!}
Site Name :
{!! str_replace($result[0]->Company.'-', '',$result[0]->Venue) !!}
@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
@if($pass)
1. {!! $officer !!} has successfully completed the E-Learning programme and {!! count($questions) !!} questions designed for this quiz.
@else
1. {!! $officer !!} has not completed the E-Learning programme and {!! count($questions) !!} questions designed for this quiz.
@endif
@if($pass && count($sortedAttempts) == 1 )
1. {!! $officer !!} completed and passed the criteria with only 1 attempt.
@endif
@if($pass && count($sortedAttempts) > 1 )
1. 1st attempt: Answered correctly: {!! $wrongCorrects[0]['correctCount'] !!} questions. Answered wrongly:
{!! $wrongCorrects[0]['wrongs'] !!}.
@if($wrongCorrects[0]['noattempt'])
No Attempt:
{!! $wrongCorrects[0]['noattempt'] !!}
@endif
@if(count($sortedAttempts) >= 2)
2. 2nd attempt: Tested on
{!! $wrongCorrects[0]['wrongs'] !!}
@if($wrongCorrects[0]['noattempt'])
and
{!! $wrongCorrects[0]['noattempt'] !!}.
@else
.
@endif
@if($wrongCorrects[1]['newCorrects'] )
Answered correctly:
{!! $wrongCorrects[1]['newCorrects'] !!}.
@endif
@if($wrongCorrects[1]['wrongs'])
Answered wrongly:
{!! $wrongCorrects[1]['wrongs'] !!}.
@endif
@endif
@if(count($sortedAttempts) == 3)
3. 3rd attempt: Tested on {!! $wrongCorrects[0]['wrongs'] !!}
@if($wrongCorrects[1]['noattempt'])
and
{!! $wrongCorrects[1]['noattempt'] !!}.
@else
.
@endif
Answered correctly:
@if(isset($wrongCorrects[2]['newCorrects']))
{!! $wrongCorrects[2]['newCorrects'] !!}
@endif
@endif
{!! count($sortedAttempts)+1 !!}. {!! $officer !!} has understood the topic has answered all questions in the assessment and is deemed competent.
@endif
@if(!$pass)
1. In the last attempt, {!! $officer !!} still gets the same question(s) wrong. {!! $officer !!} will have to attend the training again.
@endif
|
@for($i =0; $i< $questionperattemptscount; $i++)
{!! $i+1 !!}
|
@endfor
@for($i =0; $i< count($sortedAttempts); $i++)
{!! $i+1 !!}@if($i == 0)st@elseif($i == 1)nd@elserd@endif
Attempt
|
@for ($q =0; $q < $questionperattemptscount; $q++)
@if(isset($sortedAttempts[$i][$q]))
@if(($sortedAttempts[$i][$q]->State) == 'gradedpartial' )
@elseif(($sortedAttempts[$i][$q]->State) == 'gradedwrong')
@elseif(($sortedAttempts[$i][$q]->State) == 'gradedright')
@else
@endif
@else
@endif
|
@endfor
@endfor
@if(count($sortedAttempts)>=2)
@endif
@if(count($sortedAttempts)>=3)
@endif
@if(count($explaination) > 0)
The trainer has explained the reason why the candidate has answered wrongly.
@foreach($explaination as $explain)
{!! $explain !!}
@endforeach
@endif
It is recommended that the candidate should attempt the following modules to gain holistic security knowledge.
 }})
|
 }})
|
 }})
|
 }})
|
 }})
|
 }})
|
 }})
|
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.
|
@elseif(is_array($result) && count($result) == 0)
This officer have not attend this Course.
@endif
@endif