Viewing file: 40dd027d0f6ff2ebe75b602c6c7cdde6.php (5.27 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Block 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.block_contacts'); ?></h2> <div class="float-right"> <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('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.action'); ?></th> </tr> </thead> <tbody> <?php if($contacts): ?> <?php $__currentLoopData = $contacts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $contact): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($contact->number); ?></td> <td><?php echo e($contact->full_name); ?></td> <td><?php echo e($contact->email); ?></td> <td><?php echo e($contact->address); ?></td> <td><?php echo e($contact->city); ?></td> <td><?php echo e($contact->state); ?></td> <td><?php echo e($contact->zip_code); ?></td> <td><?php echo e($contact->company); ?></td> <td> <a href="<?php echo e(route('customer.contact.block.number',[$contact->id,'block'=>'no'])); ?>" class="btn btn-sm btn-info"> <i class="fa fa-undo"></i></a> <div id="type_of_block"></div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?> </tbody> </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> const urlParams = new URLSearchParams(window.location.search); const type = urlParams.get('type'); let html =''; html=` <input type="hidden" value="${type}" name="type" class="type"> ` $('#type_of_block').append(html); </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/sms.picotech.app/public_html/resources/views/customer/contacts/blockcontacts.blade.php ENDPATH**/ ?>
|