IMMREX7
<?php $__env->startSection('content'); ?>
<div class="row clearfix">
<!--</div>
<div class="row clearfix">-->
<div class="col-sm-12">
<div class="card">
<div class="header">
<h2><strong>List Of Students</strong></h2>
</div>
<div class="body table-responsive">
<table class="table table-bordered table-striped table-hover datatable" id="tableexp">
<thead>
<tr>
<th>S. No.</th>
<th>EC No</th>
<th>Name</th>
<th>Class</th>
<th>Section</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $i = 1; ?>
<?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<th scope="row"><?php echo e($i); ?></th>
<td><?php echo e($value->ecNo); ?></td>
<td><?php echo e($value->name); ?></td>
<td><?php if(isset($value->classM)): ?> <?php echo e($value->classM->className); ?> <?php endif; ?></td>
<td><?php if(isset($value->section)): ?> <?php echo e($value->section->sectionName); ?> <?php endif; ?></td>
<td><a href="<?php echo e(url('teacher/exam-result/'.$id.'/view?student='.$value->idStudent)); ?>" target="_blank">View Results</a></td>
</tr>
<?php $i++; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script>
$(function () {
$('#tableexp').DataTable();
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('teachers.teacher_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -