Viewing file: 696b88a06ff75209e89551bffe3f6bd8.php (3.45 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Campaign <?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.campaign_list'); ?></h2> <div class="float-right"> <a href="<?php echo e(route('customer.campaign.report')); ?>" class="btn btn-primary text-front-normal" target="_blank">Reports</a> <a class="btn btn-primary text-front-normal" href="<?php echo e(route('customer.campaign.create')); ?>"><?php echo app('translator')->get('customer.new'); ?></i></a> </div> </div> <!-- /.card-header --> <div class="card-body"> <table id="contacts" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('customer.title'); ?></th> <th><?php echo app('translator')->get('customer.started_at'); ?></th> <th><?php echo app('translator')->get('customer.status'); ?></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> "use strict"; $('#contacts').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('customer.get.campaings')); ?>', columns: [ { "data": "title","name":"campaigns.title" }, { "data": "started_at" }, { "data": "status" }, { "data": "action" }, ] }); </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/sender.picotech.app/public_html/resources/views/customer/campaign/index.blade.php ENDPATH**/ ?>
|