{# <!--
    College header LNCPE UG
--> #}
{% set markDivwidth = 50  %}
{% if ('eleventhMarkEntry' in allFormFields or 'ELEVENTH' in allFormFields) %}
    {% set markDivwidth = 100/3  %}
{% endif %}
<html>
    <head>
    <style>
        @page { margin: 5mm; }
        body { font-size: 11px; }
        td {
            line-height: 13px;
            font-size: 11px;
        }
        h3 { margin: 2px 0; font-size: 13px; }
        .print-table-border {
            margin-bottom: 3px !important;
        }
        .table.table-bordered td,
        .table.table-bordered th {
            padding: 2px 4px;
        }
        .sub-page { page-break-inside: avoid; }
    </style>
    </head>
    <body class='page'>
        <div>
		<div class='sub-page'>
            <table width="100%" style="border-collapse: collapse; margin-bottom: 4px;">
                <tr>
                    <td width="22%" style="padding: 0;"></td>
                    <td style="vertical-align: top; text-align: center; padding: 0;">
                        <img style='width: 500px; height: 110px;' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/banner.png">
                    </td>
                    <td width="22%" style="vertical-align: top; text-align: center; padding: 0 0 0 6px;">
                        <b style="font-size: 12px; display: block; margin-bottom: 4px;">Phase: {{student.admissionPhase}}</b>
                        <img style='width: 150px; height: 180px;' src="{{student.studentPhoto}}" alt='' class='img-responsive' />
                    </td>
                </tr>
            </table>
            <table width="100%" style="border-collapse: collapse; margin-bottom: 4px; margin-top:-50px; margin-left: 55px;">
                <tr>
                    <td width="50%" style="font-weight: bold; font-size: 12px; padding: 2px 0;">
                        Application No : {{student.applicationNo}}
                    </td>
                    <!-- <td width="50%" style="font-weight: bold; font-size: 12px; padding: 2px 0;">
                        Applied For : {{student.capId}}
                    </td> -->
                </tr>
                <tr>
                    <td colspan="2" style="font-weight: bold; font-size: 12px; padding: 2px 0;">
                        Applied For : {{choices[0].patternCourseName}}
                    </td>
                </tr>
            </table>
			<table cellspacing='0'  cellpadding='0' class='table table-bordered padding-print' width='100%' style='color:black;'>
        	    <tr>
                    <td colspan='3' align='center'>
                        <h3 style="margin: 3px 0;">{{form.name}}</h3>
                    </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.studentReservationId}} 
                                </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>Student Contact No</b></td>
                                <td>
                                    :{{student.studentMobile}} 
                                </td>
                                <td>
                                    <b>Caste</b><br/>
                                </td>
                                <td>: {{student.caste1}}</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 colspan="2" style="background-color: lightgray;">
                                                <b>ADDRESS</b>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td width="50%">
                                                <b>Street Address :</b>
                                                {{student.commuAddressLine1}}
                                            </td>

                                            <td width="50%">
                                                <b>City :</b>
                                                {{student.commuCity}}
                                            </td>
                                        </tr>

                                        <tr>
                                            <td width="50%">
                                                <b>State/UT :</b>
                                                {{student.commuState}}
                                            </td>

                                            <td width="50%">
                                                <b>Country :</b>
                                                {{student.commuCountry}}
                                            </td>
                                        </tr>

                                        <tr>
                                            <td width="50%">
                                                <b>Zip Code :</b>
                                                {{student.commuPin}}
                                            </td>

                                            <td width="50%">
                                            </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 width='33%'><b>Choice of Centre</b></td>
                                            <td width='2%'>:</td>
                                            <td>{{student.choiceOfCentre}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Sports</b></td>
                                            <td>:</td>
                                            <td>{{student.sports}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Marital Status</b></td>
                                            <td>:</td>
                                            <td>{{student.maritalStatus}}</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 width='20%'><b>Father's Name</b></td>
                                            <td width='30%'>: {{student.salutation}} {{student.fatherName|upper}} </td>
                                            <td width='20%'><b>Mother's Name</b></td>
                                            <td width='30%'>: {{student.salutationMother}} {{student.motherName|upper}} </td>
                                        </tr>
                                        <tr>
                                            <td><b>Father's Occupation</b></td>
                                            <td>: {{student.fatherOccupation}}</td>
                                            <td><b>Mother's 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>Father's E-mail</b></td>
                                            <td>: {{student.fatherEmail}}</td>
                                            <td><b>Mother's E-mail</b></td>
                                            <td>: {{student.motherEmail}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Father's Phone Number</b></td>
                                            <td>: {{student.fatherMobileNo}}</td>
                                            <td><b>Mother's Phone Number</b></td>
                                            <td>: {{student.motherMobileNo}}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Guardian Name</b></td>
                                            <td>: {{student.guardiansName}}</td>
                                        </tr>
                                    </table>
                                </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>
                                    </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>
                                    <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.twelfthInstitution}}</td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> Reg. No.</td>
                                            <td width="50%">:{{student.hssRegNumber}} </td>
                                        </tr>
                                        <tr>
                                            <td width="50%"> No of Attempts</td>
                                            <td width="50%">:{{student.hssChances}} </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 colspan="2" style="background-color: lightgray;"><b>HSS Details</b></td>
                            </tr>
                            <tr>
                                <td width='33%'><b>School Name</b></td>
                                <td>: {{student.schoolName}}</td>
                            </tr>
                            <tr>
                                <td><b>Register No</b></td>
                                <td>: {{student.hssRegNumber}}</td>
                            </tr>
                            <tr>
                                <td><b>Board</b></td>
                                <td>: {{student.twelfthBoardStream}}</td>
                            </tr>
                            <tr>
                                <td><b>Year of Passing HSS</b></td>
                                <td>: {{student.yearOfPassingHss}}</td>
                            </tr>
                            <tr>
                                <td><b>Total Marks</b></td>
                                <td>: {{student.totalMarks}}</td>
                            </tr>
                            <tr>
                                <td><b>Marks Obtained</b></td>
                                <td>: {{student.marksObtained}}</td>
                            </tr>
                            <tr>
                                <td><b>Percentage</b></td>
                                <td>: {{student.percentageOfMarksObtained}}</td>
                            </tr>
                        </table>
                       <!-- <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td colspan="4" style="background-color: lightgray;"><b>Achievements &amp; Awards</b></td>
                            </tr>
                            <tr>
                                <td width='25%'><b>Level of Participation</b></td>
                                <td width='25%'><b>Game/Sports</b></td>
                                <td width='25%'><b>Year of Participation</b></td>
                                <td width='25%'><b>Position Obtained</b></td>
                            </tr>
                            {% for item in student.dataGrid %}
                            <tr>
                                <td>{{item.textField}}</td>
                                <td>{{item.textField1}}</td>
                                <td>{{item.textField2}}</td>
                                <td>{{item.textField3}}</td>
                            </tr>
                            {% endfor %}
                        </table> -->
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td colspan="4" style="background-color: lightgray;">
                                    <b>Achievements &amp; Awards</b>
                                </td>
                            </tr>

                            <tr>
                                <td width='25%'><b>Level of Participation</b></td>
                                <td width='25%'><b>Game/Sports</b></td>
                                <td width='25%'><b>Year of Participation</b></td>
                                <td width='25%'><b>Position Obtained</b></td>
                            </tr>

                            <tr>
                                <td>{{student.dataGrid[0].textField}}</td>
                                <td>{{student.dataGrid[0].textField1}}</td>
                                <td>{{student.dataGrid[0].textField2}}</td>
                                <td>{{student.dataGrid[0].textField3}}</td>
                            </tr>
                        </table>
                        <table class='table table-bordered m-b-2 print-table-border' width='100%'>
                            <tr>
                                <td colspan="2" style="background-color: lightgray;"><b>Payment Details</b></td>
                            </tr>
                            <tr>
                                <td width='33%'><b>Transaction ID</b></td>
                                <td>: {{student.transactionId}}</td>
                            </tr>
                            <tr>
                                <td><b>Account Number (Used For Payment)</b></td>
                                <td>: {{student.accountNumber}}</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 all the information furnished by me in this application form and the documents submitted in support thereof are true, complete, and correct to the best of my knowledge and belief. I understand that if any information provided by me is found to be false, incorrect, concealed, or misleading at any stage, my candidature/admission shall be liable to be cancelled without prior notice.</p>
                                                <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>Place: </b>{{student.commuCity}}</td>
                                                            <td align='right'><b>Signature of the Student</b></td>
                                                        </tr>
                                                        <tr>
                                                            <td width='50%'><b>Date: </b>{{ student.verifiedTime}}</td>
                                                            <td align='right'></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>Manager/Chairman</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>