{# <!--
    College header SSA - Architecuter  DEFAULT MEMO
--> #}

<html>
    <head>
    <style>
        td {
            line-height: 15px;
            font-size:16px;
            padding : 4px;
            vertical-align : top;
        }
        p {
            font-size:16px;
        }
        body {
            padding : 0px 20px;
        }
        .cert-table tr:nth-child(even) {background-color: #f2f2f2;}

    </style>
    </head>
    <body class='page'>
        <div>
            <table class='table' width='100%'>
                <tr>
				    <td width='15%' align='center'>
                        <img style='width: 75px;' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/logo.png">
                    </td>
                    <td width="70%" align="center">
                        <div align='center' style="">
                            <div style="font: bold 22px 'Times New Roman';margin-top: 0px;margin-bottom: 4px">{{college.collegeName|upper}} {{college.autonomous?( college.autonomous|slice(0, 2)|upper):''}}{{college.autonomous?(college.autonomous|slice(2)|lower  ):''}}</div>
                        </div>
                        <div align='center'>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeAddress}} {{college.collegeAddress1}} {{college.collegeAddress2}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegePhone}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeWebsite}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeEmail}}</p>
                        </div>
                    </td>
                    <td width='15%'>
                    </td>
                </tr>
                <tr>
                    <td colspan=3 align='center' style='font-size:18px;'>
                        <b>(B. Arch)</b>
                    </td>
                </tr>
            </table>
            <table class='table' width='100%'>
                <tr>
                    <td width='60%'>
                        Admission No. : <b>{{alreadyAdmittedDetails.admissionNo}}</b>
                    </td>
                    <td width='40%'>Date : {{alreadyAdmittedDetails.admittedTime|date("d-m-Y") }}</td>
                </tr>
                <tr>
                    <td width='60%'>Dear <b>{{student.studentName|upper}}</b></td>
                    <td width='40%'>No : <b>{{student.applicationNo}}</b></td>
                </tr>
                <tr>
                    <td colspan=2>
                        We are in receipt of your original certificates/ mark list of:
                    </td>
                </tr>
            </table>
            <table class='table print-table-border cert-table' width='100%'>
                <tr>
                    <td width='10%' align='center'><b>Sl No</b></td>
                    <td width='50%' align='center'><b>Name of the Document</b></td>
                    <td width='10%' align='center'><b>Status</b></td>
                    <td width='30%' align='center'><b>Remarks</b></td>
                </tr>
                {% for certificate in allFormAssignedCertificates %}
                <tr>
                    <td align='center'>{{loop.index}}</td>
                    <td>{{certificate.certificateName}}</td>
                    {% if certificate.certificateName in student.certificates %}
                    <td align='center'>&#10004</td>
                    {% else %}
                    <td align='center'></td>
                    {% endif %}
                    <td></td>
                </tr>
                {% endfor %}
            </table>
            <table class='table' width='100%'>
                <tr>
                    <td>
                        <b>
                            N.B:
                        </b>
                        <i>
                            Please return this slip on completion of the programme/ relief to join elsewhere
                        </i>
                    </td>
                </tr>
                <tr>
                    <td align='right'>
                        <br><br>
                        <b>Principal</b>
                    </td>
                </tr>
            </table>

            <div style='border-bottom:1px dashed black;' class='table' width='100%'></div>
            <br>

            <table class='table' width='100%'>
                <tr>
				    <td width='15%' align='center'>
                        <img style='width: 75px;' src="{{college.url}}/libcommon/images/college/{{college.collegeCode}}/logo.png">
                        <h4 style='color:red;'><b>{{student.applicationNo}}</b></h4>
                    </td>
                    <td width="70%" align="center">
                        <div align='center' style="">
                            <div style="font: bold 22px 'Times New Roman';margin-top: 0px;margin-bottom: 4px">{{college.collegeName|upper}} {{college.autonomous?( college.autonomous|slice(0, 2)|upper):''}}{{college.autonomous?(college.autonomous|slice(2)|lower  ):''}}</div>
                        </div>
                        <div align='center'>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeAddress}} {{college.collegeAddress1}} {{college.collegeAddress2}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegePhone}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeWebsite}}</p>
                            <p style='margin: 0 0 0px;font-size: 14px;'>{{college.collegeEmail}}</p>
                        </div>
                    </td>
                    <td width='15%'>
                    </td>
                </tr>
                <tr>
                    <td colspan=3 align='center' style='font-size:18px;'>
                        <b><b>ADMISSION SLIP</b></b>
                    </td>
                </tr>
            </table>
            {# {% set programmeName = '' %}
            {% set pgProgrammes = ['M TECH','MCA'] %}
            {% set ugProgrammes = ['B TECH'] %}
            {% set programmeName = form.code in pgProgrammes ? 'PG Course' : 'B.Tech Degree Course' %} #}
            <p style='text-indent:30px;line-height:30px;'>
                Sri./Kum <b>{{student.studentName|upper}}</b> is admitted to B. Arch Degree Degree Course in First Semester, <b>{{alreadyAdmittedDetails.fullPatterncourseName}}</b>, under <b>{{student.admissionQuotasId}}</b> Quota during the academic year 2021-2022.
            </p>

            <table class='table' width='100%'>
                <tr>
                    <td width='50%'>Admission No : <b>{{student.admissionNo}}</b></td>
                    <td width='50%'></td>
                </tr>
                <tr>
                    <td width='50%'>Date : <b>{{alreadyAdmittedDetails.admittedTime|date("d-m-Y") }}</b></td>
                    <td width='50%' align='right'><b>Principal</b></td>
                </tr>
            </table>
        </div>
    </body>
</html>