Viewing file: 374f9d46ab4d13bfcd4ddf19b7894b4b36b03872.php (5.39 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('customer.ticket.ticket')); ?> <?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"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo e(trans('customer.ticket.ticket')); ?></h2> <div class="float-right"> <button type="button" class="btn btn-outline-primary mb-2" data-toggle="modal" data-target="#basicModal"><?php echo e(trans('customer.ticket.new_ticket')); ?>
</button> </div> </div> <!-- /.card-header --> <div class="card-body"> <table id="plans" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo e(trans('customer.ticket.subject')); ?></th> <th><?php echo e(trans('customer.ticket.description')); ?></th> <th><?php echo e(trans('customer.ticket.status')); ?></th> <th><?php echo e(trans('customer.ticket.action')); ?></th> </tr> </thead>
</table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <div class="modal fade show" id="basicModal" aria-modal="true" style="padding-right: 17px; display: none;"> <div class="modal-dialog" role="document"> <form action="<?php echo e(route('customer.ticket.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Create New Ticket</h5> <button type="button" class="close" data-dismiss="modal"><span>×</span> </button> </div> <div class="modal-body"> <div class="form-group"> <label for="">Subject</label> <input type="text" class="form-control" name="subject" placeholder="Enter Subject"> </div> <div class="form-group"> <label for="">Upload Document</label> <input type="file" class="form-control p-1" name="document"> </div>
<div class="form-group"> <label for="">Description</label> <textarea name="description" class="form-control" id="" cols="7" rows="7"></textarea> </div>
</div> <div class="modal-footer"> <button type="button" class="btn btn-danger light" data-dismiss="modal">Close</button> <button type="submit" class="btn btn-primary">Submit</button> </div> </div> </form> </div> </div>
<!-- /.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 src="<?php echo e(asset('js/readmore.min.js')); ?>"></script> <script> "use strict"; $('#plans').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('customer.ticket.get.all')); ?>', columns: [ { "data": "subject" }, { "data": "description" }, { "data": "status" }, { "data": "action" }, ], fnInitComplete: function(oSettings, json) { $(".show-more").css('overflow', 'hidden').readmore({collapsedHeight: 20,moreLink: '<a href="#">More</a>',lessLink: '<a href="#">Less</a>'}); } }); </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/smm.picotech.app/public_html/resources/views/customer/ticket/index.blade.php ENDPATH**/ ?>
|