|
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;
}
</style>
</head>
<body>
<div class="container-fluid" style="width:100%">
<div class="header-box d-flex justify-content-center">
<img src="<?php echo e(asset('public/logo.png')); ?>" width="180" alt="logo" />
</div>
<h3 class="text-center">Distributor/Dealer License Report</h3>
<div class="line"></div>
<div class="mb-3">
<p class="text-capitalize py-0"> <strong>Distributor : <?php echo e($licence->distributor_details ? $licence->distributor_details->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>License Key</th>
<th>Created Date</th>
<th>Activation Date</th>
<th>Duration(In Days)</th>
<th>Created</th>
<th>Price (INR)</th>
<th>Discount</th>
<th>GST</th>
<th>Total Price</th>
</tr>
</thead>
<tbody>
<?php $total = 0; ?>
<tr>
<td>1</td>
<td><?php echo e($licence->licence_details ? $licence->licence_details->licence_key : ''); ?></td>
<td><?php echo e($licence->licence_details ? $licence->licence_details->created_date : ''); ?></td>
<td><?php echo e($licence->licence_details ? $licence->licence_details->activation_date : ''); ?></td>
<td><?php echo e($licence->licence_details ? $licence->licence_details->duration : ''); ?></td>
<td><?php echo e($licence->licence_details ? $licence->licence_details->created_at : ''); ?></td>
<td>
<?php if(isset($licence->licence_details)): ?>
<?php if($licence->licence_details->currency == 'rupee'): ?>
<?php echo e($licence->licence_details ? $licence->licence_details->price : ''); ?>
<?php else: ?>
$ <?php echo e($licence->licence_details ? $licence->licence_details->price : ''); ?>
<?php endif; ?>
<?php endif; ?>
</td>
<td>
<?php if(isset($licence->licence_details)): ?>
<?php if($licence->licence_details->discount_type == "percentage"): ?>
<?php echo e($licence->licence_details->discount); ?>%
<?php else: ?>
<?php echo e($licence->licence_details->discount); ?>
<?php endif; ?>
<?php endif; ?>
</td>
<td>18%</td>
<td>
<?php if(isset($licence->licence_details)): ?>
<?php if($licence->licence_details->currency == 'rupee'): ?>
<?php echo e($licence->licence_details ? $licence->licence_details->price : ''); ?>
<?php else: ?>
$ <?php echo e($licence->licence_details ? $licence->licence_details->price : ''); ?>
<?php endif; ?>
<?php endif; ?>
</td>
</tr>
<?php
$price = $licence->licence_details ? $licence->licence_details->price : 0 ;
$total += $price;
?>
</tbody>
<tfoot>
<tr>
<th colspan="9" class="text-end">Total Amount:</th>
<th><?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/licence_report.blade.php ENDPATH**/ ?>