IMMREX7
<?php $__env->startSection('content'); ?>
<div class="row clearfix card">
<?php $si = 0; ?>
<table class="table table-hover">
<thead>
<tr>
<th></th>
<th style="width:60px;"></th>
<th>Name</th>
<th>Academic Details</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $var): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $si++; ?>
<?php if(isset($var->classM) && isset($var->section)): ?>
<tr>
<td><?php echo e($si); ?></td>
<td>
<?php if(isset($var->photo)): ?>
<a href="#" class="">
<img src="<?php echo e(asset('storage/schools/'.$var->idSchool.'/students/'.$var->photo)); ?>" class="rounded-circle" alt="profile-image" width="60" height="60">
</a>
<?php endif; ?>
</td>
<td><?php echo e($var->firstName); ?> <?php echo e($var->middleName); ?> <?php echo e($var->lastName); ?></td>
<td> <?php if(isset($var->classM)): ?> <?php echo e($var->classM->className); ?> <?php if(isset($var->section)): ?><?php echo e($var->section->sectionName); ?> <?php endif; ?> <?php endif; ?></td>
<td><a href="<?php echo e(url('student/dashboard/'.$var->idStudent)); ?>" class="btn btn-sm btn-success">Go to Dashboard</a></td>
</tr>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('students.student_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -