@if (app('request')->input('print') == 'y') @endif @foreach ($data as $k => $v) @php $so = ''; $he = ''; $his = ''; if ($v['student_details']['gender'] == 'Male') { $so = 'S/o'; $he = 'he'; $his = 'his'; } else { $so = 'D/o'; $he = 'she'; $his = 'her'; } @endphp
KANACHUR INSTITUTE OF MEDICAL SCIENCES
(A unit of Kanachur Islamic Education Trust ®)
UNIVERSITY ROAD, NATEKAL – 575 018, MANGALORE (D.K.) KARNATAKA, INDIA
Approved by Medical Council of India / National Medical Council, New Delhi
Affiliated to Rajiv Gandhi University of Health Sciences, Bengaluru
Ref No.: KIMS/ACA/AAC/00{{ $v['certificate_no'] }}/2021-2022 @if ($v['student_details']['remarks']) {{ $v['student_details']['remarks'] }} @endif
Date: {{ date('d-m-Y', strtotime($v['certificate_date'])) }}
ACADEMIC (ATTEMPT) CERTIFICATE

           This is to Certify that Dr. {{ $v['student_details']['name'] }}, bearing Register No. {{ $v['student_details']['regno'] }} was a bonafide student of this College during the period from {{ $v['academic_from'] }} to {{ $v['academic_to'] }}.

           During this period of {{ $his }} studentship, {{ $he }} has declared to have passed the following examinations, with the number of attempts, conducted by Rajiv Gandhi University of Health Sciences, Karnataka.

@php $rowOne = 0; $rowTwo = 0; $rowThree = 0; $rowFour = 0; foreach ($v['academic_details'] as $vv) { if ($vv['class'] == 'I MBBS') { $rowOne += 1; } elseif ($vv['class'] == 'II MBBS') { $rowTwo += 1; } elseif ($vv['class'] == 'III MBBS') { $rowThree += 1; } elseif ($vv['class'] == 'IV MBBS') { $rowFour += 1; } } @endphp @if ($rowOne > 0) @foreach ($v['academic_details'] as $vv) @if ($vv['class'] == 'I MBBS') @endif @endforeach @endif @if ($rowTwo > 0) @foreach ($v['academic_details'] as $vv) @if ($vv['class'] == 'II MBBS') @endif @endforeach @endif @if ($rowThree > 0) @foreach ($v['academic_details'] as $vv) @if ($vv['class'] == 'III MBBS') @endif @endforeach @endif @if ($rowFour > 0) @foreach ($v['academic_details'] as $vv) @if ($vv['class'] == 'IV MBBS') @endif @endforeach @endif
Class Subjects Month & Year No. of Attempts Result
I MBBS
{{ $vv['subjects'] }}
{{ $vv['month_year'] }}
{{ $vv['attempt_no'] }}
{{ $vv['result'] }}
II MBBS
{{ $vv['subjects'] }}
{{ $vv['month_year'] }}
{{ $vv['attempt_no'] }}
{{ $vv['result'] }}
III MBBS
{{ $vv['subjects'] }}
{{ $vv['month_year'] }}
{{ $vv['attempt_no'] }}
{{ $vv['result'] }}
IV MBBS
{{ $vv['subjects'] }}
{{ $vv['month_year'] }}
{{ $vv['attempt_no'] }}
{{ $vv['result'] }}
@endforeach