IMMREX7
<?php $__env->startSection('content'); ?>
<div class="row clearfix">
<div class="col-sm-12">
<div class="card">
<div class="header">
<h2><strong>Purchase Data</strong></h2>
</div>
<div class="body table-responsive">
<table class="table table-bordered table-striped table-hover dataTable js-exportable">
<thead>
<tr>
<th>Receipt Number</th>
<th>Date</th>
<th>Ec No.</th>
<th>Name</th>
<th>Class</th>
<th>Section</th>
<th>Payment Mode</th>
<th>Paid</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $i = 1;?>
<?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $var): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<?php $student = \App\AdmEntry::where('idStudent', '=', $var->idStudent)->first();?>
<td><?php echo e($var->receiptNo); ?></td>
<td><?php echo e($var->paymentDate); ?></td>
<td><?php echo e($var->ecNo); ?></td>
<td><?php echo e($var->firstName); ?> <?php echo e($var->middleName); ?> <?php echo e($var->lastName); ?></td>
<td><?php echo e($var->className); ?></td>
<td><?php echo e($var->sectionName); ?></td>
<td>
<?php echo e($var->paymentMode); ?>
</td>
<td><?php echo e($var->totalPaid); ?> </td>
<td>
<a href="<?php echo e(url('student/shop-receipts/'.$var->idTransaction)); ?>" target="_blank" class="btn btn-sm btn-info">Print Receipt</a>
</td>
</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 -