
<?php $__env->startSection('content'); ?>
  <?php $success = false; ?>
    <?php if(\Session::has('error')): ?>
        <div class="alert alert-danger">
            <?php echo \Session::get('error'); ?>

        </div>
    <?php endif; ?>
    <?php if(\Session::has('success')): ?>
    <?php $success = true; ?> 
        <div class="alert alert-success">
            <?php echo \Session::get('success'); ?>

        </div>
    <?php endif; ?>
<div class="page-content fade-in-up">
    <div class="ibox">
        <div class="ibox-body">
            <h5 class="font-strong mb-4"><?php echo e(__('Pending Question Listing')); ?></h5>
              
                <table
                    class="table table-bordered table-hover" 
                    id="questions" 
                    data-source = "<?php echo e(route('pending_questions_ajax')); ?>"
                    data-cols = ",,,,"
                    data-search = "false"
                    >
                    <thead class="thead-default thead-lg">
                         <tr>
                            <th width="15%">Surgeon</th>
                            <th width="15%">Chief Complain</th>
                            <th width="15%">Category</th>
                            <th width="20%">Title</th>
                            <th width="30%">Response</th>
                        </tr>
                    </thead>
                </table>
        </div>
    </div>
</div>

    <!-- END PAGE CONTENT-->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<script>
    DataTable.initDataTable('#questions');
    $('.button-search').click(function()
    {   
        DataTable.reDraw(); 
    });

</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('physician.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>