165 lines
6.8 KiB
HTML
Executable File
165 lines
6.8 KiB
HTML
Executable File
<style>
|
|
.table{
|
|
border: 1px solid #000 !important;
|
|
}
|
|
</style>
|
|
|
|
|
|
<div class="container-fluid container-fullw bg-white" ng-controller="generateHallTicketCtrl">
|
|
|
|
|
|
<div align="right">
|
|
<button class="btn btn-success btn-sm" ng-click="printStudentDetails(semDataTypePDF);">Print</button>
|
|
</div>
|
|
|
|
|
|
<div ng-repeat="studentObj in localPdfStudentDetails" and ng-if="studentObj.Firstname">
|
|
<div id="university_header">
|
|
<table width="100%" border="1" id = "" style="background-color:#fff;">
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="3" width="20%"><img src="images/{{universityLogoPDF}}" id="logo" alt="NAN" height="100" width="100"/></td>
|
|
<td><center>{{universityNamePDF}}</center></td>
|
|
</tr>
|
|
<tr>
|
|
<td><center>{{universityEmailPDF}}</center></td>
|
|
</tr>
|
|
<tr>
|
|
<td ><center>{{universityAddressPDF}}</center></td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
<div id="student_header">
|
|
<table width="100%" border="1" id = "" style="background-color:#fff;">
|
|
<tbody>
|
|
<tr>
|
|
<td><center>ADMIT CARD : {{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>Enrollment No : {{studentObj.EnrollmentID}} Student Name : {{studentObj.Firstname}} {{studentObj.Lastname}}</br>Center Name : {{centerNamePDF}}</td>
|
|
</tr>
|
|
<!-- <tr> -->
|
|
<!-- <td >{{universityAddressPDF}}</td> -->
|
|
<!-- </tr> -->
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
<!-- FOR SEMESTER TYPE STUDENTS-->
|
|
<table width="100%" border="1" ng-repeat ="subjects in studentObj.FeeDetails" and ng-if="semDataTypePDF == 'SEM'" id = "{{studentObj.StudentID}}{{$index}}">
|
|
<thead>
|
|
<!-- <tr> -->
|
|
<!-- <th colspan="6">SEMESTER</th> -->
|
|
<!-- </tr> -->
|
|
<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">
|
|
<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 | date :"hh:mm a"}} - {{sub.ToTime | date :"hh:mm: a"}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<!-- END OF SEMESTER TYPE STUDENTS-->
|
|
<!-- FOR YEAR TYPE STUDENTS-->
|
|
|
|
<table width="100%" border="1" ng-repeat = "sem in studentObj.FeeDetails[0]" and ng-if="semDataTypePDF == 'YEAR'" id = "{{studentObj.StudentID}}year1{{$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 sem">
|
|
<td ng-if="$parent.$index == 0">0{{sub.SemesterID}}</td><td ng-if="$parent.$index == 1">0{{sub.SemesterID-1}}</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 | date :"hh:mm: a"}} - {{sub.ToTime | date :"hh:mm: a"}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table width="100%" border="1" ng-repeat = "sem in studentObj.FeeDetails[1]" and ng-if="semDataTypePDF == 'YEAR'" id = "{{studentObj.StudentID}}year2{{$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 sem">
|
|
<td ng-if="$parent.$index == 0">0{{sub.SemesterID-1}}</td><td ng-if="$parent.$index == 1">0{{sub.SemesterID-2}}</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 | date :"hh:mm: a"}} - {{sub.ToTime | date :"hh:mm: a"}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table width="100%" border="1" ng-repeat = "sem in studentObj.FeeDetails[2]" and ng-if="semDataTypePDF == 'YEAR'" id = "{{studentObj.StudentID}}year3{{$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 sem">
|
|
<td ng-if="$parent.$index == 0">0{{sub.SemesterID-2}}</td><td ng-if="$parent.$index == 1">0{{sub.SemesterID-3}}</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 | date :"hh:mm: a"}} - {{sub.ToTime | date :"hh:mm: a"}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table width="100%" border="1" ng-repeat = "sem in studentObj.FeeDetails[3]" and ng-if="semDataTypePDF == 'YEAR'" id = "{{studentObj.StudentID}}year4{{$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 sem">
|
|
<td ng-if="$parent.$index == 0">0{{sub.SemesterID-3}}</td><td ng-if="$parent.$index == 1">0{{sub.SemesterID-4}}</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 | date :"hh:mm: a"}} - {{sub.ToTime | date :"hh:mm: a"}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
<!-- END OF YEAR TYPE STUDENTS-->
|
|
|
|
<!-- FOR OF REG AND LAT TYPE STUDENTS-->
|
|
|
|
<table width="100%" border="1" ng-repeat = "subjects in studentObj.FeeDetails[0]" ng-if="semDataTypePDF == 'REG' || semDataTypePDF == 'LAT' && 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">
|
|
<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 | date :"hh:mm: a"}} - {{sub.ToTime | date :"hh:mm: a"}}</td><td > </td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|