<?php
    $title = translate('Do you want to move to Trash');
    $text = translate('If You trash,Student and Student related all data will be trashed.');

?>


<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?>
<?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('title', null, []); ?>  <?php echo e(translate('Manage Student')); ?>  <?php $__env->endSlot(); ?>
    <!-- Page Breadcrumb -->
    <?php if (isset($component)) { $__componentOriginalcf27f2c2c873893339708d5fdeeb6984 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.breadcrumb','data' => ['title' => 'All Student','pageTo' => 'Student','actionRoute' => ''.e(route('student.create')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.breadcrumb'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'All Student','page-to' => 'Student','action-route' => ''.e(route('student.create')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $attributes = $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984)): ?>
<?php $component = $__componentOriginalcf27f2c2c873893339708d5fdeeb6984; ?>
<?php unset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984); ?>
<?php endif; ?>


    <div class="card">
        <div class="grid grid-cols-12 gap-4">
            <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['title' => 'Total Student','value' => ''.e($reports['total_users']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.course-overview-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Total Student','value' => ''.e($reports['total_users']).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'success','title' => 'Active Student','value' => ''.e($reports['total_active']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.course-overview-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['color-type' => 'success','title' => 'Active Student','value' => ''.e($reports['total_active']).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'danger','title' => 'Deactivate Student','value' => ''.e($reports['total_inactive']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.course-overview-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['color-type' => 'danger','title' => 'Deactivate Student','value' => ''.e($reports['total_inactive']).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'primary','title' => 'Verified','value' => ''.e($reports['total_verified']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.course-overview-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['color-type' => 'primary','title' => 'Verified','value' => ''.e($reports['total_verified']).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.course-overview-card','data' => ['colorType' => 'danger','title' => 'Unverified','value' => ''.e($reports['total_unverified']).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.course-overview-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['color-type' => 'danger','title' => 'Unverified','value' => ''.e($reports['total_unverified']).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $attributes = $__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__attributesOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664)): ?>
<?php $component = $__componentOriginalf71c875fb7323a7f8d9f1abd403e0664; ?>
<?php unset($__componentOriginalf71c875fb7323a7f8d9f1abd403e0664); ?>
<?php endif; ?>
        </div>
    </div>
    <div class="card">
        <form method="get">
            <div class="grid grid-cols-4 gap-4">
                <div class="col-span-full md:col-span-2 lg:col-auto">
                    <input type="text" class="form-input" placeholder="<?php echo e(translate('Search name')); ?>" name="name_search" autocomplete="off" value="<?php echo e(Request()->name_search ?? ''); ?>">
                </div>
                <div class="col-span-full md:col-span-2 lg:col-auto">
                    <select class="singleSelect" name="status">
                        <?php
                            $status = Request()->status ?? '';
                        ?>
                        <option value="all" <?php echo e($status == 'all' ? 'selected' : ''); ?>><?php echo e(translate('All')); ?></option>
                        <option value="active" <?php echo e($status == 'active' ? 'selected' : ''); ?>><?php echo e(translate('Active')); ?>

                        </option>
                        <option value="inactive" <?php echo e($status == 'inactive' ? 'selected' : ''); ?>>
                            <?php echo e(translate('Inactive')); ?></option>
                    </select>
                </div>
                <div class="col-span-full md:col-span-2 lg:col-auto">
                    <select class="singleSelect" name="verify">
                        <?php
                            $verify = Request()->verify ?? '';
                        ?>
                        <option value="all" <?php echo e($verify == 'all' ? 'selected' : ''); ?>><?php echo e(translate('All')); ?></option>
                        <option value="verified" <?php echo e($verify == 'verified' ? 'selected' : ''); ?>><?php echo e(translate('Verified')); ?></option>
                        <option value="unverified" <?php echo e($verify == 'unverified' ? 'selected' : ''); ?>><?php echo e(translate('Un Verified')); ?></option>
                    </select>
                </div>
                <div class="col-span-full md:col-span-2 lg:col-auto">
                    <div class="flex items-end">
                        <button class="btn b-solid btn-info-solid mr-3"><?php echo e(translate('Filter')); ?></button>
                        <a href="<?php echo e(route('student.index')); ?>" class="btn b-solid btn-info-solid">
                            <?php echo e(translate('Refresh')); ?>

                        </a>
                    </div>
                </div>
            </div>
        </form>
    </div>

    <div class="flex items-center gap-2 pb-5 mb-5 border-b border-gray-200 dark:border-dark-border">
        <a href="<?php echo e(route('student.index', ['filter' => 'all'])); ?>"
            class="badge badge-primary-outline b-outline group/b-counter is-hover-active rounded-full dk-theme-card-square <?php echo e(get_active_filter_tab() === 'all' ? 'active' : ''); ?>"><?php echo e(translate('All')); ?>

            <span class="badge-counter rounded-full dk-theme-card-square"><?php echo e($countData['total'] ?? 0); ?></span>
        </a></a>
        <a href="<?php echo e(route('student.index')); ?>"
            class="badge badge-primary-outline b-outline group/b-counter is-hover-active rounded-full dk-theme-card-square <?php echo e(get_active_filter_tab() === 'published' ? 'active' : ''); ?>">
            <?php echo e(translate('Published')); ?>

            <span class="badge-counter rounded-full dk-theme-card-square"><?php echo e($countData['published'] ?? 0); ?></span></a>
        <a href="<?php echo e(route('student.index', ['filter' => 'trash'])); ?>"
            class="badge badge-primary-outline b-outline group/b-counter is-hover-active rounded-full dk-theme-card-square <?php echo e(get_active_filter_tab() === 'trash' ? 'active' : ''); ?>">
            <?php echo e(translate('Trash')); ?>

            <span class="badge-counter rounded-full dk-theme-card-square"><?php echo e($countData['trashed'] ?? 0); ?></span>
        </a>
    </div>
    <?php if($students->count() > 0): ?>
        <div class="card">
            <div class="overflow-x-auto scrollbar-table">
                <table
                    class="table-auto border-collapse w-full whitespace-nowrap text-left text-gray-500 dark:text-dark-text">
                    <thead>

                        <tr class="text-primary-500">
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right">
                                <?php echo e(translate('Profile')); ?>

                            </th>
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right">
                                <?php echo e(translate('Email')); ?>

                            </th>
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right">
                                <?php echo e(translate('Phone')); ?>

                            </th>
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right">
                                <?php echo e(translate('Enrolled Course')); ?>

                            </th>
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right">
                                <?php echo e(translate('Email Verify')); ?>

                            </th>
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right">
                                <?php echo e(translate('Status')); ?>

                            </th>
                            <th
                                class="px-3.5 py-4 bg-[#F2F4F9] dark:bg-dark-card-two first:rounded-l-lg last:rounded-r-lg first:dk-theme-card-square-left last:dk-theme-card-square-right w-10">
                                <?php echo e(translate('Action')); ?>

                            </th>
                        </tr>

                    </thead>
                    <tbody class="divide-y divide-gray-200 dark:divide-dark-border-three">
                        <?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php
                                $userInfo = $student?->userable ?? null;
                                $userableTranslations = [];
                                $designationTranslations = [];
                                
                                if ($userInfo) {
                                    $userableTranslations = parse_translation($userInfo);
                                }
                                
                                $firstName = $userableTranslations['first_name'] ?? $userInfo?->first_name ?? '';
                                $lastName = $userableTranslations['last_name'] ?? $userInfo?->last_name ?? '';

                                $profileImg =
                                    $userInfo && fileExists('lms/students', $userInfo?->profile_img) == true
                                        ? asset("storage/lms/students/{$userInfo?->profile_img}")
                                        : asset('lms/assets/images/placeholder/profile.jpg');
                            ?>
                            <tr>
                                <td class="px-4 py-4">
                                    <div class="flex items-center gap-3.5">
                                        <a href="#"
                                            class="size-12 rounded-50 overflow-hidden dk-theme-card-square">
                                            <img src="<?php echo e($profileImg); ?>" alt="student"
                                                class="size-full object-cover">
                                        </a>
                                        <div>
                                            <h6
                                                class="leading-none text-heading dark:text-white font-semibold capitalize">
                                                <a href="#">
                                                    <?php echo e($firstName . ' ' . $lastName); ?>

                                                </a>
                                            </h6>
                                        </div>
                                    </div>
                                </td>
                                <td class="px-4 py-4"><?php echo e($student?->email); ?></td>
                                <td class="px-4 py-4"><?php echo e($userInfo?->phone); ?></td>
                                <td class="px-4 py-4"><?php echo e($student?->enrollments?->count()); ?></td>
                                <td class="px-4 py-4">
                                    <label class="inline-flex items-center me-5 cursor-pointer">
                                        <input type="checkbox" class="appearance-none peer status-change" name="status"
                                            <?php echo e($student?->is_verify == 1 ? 'checked' : ''); ?>

                                            data-action="<?php echo e(route('student.verify.email', $student?->id)); ?>">
                                        <span class="switcher switcher-primary-solid"></span>
                                    </label>
                                </td>
                                <td class="px-4 py-4">
                                    <?php
                                        if ($userInfo?->id) {
                                            $action = route('student.status', $userInfo?->id);
                                        }
                                    ?>
                                    <label class="inline-flex items-center me-5 cursor-pointer">
                                        <input type="checkbox" class="appearance-none peer status-change" name="status"
                                            <?php echo e($userInfo && $userInfo?->status == 1 ? 'checked' : ''); ?>

                                            data-action="<?php echo e($action ?? '#'); ?>">
                                        <span class="switcher switcher-primary-solid"></span>
                                    </label>
                                </td>
                                <td class="px-4 py-4">
                                    <div class="flex items-center gap-1">
                                        <a href="<?php echo e(route('student.translate', ['id' => $student->id, 'locale' => app()->getLocale()])); ?>"
                                            class="btn-icon btn-primary-icon-light size-8">
                                            <i class="ri-translate text-inherit text-base"></i>
                                        </a>
                                        <?php if($student->trashed()): ?>
                                            <?php
                                                $title = translate('Do you want to Delete.');
                                                $text = translate('If You delete It, Student and Student related all data will be delete Permanently.');
                                            ?>
                                            <button data-action="<?php echo e(route('student.restore', $student->id)); ?>"
                                                class="btn-icon btn-primary-icon-light size-8 trash-restore-btn-cs"
                                                title="<?php echo e(translate('Restore')); ?>" data-title="<?php echo e(translate('Do you want to restore it')); ?>">
                                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                    viewBox="0 0 512 512">
                                                    <path fill="currentColor" fill-rule="evenodd"
                                                        d="M160 168.296c64.802 0 117.334 29.715 117.334 66.37q0 1.34-.093 2.665l.028-.294h.065v165.926c0 36.655-52.532 66.37-117.334 66.37c-63.361 0-114.992-28.409-117.256-63.937l-.077-2.433V237.037h.073a38 38 0 0 1-.073-2.37c0-36.656 52.532-66.37 117.333-66.37m0 218.074c-28.365 0-54.38-5.693-74.667-15.17v22.316l.018 1.197c.684 12.202 32.466 31.954 74.657 31.954c23.075 0 44.362-5.79 59.26-15.367c10.256-6.594 14.782-12.874 15.34-16.01l.059-.623V371.2c-20.286 9.478-46.3 15.171-74.667 15.171m0-85.333c-28.361 0-54.373-5.692-74.658-15.167l-.002 35.906l1.446-.009c1.73 1.73 5.179 4.59 11.254 8.027c15.143 8.566 37.48 13.91 61.96 13.91s46.818-5.344 61.96-13.91c7.501-4.243 11-7.609 12.2-9.05l.507-.004l.003-34.875c-20.287 9.478-46.303 15.172-74.67 15.172m0-90.074c-41.237 0-74.666 10.984-74.666 24.533S118.764 260.03 160 260.03c41.238 0 74.667-10.984 74.667-24.534s-33.43-24.533-74.667-24.533m248.775 144.288l-29.779-30.563C401.874 301.564 416 269.765 416 234.667c0-42.82-21.025-80.729-53.316-103.966l-.017 82.632H320V64h149.334v42.667l-68.447-.002c35.432 31.273 57.78 77.027 57.78 128.002c0 47.08-19.063 89.707-49.892 120.584" />
                                                </svg>
                                            </button>
                                        <?php else: ?>
                                            <a href="<?php echo e(route('student.edit', $student->id)); ?>"
                                                class="btn-icon btn-primary-icon-light size-8">
                                                <i class="ri-edit-2-line text-inherit text-base"></i>
                                            </a>
                                        <?php endif; ?>
                                        <a href="<?php echo e(route('student.profile', $student->id)); ?>"
                                            class="btn-icon btn-primary-icon-light size-8">
                                            <i class="ri-eye-line text-inherit text-base"></i>
                                        </a>
                                        <button class="btn-icon btn-danger-icon-light size-8 delete-btn-cs"
                                            data-action="<?php echo e(route('student.destroy', $student->id)); ?>"
                                            data-title="<?php echo e($title); ?>" data-text="<?php echo e($text); ?>">
                                            <i class="ri-delete-bin-line text-inherit text-base"></i>
                                        </button>
                                    </div>

                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
                <!-- Start Pagination -->
                <?php echo e($students->links('portal::admin.pagination.paginate')); ?>

                <!-- End Pagination -->
            </div>
        </div>
    <?php else: ?>
        <?php if (isset($component)) { $__componentOriginal5d13c2904e1f07d85da185576dbff28d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal5d13c2904e1f07d85da185576dbff28d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.empty-card','data' => ['title' => 'No Student']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.empty-card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'No Student']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal5d13c2904e1f07d85da185576dbff28d)): ?>
<?php $attributes = $__attributesOriginal5d13c2904e1f07d85da185576dbff28d; ?>
<?php unset($__attributesOriginal5d13c2904e1f07d85da185576dbff28d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal5d13c2904e1f07d85da185576dbff28d)): ?>
<?php $component = $__componentOriginal5d13c2904e1f07d85da185576dbff28d; ?>
<?php unset($__componentOriginal5d13c2904e1f07d85da185576dbff28d); ?>
<?php endif; ?>
    <?php endif; ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\student\index.blade.php ENDPATH**/ ?>