{# <!--
    College header SJCC UG
--> #}
{% set markDivwidth = 50  %}
{% if ('eleventhMarkEntry' in allFormFields or 'ELEVENTH' in allFormFields) %}
    {% set markDivwidth = 100/3  %}
{% endif %}
<html>
    <head>
    <style>
        td {
            line-height: 15px;
        }
    </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: 800px;">
                            <h3>{{form.name}}</h3>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan=3>
                        <table class='table table-bordered m-b-0' width='100%'>
    		                <tr>
        		                <td  width='25%'><b>Name </b></td>
                                <td width='30%'>
                                    <b>: {{student.studentName|upper}}</b>
                                </td>
                                <td width='20%'>
                                    <b>Gender</b><br>
                                </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>Religion</b></td>
                                <td>
                                    : {{student.religion}} 
                                </td>
                            </tr>
                            <tr>
                                <td><b>Student E-mail </b></td>
                                <td>
                                    :{{student.student_email}} 
                                </td>
                                <td>
                                    <b>Category </b><br>
                                </td>
                                <td>
                                    :{{student.seatReservationQuotaId}} 
                                </td>
                            </tr>
                            <tr>
                                <td><b>Student Contact No</b></td>
                                <td>
                                    :{{student.studentMobile}} 
                                </td>
                                <td>
                                    <b>Domicile Status </b><br>
                                </td>
                                <td>
                                   : {{student.domicileId}}
                                </td>
                            </tr>
                            <tr>
                                <td><b>Mother Tongue </b></td>
                                <td>
                                   : {{student.motherTongue}} 
                                </td>
                                <td>
                                    <b>Nationality </b><br>
                                </td>
                                <td>
                                    :{{student.nationality}}
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>Extra-Curricular Activities </b><br>
                                </td>
                                <td>
                                    : {{student.extraCurricularActivities}} 
                                </td>
                                <td>
                                    <b>Second language opted in XII STD</b><br/>
                                </td>
                                <td>: {{student.secondLanguage}}</td>
                            </tr>
		                </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
		                    <tr>
                                {% if ('tenthMarkEntry' in allFormFields or 'TENTH' in allFormFields) %}
                                <td style="vertical-align: baseline;" width="{{markDivwidth}}%">
        		                    <table class='table table-bordered m-b-0' width='100%'>
        		                        <tr>
        		    	                    <td colspan='2' align='center'><b>Class X or Equivalent</b>
                                            </td>
        		                        </tr>
        		                        <tr>
        		                            <td width="50%">Board </td>
                                            <td width="50%">: {{student.tenthBoardStream}}</td>
                                        </tr>
                                        <tr>
        		                            <td width="50%">Examination Passed </td>
                                            <td width="50%">: {{student.sslcMonth}} {{student.sslcYearOfPass}} </td>
                                        </tr>
        		                        <tr>
        		                            <td width="50%">Institution Studied </td>
                                            <td width="50%">: {{student.tenthInstitution}}</td>
                                        </tr>
                                        <tr>
        		                            <td width="50%">Reg. No. </td>
                                            <td width="50%">: {{student.sslcRegNumber}}</td>
        		                        </tr>
                                        <tr><td colspan="2"> <br> <td></tr>
                                    </table>
                                    <table class='table table-bordered m-b-0 print-table-border' width='100%' style='margin-top: 18px;'>
                                        <tr>
                                            <th width='60%'>Subject</th>
                                            <th width='20%'>Max. Marks</th>
                                            <th width='20%'>Obtained Marks</th>
                                        </tr>
                                        {% for mark in student.tenthMarkEntry %}
                                        <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.tenthMarkEntryMaxTotal}}</td>
                                            <td align="center">{{student.tenthMarkEntryTotal}}</td>
                                        </tr>
                                        <tr>
                                            <td  align="right"><b> Percentage of all Subjects : </b></td>
                                            <td align="center" colspan="2">{{student.tenthMarkEntryPercentage}}</td>
                                        </tr>
                                    </table>
                                </td>
                                {% endif %}
                                {% if ('eleventhMarkEntry' in allFormFields or 'ELEVENTH' in allFormFields) %}
                                <td style="vertical-align: baseline;" width="{{markDivwidth}}%">
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td colspan='2' align='center'><b>Class XI or Equivalent</b></td>
                                        </tr>
                                        <tr>
                                            <td width="50%" >Board</td>
                                            <td width="50%" >:{{student.eleventhBoardStream}}</td>
                                        </tr>
                                        <tr>
                                            <td width="50%" >Examination Passed</td>
                                            <td width="50%" >: {{student.eleventhMonthOfPass}} {{student.eleventhYearOfPass}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Discipline</td>
                                            <td width="50%">: {{student.eleventhStream}} </td> 
                                        </tr>
                                        <tr>
                                            <td width="50%" >Institution Studied</td>
                                            <td width="50%" >: {{student.eleventhInstitution}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%" >Reg. No.</td>
                                            <td width="50%" >:{{student.eleventhRegNumber}} </td>
                                        </tr>
                                    </table>
                                    <br>
                                    <table class='table table-bordered m-b-0 print-table-border' width='100%'>
                                        <tr>
                                            <th width='60%'>Subject</th>
                                            <th width='20%'>Max. Marks</th>
                                            <th width='20%'>Obtained Marks</th>
                                        </tr>
                                        {% for mark in student.eleventhMarkEntry %}
                                        <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.eleventhMarkEntryMaxTotal}}</td>
                                            <td align="center">{{student.eleventhMarkEntryTotal}}</td>
                                        </tr>
                                        <tr>
                                            <td  align="right"> <b>Percentage of all Subjects : </b></td>
                                            <td align="center" colspan="2">{{student.eleventhMarkEntryPercentage}}</td>
                                        </tr>
                                    </table>
                                </td>
                                {% endif %}
                                {% if ('twelfthMarkEntry' in allFormFields or 'TWELFTH' in allFormFields) %}
                                <td style="vertical-align: baseline;" width="{{markDivwidth}}%">
                                    <table class='table table-bordered' width='100%'>
                                        <tr>
                                            <td colspan='2' align='center'><b>Class XII or Equivalent</b></td>
                                        </tr>
                                        <tr>
                                            <td width="50%">Board</td>
                                            <td width="50%">: {{student.twelfthBoardStream}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Examination Passed </td>
                                            <td width="50%">: {{student.hssMonth}} {{student.hssYearOfPass}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Discipline</td>
                                            <td width="50%">: {{student.twelfthStream}} </td> 
                                        </tr>
                                        <tr>
                                            <td width="50%">Institution Studied</td>
                                            <td width="50%">: {{student.hssInstitution}}</td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Reg. No.</td>
                                            <td width="50%">:{{student.hssRegNumber}} </td>
                                        </tr>
                                        <tr><td colspan="2"> <br> <td></tr>
                                    </table>
                                    <table class='table table-bordered m-b-0 print-table-border' width='100%'>
                                        <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>
                                </td>
                                {% endif %}
                            </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>Father's Name</b></td>
                                            <td>: {{student.salutation}} {{student.fatherName|upper}} </td>
                                            <td><b>Mother's Name</b></td>
                                            <td>: {{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>Annual Income</b></td>
                                            <td>: {{student.fatherAnnualIncome}} - {{ student.fatherIncomeCurrency | split(' - ', 2)[1] }} </td>
                                            <td><b>Annual Income</b></td>
                                            <td>: {{student.motherAnnualIncome}} - {{ student.motherIncomeCurrency | split(' - ', 2)[1] }}</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>
                                    </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>Local/ Guardian Address :</b><span style='margin-left:15px;'>{{student.guardianAddress}}</span>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td valign='top' style='width:360px;'>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td style="width:40%;"><b>Sports :</b></td>
                                            <td>{{student.sportsItem}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Level of participation :</b></td>
                                            <td>{{student.sportsLevel}}</td>
                                        </tr>
                                    </table>
                                </td>
                                <td valign='top' style='width:360px;'>
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td style="width: 40%;"><b>Disability :</b></td>
                                            <td>{{student.disability}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Disability Percentage:</b></td>
                                            <td>{{student.disabilityPercent}}</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
		    	        </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr >
                                <td valign="top">
                                    <table class='table table-bordered m-b-0' width='100%'>
                                        <tr>
                                            <td style=' width:100px;' valign="top" ><b>Other Details</b></td>
                                            <td style=' width:260px; border-right: 1px solid #000;' valign="top">
                                                <table class="table table-borderless" width="100%">
                                                    <tr>
                                                        <td style='line-height: 15px;' valign="top">
                                                            {% if not student.weightageQuota.subdivision %}
                                                                {{student.weightageQuota.weightageName}}
                                                            {% elseif student.weightageQuota.subdivision %}
                                                                {{student.weightageQuota.subDivisionName}} : {{student.weightageQuota.selected}}
                                                            {% endif %}
                                                        </td>
                                                        <td style='line-height: 15px;' valign="top">
                                                            {% for quotaChild1 in student.weightageQuota.childList %}
                                                                <table class="table table-borderless" width="100%">
                                                                    <tr>
                                                                        <td style='line-height: 15px;'  valign="top">
                                                                            {% if not quotaChild1.subdivision %}
                                                                                {{quotaChild1.weightageName}}
                                                                            {% elseif quotaChild1.subdivision %}
                                                                                {{quotaChild1.subDivisionName}} : {{quotaChild1.selected}}
                                                                            {% endif %}
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            {% endfor %}
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td valign="top" style=' width:360px;'>
                                            {% if 'batchTiming' in allFormFields %}
                                            <b>Batch Timing</b>:{{student.batchTiming}}
                                            {% endif %}
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan='3' style=' border-top: 1px solid #000;'><b>Place of Birth</b>:{{student.placeOfBirth}}</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>Statement of Purpose : If selected my objectives during the period of study at {{college.collegeCode}} are:</b><br/>
                                                <div style='font-size:10px;'>{{student.studentObjective}}</div>
                                            </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>
                                                <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>