Viewing file: e02a6b2e225e8549e655c9f50d968b87.php (5.49 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('customer.work_flow')); ?> <?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.work_flow')); ?></h2> <div class="float-right"> <button class="btn btn-primary new_responder" type="button"> <?php echo app('translator')->get('admin.form.button.new'); ?> </button> </div> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="plans" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo e(trans('customer.name')); ?></th> <th><?php echo app('translator')->get('admin.table.status'); ?></th> <th><?php echo app('translator')->get('admin.table.created_at'); ?></th> <th><?php echo app('translator')->get('admin.table.action'); ?></th> </tr> </thead>
</table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content -->
<div class="modal fade" id="new_responder" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <form method="post" action="<?php echo e(route('customer.work_flow.store')); ?>"> <?php echo csrf_field(); ?>
<div class="modal-header"> <h5 class="modal-title">New Work Flow</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="node-settings"> <?php echo csrf_field(); ?> <div class="form-group"> <label class="mt-2" for=""><?php echo e(trans('Enter Work Flow Name')); ?></label> <input type="text" placeholder="<?php echo e(trans('Enter Name')); ?>" name="name" class="form-control"> </div>
<div class="form-group"> <label for=""><?php echo e(trans('Status')); ?></label> <select name="status" class="form-control"> <option value="active"><?php echo e(trans('Active')); ?></option> <option value="inactive"><?php echo e(trans('Inactive')); ?></option> </select> </div>
</div>
</div> <div class="modal-footer"> <button type="submit" class="btn btn-primary">Save</button> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </form> </div> </div> </div> <?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"; $('#plans').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('customer.get.all.work.flow')); ?>', columns: [ { "data": "name" }, { "data": "status" }, { "data": "created_at" }, { "data": "action" }, ] });
$(document).on('click', '.new_responder', function(e){
$('#new_responder').modal('show'); }) </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.sms.picotech.app/public_html/resources/views/customer/work_flow/index.blade.php ENDPATH**/ ?>
|