IMMREX7
@extends('students.student_layout')
@section('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;?>
@foreach($transactions as $var)
<tr>
<?php $student = \App\AdmEntry::where('idStudent', '=', $var->idStudent)->first();?>
<td>{{$var->receiptNo}}</td>
<td>{{$var->paymentDate}}</td>
<td>{{$var->ecNo}}</td>
<td>{{$var->firstName}} {{$var->middleName}} {{$var->lastName}}</td>
<td>{{$var->className}}</td>
<td>{{$var->sectionName}}</td>
<td>
{{$var->paymentMode}}
</td>
<td>{{$var->totalPaid}} </td>
<td>
<a href="{{url('student/canteen-receipts/'.$var->idTransaction)}}" target="_blank" class="btn btn-sm btn-info">Print Receipt</a>
</td>
</tr>
<?php $i++; ?>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
@stop
Copyright © 2021 -