KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/leadai/leadai.co.in/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/leadai/leadai.co.in/storage/framework/views/a8d8e61a254fa01173ffd35a205fa5757e6f650e.php
<?php $__env->startSection('content'); ?>
    <!-- begin::main content -->
    <main class="main-content">
        <div class="container">
            <!-- begin::page header -->
            <div class="page-header">
                <h3 class="text-capitalize"><?php echo e($pagetitle); ?></h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="<?php echo e(asset('dashboard')); ?>"><?php echo e(__('message.dashboard')); ?></a></li>
                        <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('message.list')); ?></li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->
            <?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>
            <?php if($errors->any()): ?>
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php echo e($error); ?>

                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
            <div class="card">
                <div class="card-header">
                    <form method="get" action="<?php echo e(asset('enquiries')); ?>">
                        <div class="row">
                            <div class="col-md-2">
                                <select class="form-control select2" id="entry" name="entry">
                                    <option value="" disabled selected>25</option>
                                    <option value="50" <?php
                                    if (isset($_GET['entry'])) {
                                        if ($_GET['entry'] == '50') {
                                            echo 'selected';
                                        }
                                    }
                                    ?>>50</option>
                                    <option value="100" <?php
                                    if (isset($_GET['entry'])) {
                                        if ($_GET['entry'] == '100') {
                                            echo 'selected';
                                        }
                                    }
                                    ?>>100</option>
                                    <option value="1000" <?php
                                    if (isset($_GET['entry'])) {
                                        if ($_GET['entry'] == '1000') {
                                            echo 'selected';
                                        }
                                    }
                                    ?>>1000</option>
                                    <option value="5000" <?php
                                    if (isset($_GET['entry'])) {
                                        if ($_GET['entry'] == '5000') {
                                            echo 'selected';
                                        }
                                    }
                                    ?>>5000</option>
                                </select>
                            </div>
                            <div class="col-md-2">
                                <select class="form-control select2" name="type" id="type">
                                    <option value="">--search-type--</option>
                                    <option value="father">Father</option>
                                    <option value="mother">Mother</option>
                                    <option value="guardian">Guardian</option>
                                    <option value="email">Parent Email</option>
                                    <option value="phone">Parent Phone</option>
                                </select>
                            </div>
                            <div class="col-md-4">
                                <input type="text" id="search" name="search" class="form-control"
                                    value="<?php echo e(Request::has('search') ? Request::get('search') : ''); ?>"
                                    placeholder="Search by Type...">
                            </div>
                            <div class="col-md-4">
                                
                                <button type="submit" class="btn btn-success">
                                    <i class="fa fa-search"></i></button>
                                
                                <a href="<?php echo e(asset('parents')); ?>" class="btn btn-primary text-white"><i
                                        class="fa fa-recycle fa-lg"></i></a>
                                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-enquiry')){ ?>
                                
                                <a href="<?php echo e(route('enquiry.add')); ?>" class="btn btn-info text-white"> <i
                                        class="fa fa-plus fa-lg"></i></a>
                                <?php } ?>

                                
                                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('delete-enquiry')){ ?>
                                <a href="javascript:;" data-link="<?php echo e(asset('enquiry/delete-all')); ?>"
                                    class="btn btn-danger text-white pull-right delete-multiple"> <i
                                        class="fa fa-trash-o fa-lg"></i></a>
                                <?php } ?>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="card-body">
                    <?php if(isset($enquiries)): ?>
                        <div class="table-responsive">
                            <table id="students" class="table table-striped table-bordered">
                                <thead class="text-capitalize">
                                    <tr>
                                        <th>
                                            <input type="checkbox" class="checkAll" id="checkAll">
                                        </th>
                                        <th>#ID</th>
                                        <th>Date</th>
                                        <th>Student</th>
                                        <th><?php echo e(__('message.class')); ?></th>
                                        <th><?php echo e(__('message.email')); ?></th>
                                        <th><?php echo e(__('message.phone')); ?></th>
                                        <th><?php echo e(__('message.gender')); ?></th>
                                        <th><?php echo e(__('message.dob')); ?></th>
                                        <th><?php echo e(__('message.action')); ?></th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php if(!empty($enquiries)): ?>
                                        <?php $__currentLoopData = $enquiries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $enquir): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td>
                                                    <input class="multiple_ids" type="checkbox" value="<?php echo e($enquir->id); ?>"
                                                        name="multiple_ids[]">
                                                </td>
                                                <td>
                                                    <span><?php echo e($enquir->id); ?></span>
                                                </td>
                                                <td>
                                                    <span><?php echo e(date('d-m-Y', strtotime($enquir->reg_date))); ?></span>
                                                </td>
                                                <td>
                                                    <span><?php echo e($enquir->student_name); ?></span>
                                                </td>
                                                <td>
                                                    <span class="badge badge-info mr-1"><?php echo e($enquir->class); ?></span>
                                                    <span class="badge badge-secondary"><?php echo e($enquir->section); ?></span>
                                                </td>
                                                <td>
                                                    <span><?php echo e($enquir->email); ?></span>
                                                </td>
                                                <td>
                                                    <span><?php echo e($enquir->phone); ?></span>
                                                </td>
                                                <td>
                                                    <span><?php echo e($enquir->gender); ?></span>
                                                </td>
                                                <td>
                                                    <span><?php echo e($enquir->dob); ?></span>
                                                </td>
                                                <td>
                                                    
                                                    <div class="dropdown">
                                                        <button class="btn btn-sm btn-dark dropdown-toggle" type="button"
                                                            data-toggle="dropdown">
                                                            Action
                                                        </button>
                                                        <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-enquiry')){ ?>
                                                            <a class="dropdown-item"
                                                                href="<?php echo e(route('enquiry.show', $enquir->id)); ?>">View</a>
                                                            <?php } ?>
                                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-enquiry')){ ?>
                                                            <a class="dropdown-item"
                                                                href="<?php echo e(route('enquiry.edit', $enquir->id)); ?>">Edit</a>
                                                            <?php } ?>
                                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('delete-enquiry')){ ?>
                                                            <a class="dropdown-item delete-confirm"
                                                                link="<?php echo e(route('enquiry.destroy', $enquir->id)); ?>"
                                                                href="javascript:;">Delete</a>
                                                            <?php } ?>
                                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-enquiry')){ ?>
                                                            <a class="dropdown-item"
                                                                href="<?php echo e(route('enquiry.makeEnquiryadmission', $enquir->id)); ?>">Admission</a>
                                                            <?php } ?>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php else: ?>
                                        <h1>No Record Found!!</h1>
                                    <?php endif; ?>
                                </tbody>
                            </table>
                        </div>
                        
                        <div class="pagination-block">
                            <?php echo e($enquiries->appends(request()->query())->links('includes.paginationlinks')); ?>

                            <label>Showing total <?php echo $enquiries->total(); ?> results</label>
                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </main>
    <!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/jquery.dataTables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/dataTables.bootstrap4.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/dataTables.responsive.min.js')); ?>"></script>
    <script>
        // Get Section
        $("#class").on('change', function() {
            var URL = "<?php echo e(asset('admission/get-section/')); ?>" + "/" + $(this).val();
            $.ajax({
                type: "GET",
                url: URL,
                dataType: "JSON",
                success: function(data) {
                    $("#section").empty();
                    $("#section").select2({
                        data: data
                    });
                    $("#section").val("<?php echo e(Request::get('section')); ?>").trigger('change');
                }
            });
        });
    </script>
    <?php if(!empty(Request::get('type'))): ?>
        <script>
            $("#type").val("<?php echo e(Request::get('type')); ?>").trigger('change');
        </script>
    <?php endif; ?>
    <!-- end::dataTable -->
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\xampp\htdocs\school_saas_erp\resources\views/enquiry/list.blade.php ENDPATH**/ ?>

Anon7 - 2021