Current File : //home/tradevaly/www/storage/framework/views/d7f443f2b85f295ee90f1258df2e8cea824d25dd.php |
<?php $__env->startPush('title'); ?> Users List <?php $__env->stopPush(); ?>
<?php $__env->startSection('css'); ?>
<!-- DataTables -->
<link href="<?php echo e(asset('/assets/libs/datatables/datatables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<?php $__env->startComponent('components.breadcrumb'); ?>
<?php $__env->slot('li_1'); ?> Dashboards <?php $__env->endSlot(); ?>
<?php $__env->slot('title'); ?> Users List <?php $__env->endSlot(); ?>
<?php echo $__env->renderComponent(); ?>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header py-4" style="text-align:right"><a class="btn btn-primary" href="<?php echo e(route("admin.addUser")); ?>">Add User</a></div>
<div class="card-body">
<div class="table-responsive">
<table class="table dt-table">
<thead>
<tr>
<th class="text-center">#</th>
<th><?php echo e(translate("Name")); ?></th>
<th><?php echo e(translate("Company")); ?></th>
<th><?php echo e(translate("Phone")); ?></th>
<th><?php echo e(translate("Email")); ?></th>
<th><?php echo e(translate("Package")); ?></th>
<th><?php echo e(translate("Type")); ?></th>
<th><?php echo e(translate("Action")); ?></th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<!-- Required datatable js -->
<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>
<!-- Datatable init js -->
<script type="text/javascript">
$(function () {
$(document).ready(function () {
var table = $('.dt-table').DataTable({
lengthChange: false,
processing: true,
dom: 'Bfrtip',
serverSide: true,
ajax: "<?php echo e(route('admin.trash.users.index')); ?>",
columns: [
{data: 'DT_RowIndex', name: 'DT_RowIndex'},
{data: 'name', name: 'name'},
{data: 'company', name: 'company'},
{data: 'phone', name: 'phone'},
{data: 'email', name: 'email'},
{data: 'pack', name: 'pack'},
{data: 'type', name: 'type'},
{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/users/trash_index.blade.php ENDPATH**/ ?>