IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/03611aab3ee686cd234fe54c45c128cecad1fab6.php

<!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;
            margin: 30px;
            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;
            text-decoration: underline;
            margin-bottom: 20px;
        }
        .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;
            border-bottom: 1px solid black;
            width: 250px; 
            margin: 0 5px;
        }
        p {
            margin: 15px 0; 
        }

        .photo-box img {
            width: 120px;
            height: 120px;
            border: 1px solid #000;
        }
        .footer{
            text-decoration: underline;
        }
    </style>
</head>
<body>
        <table class="table">
            <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; ">
                        <strong style="font-size:28px;"><?php echo e($school->schoolName); ?></strong><br>
                        <span style="font-size:16px;"><?php echo e($school->street); ?> <?php echo e($school->landmark); ?> <?php echo e($school->subArea); ?> <?php echo e($school->area); ?>  <br>
                        <?php echo e($school->city); ?>  <?php echo e($school->state->stateName); ?><br></span>
                        <strong style="font-size:14px;">Contact No : <?php echo e($school->mobile); ?></strong><br>
                        <strong style="font-size:14px;">Email : <?php echo e($school->email); ?></strong><br>
                    </td>
                </tr>
            </tbody>
        </table>

    <div class="certificate-title">
        BONAFIDE CERTIFICATE
    </div>

    <div class="content">
        <table class="table">
            <tr>
            <?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);
                ?>
                <td><strong>No:</strong><?php echo e(strtoupper($student->admissionNo)); ?></td>
                <td style="text-align: right;"><strong>Date:</strong><?php echo e(\Carbon\Carbon::now()->format('d.m.Y')); ?></td>
            </tr>
            <tr>
                <td colspan="2"></td>
            </tr>
            <tr>
                <td colspan="2"><strong>G.R. No:</strong> _______________</td>
            </tr>
        </table>

        <p style="line-height: 3;">
            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>, <?php if($student->gender == "Female"): ?>daughter <?php else: ?> son <?php endif; ?>  of 
            <span class="blank-line"> <?php echo e($student->father_fname . " " . $student->father_lname); ?></span>, is/was a bonafide student of this 
            institute (<?php echo e($school->schoolName); ?>) , studying in Standard <span class="blank-line"><?php echo e($student->className); ?></span> 
            for the academic year <span class="blank-line"><?php echo e($fy->financialYearName); ?></span> . <?php if($student->gender == "Female"): ?>Her <?php else: ?> His <?php endif; ?> birth date as recorded in our General Register is <span class="blank-line"> <?php echo e($student->studentDob); ?> </span> 
            <?php if(count($pieces) > 1): ?>(<em><span class="blank-line"><?php echo e(str_replace("only","",figToWordDob($pieces[0]))); ?> <?php echo e($pieces[1]); ?> <?php echo e(str_replace("only","",figToWordDob($pieces[2]))); ?></span></em>) <?php endif; ?>.To the best of our knowledge, <?php if($student->gender == "Female"): ?>she <?php else: ?> he <?php endif; ?> bears a good moral character. Her caste according to our register: <?php echo e($caste); ?>

        </p>
    </div>

    <table class="table" style="width:200px;">
        <tbody>
            <tr>
                <th style="text-align: center;padding: 0px; ">
                <?php if(isset($student->photo)): ?>
                    <img src="<?php echo e(asset('storage/schools/'.$school->idSchool.'/students/'.$student->photo)); ?>" height="90" width="90">
                <?php endif; ?>
                </th>
                <td style="vertical-align: middle;text-align: left; width: 100%; padding-left: 20px; ">
                    <strong style="font-size:16px;">Address</strong><br>
                    <span style="font-size:14px;"><?php echo e($student->resAddress); ?> <?php echo e($student->landmark); ?>  <?php echo e($student->resCity); ?> <br>
                    <?php echo e($student->state->stateName); ?> - <?php echo e($student->resPincode); ?> </span>
                </td>
            </tr>
        </tbody>
    </table>

    <div class="footer">
        Principal
    </div>
</body>
</html>

Copyright © 2021 - 2025 IMMREX7