Current File : /home/tradevaly/www/storage/framework/views/746f0ca63baabdd83dcabde93177de673a4aa5fe.php |
<?php $__env->startPush('title','holesale Suppliers, Manufacturers & China Traders and Exporters Premium Directory'); ?>
<?php $__env->startPush('style'); ?>
<link href="<?php echo e(asset('/assets/libs/datatables/datatables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header card-header-info card-header-icon">
<h4 class="card-title">My Product Visitors</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="dat_table">
<thead>
<tr>
<th class="text-center">#</th>
<th>Image</th>
<th>Title</th>
<th>Viewer Email</th>
<th>Total View</th>
<th>Visitor</th>
<th>Time</th>
<th>Analytics </th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script src="<?php echo e(asset('/assets/libs/datatables/datatables.min.js')); ?>"></script>
<script src="<?php echo e(asset('/assets/libs/jszip/jszip.min.js')); ?>"></script>
<script src="<?php echo e(asset('/assets/libs/pdfmake/pdfmake.min.js')); ?>"></script>
<script>
$(function () {
$(document).ready(function () {
let url = "<?php echo e(route('admin.product.viewHistory')); ?>";
var table = $('.dat_table').DataTable({
lengthChange: false,
processing: true,
serverSide: true,
dom: 'Bfrtip',
ajax: url,
columns: [
{data: 'DT_RowIndex', name: 'DT_RowIndex'},
{data: 'image', name: 'image'},
{data: 'title', name: 'title'},
{data: 'email', name: 'email'},
{data: 'total_view', name: 'total_view'},
{data: 'visitor', name: 'visitor'},
{data: 'time', name: 'time'},
{data: 'action', name: 'action'},
],
buttons: ['copy', 'excel', 'pdf', 'colvis'],
});
table.buttons().container().appendTo('#datatable-buttons_wrapper .col-md-6:eq(0)');
$(".dataTables_length select").addClass('form-select form-select-sm');
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.ayaan.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/backend/pages/product/view_history.blade.php ENDPATH**/ ?>