|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/leadai/leadai.co.in/storage/framework/views/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Distributor License Report</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
margin: 20px;
}
.table thead th {
background-color: #007bff;
color: #fff;
font-size:11px;
}
.table td{
font-size:10px;
}
.table tfoot th {
background-color: #f8f9fa;
}
#header-box{
position:relative;
}
#header-box img{
position:absolute;
top:-60px;
left:0px;
opacity:0.8;
}
</style>
</head>
<body>
<div class="container-fluid" style="width:100%">
<div id="header-box">
<img src="<?php echo e(asset('public/logo.png')); ?>" width="160" alt="logo" />
</div>
<h3 class="text-center">Distributor Commission Report</h3>
<div class="line"></div>
<div class="mb-3">
<p class="text-capitalize py-0"> <strong>Distributor : <?php echo e($distributor->name); ?></strong></p>
<p class="py-0"> Date : <span id="report-date">
<?php
$date = date('d-m-Y H:i:s');
echo $date;
?>
</span></p>
</div>
<div class="row">
<div class="col-md-12">
<table class="table table-bordered" >
<thead style="background-color:#E9EEF1">
<tr>
<th>S.No</th>
<th>Created</th>
<th>Order Id</th>
<th>Commision (INR)</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<?php $total = 0; ?>
<?php if(isset($commission)): ?>
<?php $__currentLoopData = $commission; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e(++$key); ?></td>
<td><?php echo e($value->created_at); ?></td>
<td><?php echo e($value->order_id); ?></td>
<td><?php echo e($value->commission); ?></td>
<td><?php echo e($value->amount); ?></td>
</tr>
<?php $total += $value->amount; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
<tfoot>
<tr>
<th colspan="3" class="text-end">Total Amount:</th>
<th colspan="2"><?php echo "INR ".$total; ?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
<script>
// Auto-fill the current date in the report
</script>
</body>
</html>
<?php /**PATH F:\xampp\htdocs\licence_panel\resources\views/pdf/distributor/commission.blade.php ENDPATH**/ ?>