{# <!--
    College header ASSUMPTION UG (or DEFAULT)
--> #}
<html>
    <head>
    <style>
        td {
            line-height: 14px;
            padding : 5px;
            font-size:15px;
            vertical-align : top;
        }
        .no-break {
            page-break-inside : avoid;
        }
    </style>
    </head>
    <body class='page'>
		<div class='sub-page' style='border:1px solid black;'>
			<table class='table' width='100%'>
                <tr>
                    <td align='center'>
                        <img style='width: 100%;' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/banner.png">
                    </td>
                </tr>
            </table>
            <table class='table' width='100%'>
                <tr>
                    <td align='center' style='font-size:18px;'>
                        <b>ADMISSION MEMO</b>
                    </td>
                </tr>
                <tr>
                    <td align='center' style='font-size:18px;'>
                        <b>[Memo to be Produced Before the Principal for Admission]</b>
                    </td>
                </tr>
            </table>

            <br>

            <table class='table' width='100%'>
                <tr>
                    <td width='33%' align='left'>Application No : {{student.applicationNo}}</td>
                    <td width='33%' align='center'>Online No : {{alreadyAdmittedStudentData.admissionNo}}</td>
                    <td width='33%' align='right'>Date : {{ "now"|date("d/m/Y") }}</td>
                </tr>
            </table>
            
            
            
            <table class='table' width='100%'>
                <tr>
                    <td width='24%'></td>
                    <td width='1%'></td>
                    <td width='25%'></td>
                    <td width='24%'></td>
                    <td width='1%'></td>
                    <td width='25%'></td>
                </tr>
                <tr>
                    <td>Name</td>
                    <td>:</td>
                    <td><b>{{student.studentName|upper}}</b></td>
                    <td rowspan=8 colspan=3>
                        <img style='float: right;width: 130px;height: 160px;'src="{{student.studentPhoto}}" alt='' class='img-responsive' />
                    </td>
                </tr>
                <tr>
                    <td>Gender</td>
                    <td>:</td>
                    <td>{{student.gender|upper}}</td>
                </tr>
                <tr>
                    <td>Date of Birth</td>
                    <td>:</td>
                    <td>{{student.dateOfBirth|date("d/m/Y")}}</td>
                </tr>
                <tr>
                    <td>Nationality</td>
                    <td>:</td>
                    <td>{{student.nationality|upper}}</td>
                </tr>
                <tr>
                    <td>Domicile State</td>
                    <td>:</td>
                    <td>{{student.domicileId}}</td>
                </tr>
                <tr>
                    <td>Religion</td>
                    <td>:</td>
                    <td>{{student.religion|upper}}</td>
                </tr>
                <tr>
                    <td>Caste</td>
                    <td>:</td>
                    <td>{{student.caste|upper}}</td>
                </tr>
                <tr>
                    <td>Category</td>
                    <td>:</td>
                    <td>{{student.studentReservationId}}</td>
                </tr>
                
            </table>

            <table class='table' width='100%'>
                <tr>
                    <td width='24%'></td>
                    <td width='1%'></td>
                    <td width='25%'></td>
                    <td width='24%'></td>
                    <td width='1%'></td>
                    <td width='25%'></td>
                </tr>

                <tr>
                    <td>Name of Father</td>
                    <td>:</td>
                    <td>{{student.fatherName|upper}}</td>
                    <td>Occupation</td>
                    <td>:</td>
                    <td>{{student.fatherOccupation}}</td>
                </tr>
                <tr>
                    <td>Name of Mother</td>
                    <td>:</td>
                    <td>{{student.motherName|upper}}</td>
                    <td>Occupation</td>
                    <td>:</td>
                    <td>{{student.motherOccupation}}</td>
                </tr>
                <tr>
                    <td>Permanent Address</td>
                    <td>:</td>
                    <td>
                        <p>
                        {{student.commuAddressLine1 ? student.commuAddressLine1 ~ ', ':'' }}
                        </p>
                        <p>
                        {{student.commuAddressLine2 ? student.commuAddressLine2 ~ ', ':'' }}
                        </p>
                        <p>
                        {{student.commuPostOffice ? student.commuPostOffice ~ ', ':'' }}
                        </p>
                        <p>
                        {{student.commuDistrict ? student.commuDistrict ~ ', ':'' }}
                        {{student.commuState ? student.commuState ~ ', ':'' }}
                        {{student.commuCountry ? student.commuCountry ~ ', ':'' }}
                        {{student.commuPin ? student.commuPin :'' }}
                        </p>
                        
                    </td>
                    <td>Present Address</td>
                    <td>:</td>
                    <td>
                        <p>
                        {{student.permAddressLine1 ? student.permAddressLine1 ~ ', ':'' }}
                        </p>
                        <p>
                        {{student.permAddressLine2 ? student.permAddressLine2 ~ ', ':'' }}
                        </p>
                        <p>
                        {{student.permPostOffice ? student.permPostOffice ~ ', ':'' }}
                        </p>
                        <p>
                        {{student.permDistrict ? student.permDistrict ~ ', ':'' }}
                        {{student.permState ? student.permState ~ ', ':'' }}
                        {{student.permCountry ? student.permCountry ~ ', ':'' }}
                        {{student.permPin ? student.permPin :'' }}
                        </p>
                    </td>
                </tr>

                <tr>
                    <td>Phone-Land</td>
                    <td>:</td>
                    <td>{{student.landLineNumber}}</td>
                    <td>Mobile</td>
                    <td>:</td>
                    <td>{{student.studentMobile}}</td>
                </tr>

                <tr>
                    <td>E - Mail</td>
                    <td>:</td>
                    <td>{{student.studentEmail}}</td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>Board of Qualifying Examination</td>
                    <td>:</td>
                    <td>{{student.twelfthBoardStream}}</td>
                    <td>Year of Passing and Reg. No</td>
                    <td>:</td>
                    <td>{{student.twelfthYearOfPass}},{{student.twelfthRegNumber}}</td>
                </tr>
            </table>
            
            {# <table class='table table-bordered m-b-0 print-table-border no-break' width='100%'>
                <tr>
                    <td colspan=3 align='center' style='font-size:18px;'>
                        <b>Statement of Plus Two Mark</b>
                    </td>
                </tr>
                <tr>
                    <th width='60%'>Subject</th>
                    <th width='20%'>Max. Marks</th>
                    <th width='20%'>Obtained Marks</th>
                </tr>
                {% for mark in student.twelfthMarkEntry %}
                <tr>
                    <td align="left"> {{mark.subjectName}} </td>
                    <td align="center"> {{mark.maxMark}} </td>
                    <td align="center"> {{mark.markObtained}} </td>
                </tr>
                {% endfor %}
                <tr>
                    <td  align="right"><b> Total :</b> </td>
                    <td align="center">{{student.twelfthMarkEntryMaxTotal}}</td>
                    <td align="center">{{student.twelfthMarkEntryTotal}}</td>
                </tr>
                <tr>
                    <td  align="right"><b> Percentage of all Subjects :</b> </td>
                    <td align="center" colspan="2">{{student.twelfthMarkEntryPercentage}}</td>
                </tr>
            </table> #}
        </div>
        <div style='border:1px solid black;'>
            <table class='table table-bordered m-b-0 print-table-border no-break' width='100%' width='100%'>
                <tr>
                    <td colspan=7 align='center' style='font-size:18px;'>
                        <b>ADMISSION DETAILS</b>
                    </td>
                </tr>
                <tr>
                    <td colspan=7>
                        Admission Date and Time : {{alreadyAdmittedStudentData.admittedTime}}
                    </td>
                </tr>
                <tr>
                    <td width='10%' align='center'><b>Preference No</b></td>
                    <td width='20%' align='center'><b>Programme Alloted</b></td>
                    <td width='30%' align='center'><b>Category Under Which Allotment is Made</b></td>
                    <td width='10%' align='center'><b>Index Mark</b></td>
                    <td width='10%' align='center'><b>Rank</b></td>
                    <td width='10%' align='center'><b>Bonus Mark</b></td>
                    <td width='10%' align='center'><b>Handicap Mark</b></td>
                </tr>
                <tr>
                    <td align='center'>{{alreadyAdmittedDetails.prefNo}}</td>
                    <td align='center'>{{alreadyAdmittedDetails.fullPatterncourseName}}</td>
                    <td align='center'>{{alreadyAdmittedDetails.enabledQuota}}</td>
                    <td align='center'>{{alreadyAdmittedDetails.mark}}</td>
                    <td align='center'>{{alreadyAdmittedDetails.rank}}</td>
                    <td align='center'>0</td>
                    <td align='center'>0</td>
                </tr>
            </table>

            <br>

            <table class='table no-break' width='100%'>
                <tr>
                    <td>
                        The admission secured by you is based on the details furnished online. The original documents relating to the above must be
                        submitted before the Principal at the time of admission. Kindly furnish the print copy of 'Admission Memo' along with the
                        original documents. If discrepancies are detected at the time of admission or course period, your admission will be cancelled.
                    </td>
                </tr>
            </table>

            <table class='table' width='100%'>
                <tr>
                    <td width='50%' align='left'></td>
                    <td width='50%' align='right'>
                        <img style='float: right;width: 150px;height: 40px;'src="{{student.signImage}}" alt='' class='img-responsive' />
                    </td>
                </tr>
                <tr>
                    <td width='50%' align='left'><b>Signature of Parent/Guardian</b></td>
                    <td width='50%' align='right'>
                        <b>Signature of the Candidate</b>
                    </td>
                </tr>
            </table>
            <br>
            <table class='table' width='100%'>
                <tr>
                    <td width='70%' align='left'><b>Verified by</b></td>
                    <td width='30%' align='left'>
                        <b>Date:</b>
                    </td>
                </tr>
            </table>

        </div>
    </body>
</html>