{# <!--
    College header SJCC PG
--> #}
{% set markDivwidth = 50  %}
{% if 'eleventhMarkEntry' in allFormFields %}
    {% set markDivwidth = 100/3  %}
{% endif %}
<html>
    <head>
    <style>
        td {
            line-height: 20px;
        }
    </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'>
                        <br/>
                        <br/>
                        <img style='width: 75px;' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/logo.png">
                        <h2 style='color:red;'><b>{{student.applicationNo}}</b></h2>
                    </td>
                    <td width="70%" align="center">
                        <div align='center' style="">
                            <div style="font: bold 20px '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: 12px;'>{{college.collegeAddress}} {{college.collegeAddress1}} {{college.collegeAddress2}}</p>
                            <p style='margin: 0 0 0px;font-size: 12px;'>{{college.collegePhone}}</p>
                            <p style='margin: 0 0 0px;font-size: 12px;'>{{college.collegeWebsite}}</p>
                            <p style='margin: 0 0 0px;font-size: 12px;'>{{college.collegeEmail}}</p>
                        </div>
                    </td>
                    <td>
                        <b style=" float: right; margin-right:13px; ">Phase:{{student.admissionPhase}} </b>
                        <br>
                        <img style='float: right;width: 85px;height: 100px;'src="{{student.studentPhoto}}" alt='' class='img-responsive' />
                    </td>
                </tr>
        	    <tr>
                    <td colspan='3' align='center'>
                        <div align='center' style="font-size: 13px;width: 700px;padding-top:7px;">
                            <h3>{{form.name}}</h3>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan=3>
                        <table class='table table-bordered m-b-0' width='100%'>
    		                <table class='table table-bordered m-b-0' width='100%'>
    		                <tr>
        		                <td  width='25%'><b>Name </b></td>
                                <td width='30%'>
                                    <b>: {{student.studentFirstName|upper}}</b>
                                </td>
                                <td width='20%'><b>Gender </b></td>
                                <td width='25%'>
                                    : {{student.gender}}
                                </td>
                            </tr>
                            <tr>
                                <td><b>Date of Birth </b></td>
                                <td>
                                    : {{student.dateOfBirth|date("d/m/Y")}}
                                </td>
                                <td><b>Admission Mode </b></td>
                                <td>
                                    : {{student.admissionQuotasId}} 
                                </td>
                            </tr>
                            <tr>
                                <td><b>Student E-mail</b></td>
                                <td>
                                    : {{student.studentEmail}} 
                                </td>
                                <td>
                                    <b>Blood Group</b><br>
                                </td>
                                <td>
                                    : {{student.bloodGroupId}} 
                                </td>
                            </tr>
                            <tr>
                                <td><b>Student Mobile</b></td>
                                <td>
                                    : {{student.studentMobile}} 
                                </td>
                                <td>
                                    <b>Nationality </b><br>
                                </td>
                                <td>
                                    : {{student.nationality}}
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>Religion </b><br>
                                </td>
                                <td>
                                    : {{student.religion}}
                                </td>
                                <td>
                                    <b>Caste </b><br>
                                </td>
                                <td>
                                    : {{student.caste}}
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>Aadhar No </b><br>
                                </td>
                                <td>
                                    : {{student.aadharNo}}
                                </td>
                                <td>
                                    <b>Student Reservation </b><br>
                                </td>
                                <td>
                                    : {{student.studentReservationId}}
                                </td>
                            </tr>
		                </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
		                    <tr>
                                <td width="50%" valign="top">    
                                    <table width="100%">
                                        <tr>
                                            <td colspan="2" align="center" style="background-color : lightgray; line-height: 31px;"><b>Class X Details</b></td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Class X Institution Name and Address</td>
                                            <td width="50%">: {{student.tenthInstitution}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Board</td>
                                            <td width="50%">: {{student.tenthBoardStream}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Register No.</td>
                                            <td width="50%">:{{student.hssRegNumber}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Year of Passing</td>
                                            <td width="50%">: {{student.tenthYearOfPass}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Mark/Grade Obtained</td>
                                            <td width="50%">: {{student.tenthMarkObtained}}</td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Max Mark</td>
                                            <td width="50%">: {{student.tenthMaxMark}} </td>
                                        </tr><tr>
                                            <td width="50%">Percentage</td>
                                            <td width="50%">: {{student.tenthPercentage}} </td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="50%" valign="top">
                                    <table width="100%">
                                        <tr>
                                            <td colspan="2" align="center" style="background-color : lightgray; line-height: 31px;"><b>Class Xll Details</b></td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Institution Studied</td>
                                            <td width="50%">: {{student.twelfthInstitution}}</td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Board</td>
                                            <td width="50%">: {{student.twelfthBoardStream}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Register No.</td>
                                            <td width="50%">:{{student.twelfthRegisterNo}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Year Of Pass</td>
                                            <td width="50%">: {{student.twelfthYearOfPass}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Mark/Grade Obtained </td>
                                            <td width="50%">: {{student.twelfthMarkObtained}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Max Mark</td>
                                            <td width="50%">: {{student.twelfthMaxMark}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Percentage</td>
                                            <td width="50%">: {{student.twelfthPercentage}} </td>
                                        </tr>
                                        
                                    </table>
                                </td>
                            </tr>
                        </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td><b>GRADUATION DETAILS</b></td>
                                        </tr>
                                        <tr>
                                            <td width='20%'><b>University or Institutions</b></td>
                                            <td width='30%'>: {{student.ugBoardStream}} </td>
                                            <td width='15%'><b>Register No</b></td>
                                            <td width='30%'>: {{student.ugRegisterNo}} </td>
                                        </tr>
                                        <tr>
                                            <td><b>Program Name</b></td>
                                            <td>: {{student.programName}}</td>
                                            <td><b>Year of Graduation</b></td>
                                            <td>: {{student.ugYearOfGraduation}}</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>

                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td><b>PARENT DETAILS</b></td>
                                        </tr>
                                        <tr>
                                            <td width='20%'><b>Father's Name</b></td>
                                            <td width='30%'>: {{student.salutation}} {{student.fatherName|upper}} </td>
                                            <td width='15%'><b>Mother's Name</b></td>
                                            <td width='30%'>: {{student.salutationMother}} {{student.motherName|upper}} </td>
                                        </tr>
                                        <tr>
                                            <td><b>Occupation</b></td>
                                            <td>: {{student.fatherOccupation}}</td>
                                            <td><b>Occupation</b></td>
                                            <td>: {{student.motherOccupation}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>E-mail</b></td>
                                            <td>: {{student.fatherEmail}}</td>
                                            <td><b>E-mail</b></td>
                                            <td>: {{student.motherEmail}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Phone Number</b></td>
                                            <td>: {{student.fatherMobileNo}}</td>
                                            <td><b>Phone Number</b></td>
                                            <td>: {{student.motherMobileNo}}</td>
                                        </tr>

                                        <tr>
                                            <td><b>GUARDAIAN DETAILS </b></td>
                                        </tr>
                                        <tr>
                                            <td><b>Guardian Name</b></td>
                                            <td>: {{student.parentName}}</td>
                                            <td><b>Guardian Mobile No</b></td>
                                            <td>: {{student.guardianMobileNo}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Guardian Email</b></td>
                                            <td>: {{student.guardianEmail}}</td>
                                            <td><b>Guardian Relation with the applicant</b></td>
                                            <td>: {{student.parentRelation}}</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
		    		        <tr>
		    			        <td>
		    				        <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td><b>ADDRESS</b></td>
                                        </tr>
                                        <tr>
                                            <td><b>Permanent Address :</b><span style='margin-left:50px;'>{{student.permanentAddress}}</span></td>
                                        </tr>
                                        <tr>
                                            <td><b> Communication Address :</b><span style='margin-left:15px;'>{{student.communicationAddress}}</span>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>

                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td><b>DTE DETAILS</b></td>
                                        </tr>
                                        <tr>
                                            <td width='20%'><b>DTE Application No</b></td>
                                            <td width='30%'>: {{student.dteApplicationNo}}</td>
                                            <td width='15%'><b>DTE Rank</b></td>
                                            <td width='35%'>: {{student.dteRank}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Gate Qualified</b></td>
                                            <td>: {{student.gateQualified}}</td>
                                            <td><b>Gate Score</b></td>
                                            <td>: {{student.gateScore}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Year</b></td>
                                            <td>: {{student.year}}</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>

                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td><b>Branch Preference</b></td>
                                        </tr>
                                        {# {% if student.choice1 is not empty %} #}
                                        <tr>
                                            <td> 1 . {{student.choice1}}</td>
                                        </tr>
                                        {# {% endif %} #}
                                    </table>
                                </td>
                            </tr>
                        </table>
                        
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td>
                                                <div align='center' style='color:black;'><h3><b>UNDERTAKING</b></h3></div>
                                                <p style="text-align: justify;color: black;font-size: 12px;">
                                                I hereby declare that the information furnished is correct & authentic. I have read and agreed to the Terms & Conditions.</p>
                                                <br/>
                                                <table width='100%' style='color:black;' class='padding-print'>
                                                        <tr>
                                                            <td>
                                                            </td>
                                                            <td align='right'><img style='float: right;width: 150px;height: 40px; margin-top: -30px;margin-bottom: -5px; 'src="{{student.signImage}}" alt='' class='img-responsive' /></td>
                                                        </tr>
                                                        <tr>
                                                            <td width='50%'><b>Signature of the Parent / Guardian</b></td>
                                                            <td align='right'><b>Signature of the Student</b></td>
                                                        </tr>
                                                </table>
                                                <hr style='border-top: 1px solid black;'>
                                                <table class='table table-bordered m-b-0' width='100%'>
                                                    <tr>
                                                    <td><b>FOR OFFICE USE ONLY:</b></td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <table width='100%' style='color:black;margin-top:;' class='padding-print'>
                                                                <tr>
                                                                    <td align='left'><b>Date of Admission:</b></td>
                                                                    <td align='middle'><b>Language :</b></td>
                                                                    <td align='right'><b>Principal's Signature</b></td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </div>
                        
    </body>
</html>