<?php $__env->startSection('css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!--app-content open-->
<div class="app-content">
    <section class="section">
        <!--page-header open-->
        <div class="page-header">
            <ol class="breadcrumb">
                <!-- breadcrumb -->
                <li class="breadcrumb-item"><a href="#"><i class="fe fe-home mr-2"></i>Home</a></li>
                <li class="breadcrumb-item active" aria-current="page">Dashboard </li>
            </ol>
            <!-- End breadcrumb -->
            <?php echo $__env->make('admin.layout.notifications', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
        <!--page-header closed-->
        <div class="container-fluid">
            <div class="card">
                <div class="card-header d-flex justify-content-between">
                    <h4>Student Enquiries</h4>

                    <a href="<?php echo e(route('admin.student.enquiries.export')); ?>" class="btn btn-success px-2" style="width:auto;">
                        Export Excel
                    </a>

                </div>

                <div class="card-body overflow-auto">
                    <table class="table table-bordered" id="enquiryTable">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Course</th>
                                <th>Name</th>
                                <th>Email</th>
                                <th>Phone</th>
                                <th>IP</th>
                                <th>Date</th>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>

    </section>
</div>
<!--app-content closed-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('custom-script'); ?>
    <script>
        $(document).ready(function () {

            $('#enquiryTable').DataTable({

                processing: true,
                serverSide: false,

                ajax: "<?php echo e(route('admin.student.enquiries.data')); ?>",

                columns: [
                    { data: 'id' },
                    { data: 'target_college' },
                    { data: 'name' },
                    { data: 'email' },
                    { data: 'phone' },
                    { data: 'ip_address' },
                    { data: 'created' }
                ]

            });

        });
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/zscjvtio/studysparrow.com/resources/views/admin/student_enquiries/index.blade.php ENDPATH**/ ?>