<li
    class="nav-item dropdown <?php echo e(isRoute(['admin.day.index', 'admin.habit.index', 'admin.schedule.index', 'admin.appointment.*', 'admin.prescribe*', 'admin.payment.history'], 'active')); ?>">
    <a href="javascript:void()" class="nav-link has-dropdown"><i
            class="fas fa-calendar"></i><span><?php echo e(__('Appointment')); ?></span></a>
    <ul class="dropdown-menu">
        <?php if(auth()->guard('admin')->user()->can('appointment.view')): ?>
        <li class="<?php echo e(isRoute('admin.appointment.index', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.appointment.index')); ?>">
                <?php echo e(__('All Appointment')); ?>

            </a>
        </li>
        <?php endif; ?>
        <?php if(auth()->guard('admin')->user()->can('appointment.view')): ?>
        <li class="<?php echo e(isRoute('admin.appointment.new', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.appointment.new')); ?>">
                <?php echo e(__('New Appointments')); ?>

            </a>
        </li>
        <?php endif; ?>
        <?php if(auth()->guard('admin')->user()->can('appointment.view')): ?>
        <li class="<?php echo e(isRoute('admin.appointment.pending', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.appointment.pending')); ?>">
                <?php echo e(__('Pending Appointments')); ?>

            </a>
        </li>
        <?php endif; ?>
        <?php if(auth()->guard('admin')->user()->can('appointment.view')): ?>
        <li class="<?php echo e(isRoute('admin.prescribe*', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.prescribe')); ?>">
                <?php echo e(__('Prescription')); ?>

            </a>
        </li>
        <?php endif; ?>
        <?php if(auth()->guard('admin')->user()->can('payment.view')): ?>
        <li class="<?php echo e(isRoute('admin.payment.history', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.payment.history')); ?>">
                <?php echo e(__('Payment History')); ?>

            </a>
        </li>
        <?php endif; ?>
        <?php if(Module::isEnabled('Schedule') && checkAdminHasPermission('schedule.view')): ?>
            <?php echo $__env->make('schedule::sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
        <?php if(Module::isEnabled('Day') && checkAdminHasPermission('day.view')): ?>
            <?php echo $__env->make('day::sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
        <?php if(Module::isEnabled('Habit') && checkAdminHasPermission('habit.view')): ?>
            <?php echo $__env->make('habit::sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
    </ul>
</li>
<?php if(auth()->guard('admin')->user()->can('zoom.meeting')): ?>
<li
    class="nav-item dropdown <?php echo e(isRoute(['admin.upcomming-meeting','admin.previous-meeting',], 'active')); ?>">
    <a href="javascript:void()" class="nav-link has-dropdown"><i
            class="fas fa-video"></i><span><?php echo e(__('Zoom Meeting')); ?></span></a>
    <ul class="dropdown-menu">
        <li class="<?php echo e(isRoute('admin.upcomming-meeting', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.upcomming-meeting')); ?>">
                <?php echo e(__('Upcomming Meeting')); ?>

            </a>
        </li>
        <li class="<?php echo e(isRoute('admin.previous-meeting', 'active')); ?>">
            <a class="nav-link" href="<?php echo e(route('admin.previous-meeting')); ?>">
                <?php echo e(__('Previous Meeting')); ?>

            </a>
        </li>
    </ul>
</li>
<?php endif; ?>
<?php /**PATH D:\laragon\www\docment_latest\main_files\Modules/Appointment\resources/views/sidebar.blade.php ENDPATH**/ ?>