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 Practice Sheet</strong></h2>
</div>
<div class="body table-responsive">
<?php echo Form::open(['method' => 'GET', 'action' => ['Student\ViewOnlyController@viewPracticeSet'], 'class' => 'form-horizontal']); ?>
<div class="row clearfix">
<div class="col-sm-3 form-control-label">
<label for="classname">From Date</label>
</div>
<div class="col-sm-5">
<div class="form-group">
<?php echo Form::text('fromDate',null,['class' => 'form-control datepicker']); ?>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-sm-3 form-control-label">
<label for="classname">To Date</label>
</div>
<div class="col-sm-5">
<div class="form-group">
<?php echo Form::text('toDate',null,['class' => 'form-control datepicker']); ?>
</div>
</div>
<div class="col-sm-2">
<?php echo Form::submit('Search',['class' => 'btn btn-raised btn-primary btn-round waves-effect']); ?>
<?php echo Form::close(); ?>
</div>
</div>
<table class="table table-bordered table-striped table-hover js-basic-example dataTable">
<thead>
<tr>
<th>S. No.</th>
<th>Date</th>
<th>Class</th>
<th>Section</th>
<th>EC No.</th>
<th>Subject</th>
<th>Message</th>
<th>Attached Document</th>
</tr>
</thead>
<tbody>
<?php $i = 1; ?>
<?php $__currentLoopData = $psets; $__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->created_at->format('d-m-Y')); ?></td>
<td><?php echo e($value->classM->className); ?></td>
<td><?php echo e($value->section->sectionName); ?></td>
<td><?php echo e(isset($value->student->ecNo) ? $value->student->ecNo : 'All'); ?></td>
<td><?php echo e($value->subject); ?></td>
<td style="word-wrap: break-word;"><?php echo e($value->message); ?></td>
<?php if(isset($value->practiceFile)): ?>
<td><a href="<?php echo e(url('/student/practiceset/' . $value->idSet.'/viewdoc')); ?>" target="_blank">View</a></td>
<?php else: ?>
<td>No File Attached</td>
<?php endif; ?>
</tr>
<?php $i++; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('students.student_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -