<div class="col-lg-3">
    <div class="card">
        <div class="card-header d-flex justify-content-between">
            <h6 class="card-header d-flex align-items-center">
                <i class="fa fa-user-md font-30 mr-10"></i>
                <?php echo $this->lang->line('doctor'); ?> <?php echo $this->lang->line('list'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'doctor', 'doctor')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'doctor' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'doctor' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('doctor'); ?>"><i class="fa fa-user-md" aria-hidden="true"></i> <?php echo $this->lang->line('doctor'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'doctor', 'vd')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'vd' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'vd' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('doctor/vd'); ?>"><i class="fa fa-user-md" aria-hidden="true"></i> <?php echo $this->lang->line('vd'); ?></a>
                </li>
            <?php } ?>


            <?php if (has_permission(VIEW, 'doctor', 'anesthetist')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'anesthetist' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'anesthetist' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('doctor/anesthetist'); ?>"><i class="fa fa-user-md" aria-hidden="true"></i> <?php echo $this->lang->line('anesthetist'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'doctor', 'assistant')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'assistant' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'assistant' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('doctor/assistant'); ?>"><i class="fa fa-user-md" aria-hidden="true"></i> <?php echo $this->lang->line('assistant'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'doctor', 'schedule')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'schedule' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'schedule' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('doctor/schedule'); ?>"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $this->lang->line('schedule'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'doctor', 'charge')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'charge' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'charge' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('doctor/charge'); ?>"><i class="fa fa-money" aria-hidden="true"></i> <?php echo $this->lang->line('charge'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>