Viewing file: ee4e0e5d71b867eacc37876b587d0ae9c56732db.php (4.81 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Contacts <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo app('translator')->get('customer.list'); ?></h2> <div class="float-right"> <a class="btn btn-primary" href="<?php echo e(route('customer.contacts.create')); ?>"><?php echo app('translator')->get('customer.new'); ?></i></a> <a class="btn btn-info" href="<?php echo e(route('customer.contact.import.contacts')); ?>"><?php echo app('translator')->get('customer.import'); ?></a> </div> </div> <!-- /.card-header -->
<div class="card-body table-body"> <table id="contacts" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('customer.number'); ?></th> <th><?php echo app('translator')->get('Group'); ?></th> <th><?php echo app('translator')->get('customer.name'); ?></th> <th><?php echo app('translator')->get('customer.email'); ?></th> <th><?php echo app('translator')->get('customer.address'); ?></th> <th><?php echo app('translator')->get('customer.city'); ?></th> <th><?php echo app('translator')->get('customer.state'); ?></th> <th><?php echo app('translator')->get('customer.zip_code'); ?></th> <th><?php echo app('translator')->get('customer.company'); ?></th> <th><?php echo app('translator')->get('customer.note'); ?></th> <th><?php echo app('translator')->get('customer.action'); ?></th> </tr> </thead>
</table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script>
<script type="text/javascript"> $(document).ready(function(){ var contacts = $('#contacts').DataTable({ "language": { "search": "", "searchPlaceholder": "Search...", }, "initComplete": function() { $('.dataTables_filter input[type="search"]').attr('id', 'searchInput'); }, processing: true, serverSide: true, ajax: { url:"<?php echo e(route('customer.contact.get.all')); ?>", data: function(data){ data.searchInput = $('#searchInput').val(); } }, columns: [ { "data": "number" }, { "data": "group" }, { "data": "full_name" }, { "data": "email" }, { "data": "address" }, { "data": "city" }, { "data": "state" }, { "data": "zip_code" }, { "data": "company" }, { "data": "note" }, { "data": "action" }, ] });
$('#searchInput').keyup(function(){ contacts.draw(); });
}); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/test.gateway.picotech.app/public_html/resources/views/customer/contacts/index.blade.php ENDPATH**/ ?>
|