170 lines
6.2 KiB
HTML
Executable File
170 lines
6.2 KiB
HTML
Executable File
<style>
|
|
.table{
|
|
border: 1px solid #ffffff !important;
|
|
border-collapse: collapse;
|
|
}
|
|
</style>
|
|
<style>
|
|
.table#table1 th, td {
|
|
border: 1px solid #000 !important;
|
|
border-collapse: collapse;
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid container-fullw bg-white" style="width: 786px;" ng-controller="generateHallTicketCtrl">
|
|
|
|
|
|
<div align="right">
|
|
<button class="btn btn-success btn-sm" ng-click="generatePDF();">Print</button>
|
|
<!--<button class="btn btn-success" id="print"ng-click="generatePDF();">Printer</button></div>-->
|
|
</div>
|
|
|
|
|
|
<div ng-repeat="studentObj in localPdfStudentDetails" and ng-if="studentObj.Firstname">
|
|
<div id="university_header">
|
|
|
|
<table width="100%" border="1" cellpadding="0" cellspacing="0" id = "tablehead" style="background-color:#fff;">
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="3" width="14%"><img src="images/{{universityLogoPDF}}" id="logo" alt="NAN" height="100" width="100"/></td>
|
|
|
|
<td>
|
|
<table>
|
|
<tbody>
|
|
<!-- <tr>
|
|
<td><center><strong style="font-size:16px;">{{universityNamePDF}}</strong></center></td>
|
|
</tr>
|
|
<tr>
|
|
<td><center><strong style="font-size:14px;">{{universityEmailPDF}}</strong></center></td>
|
|
</tr>
|
|
<tr>
|
|
<td><center><strongstyle="font-size:14px;">{{universityAddressPDF}}</strong></center></td>
|
|
</tr> -->
|
|
|
|
<header>
|
|
<h3>{{universityNamePDF}}</h3>
|
|
<h5>{{universityEmailPDF}}</h5>
|
|
<p>{{universityAddressPDF}}</p>
|
|
</header>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table width="100%" border="1" cellpadding="0" cellspacing="0" id = "" style="background-color:#fff;">
|
|
<tbody>
|
|
<tr>
|
|
<td><center><strong>ADMIT CARD :</strong> {{courseNamePDF}} EXAMINATION {{batchNamePDF}}</center></td><td rowspan="2" width="20%"><img src="images/{{studentObj.ProfilePicPath}}" id="sprofile" alt="NAN" height="100" width="100"/></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td><strong style="font-size:14px;" >Enrollment No</strong> : {{studentObj.EnrollmentID}} <strong style="font-size:14px;" >Student Name</strong> : {{studentObj.Firstname}} {{studentObj.Lastname}}<br></br><strong style="font-size:14px;" >Center Name</strong> : {{centerNamePDF}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<!-- FOR SEMESTER TYPE STUDENTS-->
|
|
<table width="100%" border="1" id="table1" cellpadding="0" cellspacing="0" ng-repeat ="subjects in studentObj.FeeDetails" and ng-if="semDataTypePDF == 'SEM' && subjects.sem == SemIDPDF" id = "{{studentObj.StudentID}}{{$index}}">
|
|
<thead>
|
|
<!-- <tr> -->
|
|
<!-- <th colspan="6">SEMESTER</th> -->
|
|
<!-- </tr> -->
|
|
<tr >
|
|
<th width="5%"><center>Sem/Year</center></th>
|
|
<th width="15%"><center>Paper Code</center></th>
|
|
<th><center>Subject Name</center></th>
|
|
<th width="15%"><center>Date</center></th>
|
|
<th width="20%"><center>Time</center></th>
|
|
<th width="15%"><center>Inv.sign</center></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="sub in subjects.sub" >
|
|
<td height="50">0{{sub.SemesterID}}</td>
|
|
<td style="padding-left:3px;">{{sub.SubjectCode}}</td>
|
|
<td style="padding-left:3px;">{{sub.SubjectName}}</td>
|
|
<td >{{sub.ScheduleDate | date: "dd-MM-y" }}</td>
|
|
<td>{{sub.FromTime}} - {{sub.ToTime }}</td>
|
|
<td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<!-- END OF SEMESTER TYPE STUDENTS-->
|
|
<!-- FOR YEAR TYPE STUDENTS-->
|
|
|
|
|
|
<table width="100%" border="1" cellpadding="0" cellspacing="0" ng-repeat ="subjects in studentObj.FeeDetails" and ng-if="semDataTypePDF == 'YEAR' && subjects.sem == SemIDPDF" id = "{{studentObj.StudentID}}{{$index}}">
|
|
<thead>
|
|
|
|
<tr>
|
|
<th width="5%"><center>Sem/Year</center></th><th width="10%"><center>Paper Code</center></th><th><center>Subject Name</center></th><th width="15%"><center>Date</center></th><th width="20%"><center>Time</center></th><th width="5%"><center>Inv.sign</center></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="sub in subjects.sub" >
|
|
<td>0{{sub.SemesterID}}</td><td style="padding-left:3px;">{{sub.SubjectCode}}</td><td style="padding-left:3px;">{{sub.SubjectName}}</td><td >{{sub.ScheduleDate | date: "dd-MM-y" }}</td><td>{{sub.FromTime}} - {{sub.ToTime}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<!-- END OF YEAR TYPE STUDENTS-->
|
|
|
|
<!-- FOR OF REG AND LAT TYPE STUDENTS-->
|
|
|
|
|
|
<table width="100%" border="1" cellpadding="0" cellspacing="0" ng-repeat ="subjects in studentObj.FeeDetails" and ng-if=" semDataTypePDF == 'LAT' && subjects.sem == SemIDPDF && subjects.length != 0" id = "{{studentObj.StudentID}}{{$index}}">
|
|
<thead>
|
|
|
|
<tr>
|
|
<th width="5%">Sem/Year</th><th width="10%">Paper Code</th><th>Subject Name</th><th width="5%">Date</th><th width="15%">Time</th><th width="5%">Invigi.sign</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="sub in subjects.sub">
|
|
<td>0{{sub.SemesterID}}</td><td style="padding-left:3px;">{{sub.SubjectCode}}</td><td style="padding-left:3px;">{{sub.SubjectName}}</td><td >{{sub.ScheduleDate | date: "dd-MM-y" }}</td><td>{{sub.FromTime}} - {{sub.ToTime }}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
<table width="100%" border="1" cellpadding="0" cellspacing="0" ng-repeat ="subjects in studentObj.FeeDetails" and ng-if="semDataTypePDF == 'REG' && subjects.sem == undefined " id = "{{studentObj.StudentID}}{{$index}}">
|
|
<thead>
|
|
|
|
<tr>
|
|
<!-- <th width="5%">Sem/Year</th> -->
|
|
<th width="10%">Paper Code</th><th>Subject Name</th><th width="10%">Date</th><th width="15%">Time</th><th width="5%">Invigi.sign</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody ng-repeat="subject in subjects.sub">
|
|
<tr ng-repeat="sub in subject">
|
|
<!-- <td>0{{sub.SemesterID}}</td> -->
|
|
<td style="padding-left:3px;">{{sub.SubjectCode}}</td><td style="padding-left:3px;">{{sub.SubjectName}}</td><td >{{sub.ScheduleDate | date: "dd-MM-y" }}</td><td>{{sub.FromTime}} - {{sub.ToTime }}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|