<div class="PurchaseprintBill">
	<style>
		/* Tablet and bigger */
		@media ( min-width: 768px ) {
		.grid-divider {
        position: relative;
        padding: 0;
		}
		.grid-divider>[class*='col-'] {
        position: static;
		}
		.grid-divider>[class*='col-']:nth-child(n+2):before {
        content: "";
        border-left: 1px solid #DDD;
        position: absolute;
        top: 0;
        bottom: 0;
		}
		.col-padding {
        padding: 0 15px;
		}
		}
		.legend {
		
		background: #fff;
		background: rgba(255, 255, 255, 0.8);
		left: 80px;
		top: 20px;
		padding: 20px;
		border: 1px solid;
		}
	</style>
	<script src="assets/js/king-table.js"></script>
	<div class="row">
		<div class="col-md-12">
			<!-- WIDGET TABLE -->
			<div class="widget widget-table">
				<div class="widget-header">
					<h3><i class="fa fa-user"></i> View Report</h3>
				</div>
				<div class="widget-content">
					
					<table id="datatable-data-export" class="table table-sorting table-striped table-hover  datatable">
						<thead>
							<tr>
								<th>Serail No.</th>
								<th>Customer Name </th>
								<th>Tariff</th>
								<th>Receipt type</th>
								<th>Bill no</th>
								<th>Bill date</th>
								<th>Previous balance</th>
								<th>Current Payable</th>
								<th>Receipt Amount</th>
								<th>Previous Reading</th>
								<th>Current Readings</th>
								<th>Transaction Type</th>
								<th>Cheque number</th>
								<th>Cheque date </th>
							</tr>
						</thead>
						<tbody>
							<?php $i=1;?>
							<?php $__currentLoopData = $data['WBAllReport']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $WBAllReport): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<tr>
								<th><?php echo e($i++); ?></th>
								<th><?php echo e($WBAllReport->cst_name); ?> </th>
								<th><?php echo e($WBAllReport->cst_name); ?></th>
								<th><?php echo e($WBAllReport->wtrb_rpttype); ?></th>
								<th><?php echo e($WBAllReport->wtrb_billno); ?></th>
								<th><?php echo e($WBAllReport->wtrb_billdate); ?></th>
								<th><?php echo e($WBAllReport->wtrb_prevbal); ?></th>
								<th><?php echo e($WBAllReport->wtrb_currpayable); ?></th>
								<th><?php echo e($WBAllReport->wtrb_collamt); ?></th>
								<th><?php echo e($WBAllReport->wtrb_prevreading); ?></th>
								<th><?php echo e($WBAllReport->wtrb_currreading); ?></th>
								<th><?php echo e($WBAllReport->wtrb_transtype); ?></th>
								<th><?php echo e($WBAllReport->wtrb_chqno); ?></th>
								<th><?php echo e($WBAllReport->wtrb_chqdt); ?></th>
							</tr>
							<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						</tbody>
					</table>	
				</div>
			</div>
		</div>
	</div>					
</div>					
</div>					
<script>
	$('.clickme').click(function(e)
	{
		e.preventDefault();
		$('#sideMenu').load($(this).attr('href'));
	});
	$(document).ready(function() {
		$('#visit-stat-table1').DataTable( {
			//   "scrollX": true
		} );
	} );
	</script>														