IMMREX7
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bonafide Certificate</title>
<style>
body {
font-family: 'Times New Roman', serif;
}
.print{
margin: 40px 60px;
line-height: 1.5;
}
.header {
text-align: center;
margin-bottom: 20px;
}
.header h2, .header h3 {
margin: 0;
}
.certificate-title {
text-align: center;
font-size: 22px;
font-weight: bold;
margin-bottom: 20px;
}
.certificate-title p{
width: 300px;
border: 1px solid black;
margin: auto;
margin-top: 20px;
margin-bottom: 15px;
padding-right: 10px !important;
padding-left: 10px !important;
border-radius: 10px !important;
}
.content {
font-size: 18px;
}
.table {
width: 100%;
margin-bottom: 20px;
font-size: 18px;
}
.footer {
margin-top: 180px;
text-align: right;
font-weight: bold;
font-size: 18px;
}
.blank-line {
display: inline-block;
font-weight: bold;
border-bottom: 1px solid black;
width: 250px;
margin: 0 5px;
}
.blank-line-nomargin {
display: inline-block;
font-weight: bold;
border-bottom: 1px solid black;
width: 250px;
}
p {
margin: 15px 0;
}
.photo-box img {
width: 120px;
height: 120px;
border: 1px solid #000;
}
.footer{
text-decoration: underline;
}
.highlight {
position: relative;
margin-left: -2px;
}
</style>
</head>
<body>
<div class="print">
<table class="table" style="margin-bottom: 30px;">
<tbody>
<tr>
<th style="text-align: center;padding: 0px; "><img src="<?php echo e(asset('storage/schools/'.$school->idSchool.'/'.$school->schoolLogo)); ?>" height="90" width="90"></th>
<td style="vertical-align: middle;text-align: center; width: 100%; padding-left: 0px;line-height: 1.6;">
<strong style="font-size:28px;"><?php echo e(strtoupper($school->schoolName)); ?></strong><br><br>
<span style="font-size:16px;"><b>(Affiliated to C.B.S.E Board)</b><br>
<b>Affiliation No. 1130824 </b><br>
<b>(Dombivli Yuvak Education Trust)</b><br>
P & T Colony, Gandhi Nagar, Dombivli (E), Dist. Thane<br>
</span>
<span style="font-size:14px;">Mobile : 8291990505</span><br>
<span style="font-size:14px;">Email : royal.international349@gmail.com</span><br>
</td>
</tr>
</tbody>
</table>
<div class="certificate-title">
<p>BONAFIDE CERTIFICATE</p>
</div>
<?php $fy = DB::table('financial_years')->where('idFinancialYear',$student->idFinancialYear)->first();
$caste = "";
if($student->idRegistration != null){
$registration = DB::table('student-registration')->where('idRegistration',$student->idRegistration)->first();
if($registration != null){
if($registration->caste != null){
$caste = $registration->caste;
}
}
}
$dob = \Carbon\Carbon::parse($student->studentDob)->format('d.F.Y');
$pieces = explode(".", $dob);
?>
<div class="content">
<p style="line-height: 2;">
This is to certify that <?php if($student->gender == "Female"): ?>Miss <?php else: ?> Master <?php endif; ?> <span class="blank-line"><?php echo e($student->firstName . " " . $student->middleName . " " . $student->lastName); ?></span> is/was a bonafide student of this
school studying during the Academic year <span class="blank-line"><?php echo e($fy->financialYearName); ?></span> for Class <span class="blank-line"><?php echo e($student->className); ?></span> . His/Her birth date as recorded in our General Register is <span class="blank-line"><?php echo e($student->studentDob); ?></span>.
<?php if(count($pieces) > 1): ?><?php echo '<b>('.trim(figToWordDob($pieces[0])).' '.$pieces[1].' '.trim(figToWordDob($pieces[2])).')</b>'; ?> <?php endif; ?>
<br><br>To the best of our knowledge <?php if($student->gender == "Female"): ?>She <?php else: ?> He <?php endif; ?> bears a good moral character.
</p>
</div>
<table class="table" style="width:200px;margin-top: 50px;">
<tbody>
<tr>
<th style="text-align: left;">
Seal
</th>
</tr>
</tbody>
</table>
<table class="table" style="width:200px;margin-top: 50px; ">
<tbody>
<tr>
<td>
Date: <span class="blank-line"><?php echo e(\Carbon\Carbon::now()->format('d/m/Y')); ?></span>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
Copyright © 2021 -