apollodec/Apollo/assets/views/hallticket/examAttendancePDF.html
2019-04-25 14:46:53 +05:30

131 lines
3.7 KiB
HTML

<style>
.table{
border: 1px solid #000 !important;
}
</style>
<style>
.table, th, td {
border: 1px solid #000 !important;
border-collapse: collapse;
}
</style>
<div class="container-fluid container-fullw bg-white" style="width: 850px;" ng-controller="examAttendanceCtrl">
<div align="right">
<button class="btn btn-success btn-sm" ng-click="printAttendanceDetails();">Print</button>
</div>
<!-- <pre>{{ dataForExamAttendance | json}}</pre> -->
<div ng-if="ExamAttens != 'AfterNoon'">
<div id="attendance_header">
<table width="100%" border="1" id = "" style="background-color:#fff;">
<tbody>
<tr>
<td><center> <h4 class="ng-binding" >{{pdfuname}} {{ pdfbatch }}- Examination {{pdfcenter.CenterName}} Center Morning Attendance - {{pdfexamdate | date:"dd-MM-yyyy"}} </h4></center></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="student_list_AM">
<table width="100%" border="1" id = "attendanceTableAM" style="background-color:#fff;" ng-if="studentInfoAM_Length != 0">
<thead>
<tr>
<th width="5%"><center>Sl</center></th>
<th width="10%"><center>STUDENT NAME</center></th>
<th width="30%"><center>COURSE</center></th>
<th width="5%"><center>SEM YEAR</center></th>
<th width="10%"><center>ENROLLMENT NO</center></th>
<th width="10"><center>Roll NO</center></th>
<th width="5%"><center>SUBJECT CODE</center></th>
<th width="15%"><center>SUBJECT NAME</center></th>
<th width="10%"><center>BOOKLET NO</center></th>
<th width="30%"><center>STUDENT SIGN</center></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="student in dataForExamAttendanceAM" >
<td height="50">{{($index+1)}}</td>
<td height="50">{{student.Firstname}} {{student.Lastname}} </td>
<td>{{student.CourseName}}</td>
<td>{{student.Sem_Year}}</td>
<td>{{student.EnrollmentID}}</td>
<td>{{student.RollNo}}</td>
<td>{{student.SubjectCode}}</td>
<td>{{student.SubjectName}}</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div ng-if="ExamAttens != 'Morning'">
<div id="attendance_header">
<table width="100%" border="1" id = "" style="background-color:#fff;">
<tbody>
<tr>
<td><center><b> <h4 class="ng-binding">{{pdfuname}} {{ pdfbatch }}- Examination {{pdfcenter.CenterName}} Center AfterNoon Attendance - {{pdfexamdate | date:"dd-MM-yyyy"}} </h4></b></center></td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="student_list_PM">
<table width="100%" border="1" id = "attendanceTablePM" style="background-color:#fff;" ng-if="studentInfoPM_Length != 0">
<thead>
<tr>
<th width="5%"><center>Sl</center></th>
<th width="10%"><center>STUDENT NAME</center></th>
<th width="30%"><center>COURSE</center></th>
<th width="5%"><center>SEM YEAR</center></th>
<th width="7%"><center>ENROLLMENT NO</center></th>
<th width="13"><center>Roll NO</center></th>
<th width="5%"><center>SUBJECT CODE</center></th>
<th width="15%"><center>SUBJECT NAME</center></th>
<th width="10%"><center>BOOKLET NO</center></th>
<th width="30%"><center>STUDENT SIGN</center></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="student in dataForExamAttendancePM" >
<td>{{($index+1)}}</td>
<td>{{student.Firstname}} {{student.Lastname}} </td>
<td>{{student.CourseName}}</td>
<td>{{student.Sem_Year}}</td>
<td>{{student.EnrollmentID}}</td>
<td>{{student.RollNo}}</td>
<td>{{student.SubjectCode}}</td>
<td>{{student.SubjectName}}</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>