{# <!--
    College header DIBS- ADMIT CARD
--> #}
{% set markDivwidth = 50  %}
{% set index = 1  %}

<html>
    <head>
    <style>
        .page-1 td {
            line-height: 18px;
            font-size : 16px;
            vertical-align:top;
        }
        .page-2 td {
            line-height: 23px;
            font-size : 16px;
            vertical-align:top;
        }
        * {
            font-Family: serif;
        }
        .underline {
            border-bottom: 2px solid currentColor;
            display: inline-block;
            line-height: 0.85;
        }
        #page-three-main-table p {
            text-align: justify;
            line-height: 1cm;
            font-size: large;
        }
        #page-four-main-table p {
            text-align: justify;
            line-height: 0.8cm;
            font-size: large;
        }
        #page-five-main-table table p {
            text-align: justify;
            line-height: 0.8cm;
        }
        #page-six-main-table table p {
            text-align: justify;
            line-height: 0.8cm;
        }
    </style>
    </head>
    <body class='page'>
        <div>
		<div class='sub-page'>
			<table cellspacing='0'  cellpadding='0' class='table table-bordered page-1' width='100%' style='color:black;border:1px solid black; page-break-after:always;'>
                <tr>
                    <td>
                        <table class='table ' width='100%'>
                            <tr>
                                <td width='45%'>
                                    <img width='100%' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/logo.png" alt='' class='img-responsive'>    
                                </td>
                                <td>                                                                                                                                                                
                                    <div style='margin-top:35px;margin-left:95px'>
                                        <p style='margin: 0 0 0px;font-size: 17px;'>
                                            <b>Duxford International Business School (DIBS)<b>
                                        </p>
                                        <p style='margin: 0 0 0px;font-size: 12px;'>Duxford Edupark Malappuram, Kalikavu 676525</p>
                                        <p style='margin: 0 0 0px;font-size: 12px;'>ph.no. +91 4931 214 400 | +91 9235 400 200</p>
                                        <p style='margin: 0 0 0px;font-size: 12px;'>office@dibs.edu.in | www.dibs.edu.in</p>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align='center' style='border:1px solid black;border-bottom: none;font-size:18px;'>
                        {% set startYear = alreadyAdmittedDetails.batchStartYear %}
                        {% set endYear = startYear + 1 %}
                        <b> ADMIT-CARD <br> {{alreadyAdmittedDetails.patternCourseName}} {{ startYear }}-{{ endYear|slice(-2) }} </b>
                    </td>
                </tr>
                {# <tr>
                    <td align='right'>
                        
                    </td>
                </tr> #}
                <tr>
                    <td valign='top'>
                        <table class='table print-table-border' width='100%'>
                            <tr>
                                <td align='center'>APPLICATION NO</td>
                                <td align='center'>ADMISSION NO</td>
                                <td align='center'>DATE OF ADMISSION</td>
                            </tr>
                            <tr>
                                <td style="color:red" align='center'>{{student.applicationNo}}</td> 
                                <td style="color:red" align='center'>{{student.admissionNo}}</td> 
                                <td style="color:red" align='center'>{{alreadyAdmittedDetails.admittedTime|date('d-m-Y')}}</td>  
                            </tr>
                        </table>
                        <table class='table' width='100%'>
                            <tr>
                                <td width='2%'>{{index}}.</td>
                                <td width='35%'>Name</td>
                                <td width='40%'>: {{student.studentFirstName|upper}}</td>
                                <td width='23%'></td>
                            </tr>
                            {% set index = index + 1  %}
                            <tr>
                                <td>{{index}}.</td>
                                <td>Gender</td>
                                <td>: {{student.gender|upper}}</td>
                                <td rowspan=5 align='center'>
                                    <div>
                                        <img style='width: 110px;height: 140px;'src="{{student.studentPhoto}}" alt='' class='img-responsive' />
                                    </div>
                                </td>
                            </tr>
                            {% set index = index + 1  %}
                            <tr>
                                <td>{{index}}.</td>
                                <td>Blood Group</td>
                                <td>: {{student.bloodGroupId}}</td>
                            </tr>
                            {% set index = index + 1  %}
                            
                            <tr>
                                <td>{{index}}.</td>
                                <td>Date of Birth</td>
                                <td>: {{student.dateOfBirth|date("d/m/Y")}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Religion</td>
                                <td>: {{student.religion}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Caste</td>
                                <td colspan=2>: {{student.caste|upper}}</td>
                            </tr>
                            {% set index = index + 1  %}
                            
                            <tr>
                                <td>{{index}}.</td>
                                <td>Category</td>
                                <td colspan=2>: {{student.studentReservationId}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Nationality</td>
                                <td colspan=2>: {{student.nationality}}</td>
                            </tr>
                            {% set index = index + 1  %}
                            
                            <tr>
                                <td>{{index}}.</td>
                                <td>Mobile</td>
                                <td colspan=2>: {{student.studentMobile}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Email</td>
                                <td colspan=2>: {{student.studentEmail}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Communication Address with Pincode </td>
                                <td colspan=2>: {{student.commuAddressLine1}},
                                {{student.commuAddressLine2}},
                                {{student.place1}},
                                {{student.commuState}},
                                {{student.commuDistrict}},
                                {{student.commuCountry}},
                                {{student.commuPin}},
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Name of Father</td>
                                <td colspan=2>: {{student.fatherName}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Father Mobile No</td>
                                <td colspan=2>: {{student.fatherMobileNo}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Name of Mother</td>
                                <td colspan=2>: {{student.motherName}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Mother Mobile No</td>
                                <td colspan=2>: {{student.motherMobileNo}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Father Occupation</td>
                                <td colspan=2>: {{student.fatherOccupation}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Name & Address of
                                Parent/Guardian with Pincode </td>
                                <td colspan=2>: {{student.guardianName}}<br>
                                {{student.permAddressLine1}},
                                {{student.permAddressLine2}},
                                {{student.permCity}},
                                {{student.permState}},
                                {{student.permCountry}},
                                {{student.permPin}}</td>
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Guardian Relation</td>
                                <td colspan=2>: {{student.parentOrGuardian}}</td>
                            </tr>
                            {% set index = index + 1  %}
    

                            <tr>
                                <td>{{index}}.</td>
                                <td>Guardian's Mobile</td>
                                {% if student.parentOrGuardian == 'Father'%}
                                <td colspan=2>: {{student.fatherMobileNo}}</td>
                                {% elseif student.parentOrGuardian == 'Mother'%}
                                <td colspan=2>: {{student.motherMobileNo}}</td>
                                {% else %}
                                <td colspan=2>: {{student.guardianMobileNo}}</td>
                                {% endif %}
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Guardian's E-mail</td>
                                {% if student.parentOrGuardian == 'Father'%}
                                <td colspan=2>: {{student.fatherEmail}}</td>
                                {% elseif student.parentOrGuardian == 'Mother'%}
                                <td colspan=2>: {{student.motherEmail}}</td>
                                {% else %}
                                <td colspan=2>: {{student.guardianEmail}}</td>
                                {% endif %}
                            </tr>
                            {% set index = index + 1  %}

                            <tr>
                                <td>{{index}}.</td>
                                <td>Annual Family Income</td>
                                <td colspan=2>: {{student.fatherAnnualIncome}}</td>
                            </tr>
                            {% set index = index + 1  %}     

                            <tr>
                                <td>{{index}}.</td>
                                <td>Differently Abled</td>
                                <td colspan=2>: {{student.areYouDifferentlyAbled}}</td>
                            </tr>
                            {% set index = index + 1  %} 
                            <tr>
                                <td>{{index}}.</td>
                                <td>UG University</td>
                                <td colspan=2>: {{student.ugBoardStream}}</td>
                            </tr>
                            {% set index = index + 1  %} 
                            <tr>
                                <td>{{index}}.</td>
                                <td>UG Course</td>
                                <td colspan=2>: {{student.programName}}</td>
                            </tr>
                            {% set index = index + 1  %} 
                               

                        </table>
                    </td>
                </tr>
                <tr>
                    <td style='border:1px solid black;'>
                        <table class='table table-bordered m-b-0' width='100%'>
                                <tr>
                                    <td colspan=3 align='center'>
                                        <b>DECLARATION<b>
                                        <br>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan=3>
                                        I have gone through the prospectus and accept the conditions of admission therein set forth. 
                                        I am eligible to seek admission to the year({{ startYear }}-{{ endYear|slice(-2) }} Academic year) {{alreadyAdmittedDetails.patternCourseName}} 
                                        Programme of the Duxford International Business School (DIBS), Approved byAICTE Govt of India . 
                                        I declare that the information given in the application are true to the best of my knowledge and belief.
                                        <br>
                                    </td>
                                </tr>
                                <tr height='30px'></tr>
                                <tr>
                                    <td align='left'>
                                        Place : Karutheni
                                    </td>
                                    <td align='left'>
                                    </td>
                                    <td align='right'>
                                        {# <img style='float: right;width: 150px;height: 40px; margin-bottom: -5px; 'src="{{student.signImage}}" alt='' class='img-responsive' />
                                        <br> #}
                                    </td>
                                </tr>
                                <tr>
                                    <td align='left'>
                                        Date : {{alreadyAdmittedDetails.admittedTime|date("d/m/Y")}}
                                    </td>
                                    <td align='center'>
                                        
                                    </td>
                                    <td align='right'>
                                        <b>Name & Signature of Candidate </b>
                                    </td>
                                </tr>
                                <tr height='30px'></tr>
                        </table>
                    </td>
                </tr>

                <tr>
                    <td style='border:1px solid black;'>
                        <table class='table table-bordered m-b-0' width='100%'>
                            <tr>
                                <td colspan=3 align='center'>
                                    <b>FOR OFFICE USE ONLY<b>
                                    <br>
                                    <small>Dean Academics Endorsement<small>
                                </td>
                            </tr>
                            <tr height='20px'></tr>
                            <tr>
                                <td colspan=3>
                                    Admit  <b>Mr/Ms {{student.studentFirstName|upper}}</b> to <b>{{alreadyAdmittedDetails.patternCourseName}}</b> {{alreadyAdmittedDetails.batchStartYear}}, Trimester I
                                    <br>
                                </td>
                            </tr>
                            <tr height='20px'></tr>
                            <tr>
                                <td width='33%' align='right'>
                                <br>
                                    <b>Dean Academics</b>
                                </td>
                            </tr>    
                            <tr>
                                <td><b>Remarks</b><br><br><br><br></td>
                            </tr>

                        </table>
                        <tr>
                    </td>   
                </tr>
            </table>
        </div>
        </div>
    </body>
</html>