<?php if(isset($details['sub_menu'])): ?>
    <li class="side-item">
        <a>
            <span class="side-icon"><?php echo $details['icon']; ?></span>
            <span class="side-name-lable"><?php echo e($details['name']); ?></span>
            <span
                class="arrow-icon <?php $__currentLoopData = $details['sub_menu']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e(adminActiveLink($item['link'], 'rotate-icon')); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>"><i
                    class="fas fa-angle-down"></i></span>
        </a>
        <ul
            class="sub-menu <?php $__currentLoopData = $details['sub_menu']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e(adminActiveLink($item['link'], 'show')); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>">
            <?php $__currentLoopData = $details['sub_menu']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if(isset($item['can']) && $item['can'] != null): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check($item['can'])): ?>
                        <li class="sub-item">
                            <a class="<?php echo e(adminActiveLink($item['link'])); ?>" href="<?php echo e(adminUrl($item['link'])); ?>">
                                <span class="side-icon"></span>
                                <span class="side-name-lable"><?php echo e($item['name']); ?></span>
                            </a>
                        </li>
                    <?php endif; ?>
                <?php else: ?>
                    <li class="sub-item">
                        <a class="<?php echo e(adminActiveLink($item['link'])); ?>" href="<?php echo e(adminUrl($item['link'])); ?>">
                            <span class="side-icon"></span>
                            <span class="side-name-lable"><?php echo e($item['name']); ?></span>
                        </a>
                    </li>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </li>
<?php else: ?>
    <li class="side-item">
        <a class="<?php echo e(adminActiveLink($details['link'])); ?>" href="<?php echo e(adminUrl($details['link'])); ?>">
            <span class="side-icon"><?php echo $details['icon']; ?></span>
            <span class="side-name-lable"><?php echo e($details['name']); ?></span>
        </a>
    </li>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\internal-real-estate\resources\views/components/dashboard/aside.blade.php ENDPATH**/ ?>