{# <!--
    College header ST MARYS COLLEGE - PG (ADMIT CARD)
--> #}
<html>
    <head>
    <style>
        td {
            line-height: 20px;
            padding : 5px;
            font-size:15px;
            vertical-align : top;
        }
    </style>
    </head>
    <body class='page'>
        <div>
		<div class='sub-page'>
			<table cellspacing='0'  cellpadding='0' class='table table-bordered padding-print' width='100%' style='color:black;'>
                <tr>
                    <td align='center'>
                        <img style='width:128px;height:110px;' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/logo.png" alt='' class='img-responsive'>
                    </td>
                </tr>
			    <tr>
                    <td width="80%" align="center">
                        <div align='center' style="">
                            <div style="font: bold 24px 'Times New Roman';margin-top: 0px;margin-bottom: 4px">{{college.collegeName|upper}} {{college.autonomous?( college.autonomous|slice(0, 2)|upper):''}}{{college.autonomous?(college.autonomous|slice(2)|lower  ):''}}</div>
                        </div>
                        <div align='center'>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeAddress}} {{college.collegeAddress1}} {{college.collegeAddress2}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegePhone}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeWebsite}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeEmail}}</p>
                        </div>
                    </td>
                </tr>
            </table>
            <br>
            <table class='table' width='100%'>
                <tr>
                    <td align='center' style='font-size:18px;'>
                        <b>
                        ADMIT CARD
                        </b>
                    </td>
                </tr>
            </table>
            <br>            
            <table class='table' width='100%'>
                <tr>
                    <td width='30%' align='center'>
                        <img style='width:78%;height:250px;' src="{{student.studentPhoto}}" alt='' class='img-responsive' />
                    </td>
                    <td width='70%'>
                        <table class='table print-table-border' width='100%'>
                            <tr>
                                <td width='20%'>1. Name of the Candidate</td>
                                <td width='30%' colspan=3>
                                    {{student.studentName|upper}}
                                </td>
                            </tr>
                            <tr>
                                <td>2. Date of Birth</td>
                                <td>{{student.dateOfBirth|date("d/m/Y")}}</td>
                                <td>3. Sex</td>
                                <td>{{student.gender|upper}}</td>
                            </tr>
                            <tr>
                                <td>4. Religion</td>
                                <td>{{student.religion|upper}}</td>
                                <td>5. Caste</td>
                                <td>{{student.caste|upper}}</td>
                            </tr>
                            <tr>
                                <td>6. Reservation</td>
                                <td colspan=3>
                                    {{student.studentReservationId}}
                                </td>
                            </tr>
                            <tr>
                                <td>7. Name of Parent,<br>Mobile No</td>
                                <td colspan=3>
                                    {{student.fatherName|upper}}<br>
                                    {{student.parentMobileNo}}
                                </td>
                            </tr>
                            <tr>
                                <td>8. Address</td>
                                <td colspan=3>
                                    {{student.commuAddressLine1 ? student.commuAddressLine1 ~ ', ':'' }} 
                                    {{student.commuAddressLine2 ? student.commuAddressLine2 ~ ', ':'' }} 
                                    {{student.commuCity ? student.commuCity ~ ', ':'' }} 
                                    {{student.commuTaluk ? student.commuTaluk ~ ', ':'' }} 
                                    {{student.commuDistrict ? student.commuDistrict ~ ', ':'' }} 
                                    {{student.commuState ? student.commuState ~ ', ':'' }} 
                                    {{student.commuCountry ? student.commuCountry ~ ', ':'' }}
                                    {{student.commuPin ? student.commuPin ~ ' ':'' }}
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <br><br>
            <table class='table print-table-border' width='100%'>
                <tr>
                    <td align='center' style='font-size:18px;' colspan=2>
                        <b>DETAILS OF ADMISSION</b>
                    </td>
                </tr>
                <tr>
                    <td width='50%'>Admitted College</td>
                    <td width='50%'>St. Mary's College Autonomous</td>
                </tr>
                <tr>
                    <td width='50%'>Admitted Course</td>
                    <td width='50%'>{{alreadyAdmittedDetails.fullPatterncourseName|replace({'&amp;': '&'})}}</td>
                </tr>
                <tr>
                    <td width='50%'>Admitted Category</td>
                    <td width='50%'>
                        {% if (alreadyAdmittedDetails.admittingType == 'GENERAL') %}
                            {{alreadyAdmittedDetails.quotaOfAdmission}} MERIT
                        {% elseif (alreadyAdmittedDetails.admittingType == 'ALLOTMENT') %}
                            {{alreadyAdmittedDetails.quotaOfAdmission}} MERIT
                        {% else %}
                            {{alreadyAdmittedDetails.admittingType}}
                        {% endif %}
                    </td>
                </tr>
                <tr>
                    <td width='50%'>Admission Number</td>
                    <td width='50%'>{{alreadyAdmittedDetails.admissionNo}}</td>
                </tr>
                <tr>
                    <td width='50%'>Date of Admission</td>
                    <td width='50%'>{{alreadyAdmittedDetails.admittedTime|date('d-m-Y')}}</td>
                </tr>
            </table>
            <br><br>
            {# <table class='table print-table-border' width='100%'>
                <tr>
                    <td align='center' style='font-size:18px;' colspan=2>
                        <b>INDEX CARD</b>
                    </td>
                </tr>
                <tr>
                    <td width='50%' align='center'>Programme</td>
                    <td width='50%' align='center'>Index Mark</td>
                </tr>
                <tr>
                    <td width='50%' align='center'>{{alreadyAdmittedDetails.patternCourseName|replace({'&amp;': '&'})}}</td>
                    <td width='50%' align='center'>{{alreadyAdmittedDetails.mark}}</td>
                </tr>
            </table> #}
            <br>
            <table class='table' width='100%' style="margin-top:100px">
                <tr>
                    <td align='left'>Nodal Officer.............</td>
                    <td>HOD..............</td>
                    <td align='right'>Principal.............<br><br><br></td>
                </tr>
                <tr>
                    <td>PRINTED ON :{{ "now" | date('Y-m-d') }}</td>
                </tr>
            </table>
        </div>
    </div>
                        
    </body>
</html>