IMMREX7
<?php $__env->startSection('content'); ?>
<div class="row clearfix">
<div class="col-sm-12">
<div class="card">
<div class="header">
<h2><strong>Daywise Collection Report </strong></h2>
</div>
<div class="body">
<?php echo Form::open(['method' => 'GET', 'action' => ['School\NorthTransactionReportController@daywiseFeeCollection'], 'class' => 'form-horizontal']); ?>
<div class="row clearfix">
<div class="col-sm-2"></div>
<div class="col-sm-2 form-control-label">
<label for="classname">Select Date</label>
</div>
<div class="col-sm-3">
<div class="form-group">
<?php echo Form::text('date',null,['class' => 'form-control dateselector']); ?>
</div>
</div>
<div class="col-sm-2">
<?php echo Form::submit('SHOW',['class' => 'btn btn-raised btn-primary btn-round waves-effect']); ?>
</div>
</div>
<?php echo Form::close(); ?>
</div>
<div class="body table-responsive">
<table class="table table-bordered table-striped table-hover js-exportable dataTable">
<thead>
<tr>
<th>Receipt No</th>
<th>Date</th>
<th>Ec No.</th>
<th>Name</th>
<th>Class</th>
<th>Section</th>
<!--<th>Total Fee</th>-->
<th>Total Discount</th>
<th>Total Fine</th>
<th>Total Paid</th>
<!--<th>Balance</th>-->
<th>Payment Mode</th>
</tr>
</thead>
<tbody>
<?php $grandtotal = 0; $discount_total = 0; $fine_total = 0;?>
<?php $__currentLoopData = $fulltransaction; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $det): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($det->receiptNo); ?></td>
<td><?php echo e($det->paymentDate); ?></td>
<td><?php echo e($det->ecNo); ?></td>
<td><?php echo e($det->firstName); ?> <?php echo e($det->middleName); ?> <?php echo e($det->lastName); ?></td>
<td><?php echo e($det->className); ?></td>
<td><?php echo e($det->sectionName); ?></td>
<!--<td></td>-->
<td>
<?php echo e($det->discountTotal); ?>
<?php $discount_total = $discount_total + $det->discountTotal;?>
</td>
<td>
<?php echo e($det->fineTotal); ?>
<?php $fine_total = $fine_total + $det->fineTotal;?>
</td>
<td>
<?php echo e($det->totalpaid); ?>
<?php $grandtotal = $grandtotal + $det->totalpaid;?>
</td>
<td><?php echo e($det->paymentMode); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
<tfoot>
<tr>
<th colspan="6" style="text-align: center;">Grand Total : </th>
<th><?php echo e($discount_total); ?></th>
<th><?php echo e($fine_total); ?></th>
<th><?php echo e($grandtotal); ?></th>
<th></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script>
$('.dateselector').datepicker({
autoclose: true,
autoWidth: false,
format: 'dd-mm-yyyy',
endDate: '+0d',
orientation: 'auto'
});
$('#tableexp').DataTable({
dom: 'Bfrtip',
scrollY: "500px",
scrollX: true,
scrollCollapse: true,
fixedColumns: {
left: 1
},
lengthMenu: [[25,50,100,-1], [25,50,100, "All"]],
buttons: [
{
extend: 'pdfHtml5',
orientation: 'landscape',
pageSize: 'LEGAL',
title: '<?php echo e($school->schoolName); ?>',
footer: true
},
{ extend: 'excelHtml5', footer: true , title: '<?php echo e($school->schoolName); ?>'},
]
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('schools.school_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Copyright © 2021 -