<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-flask font-30 mr-10"></i>
                <?php echo $this->lang->line('diagnostic'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'diagnostic', 'report')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'report' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'report' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('diagnostic/report'); ?>"><i class="fa fa-bar-chart" aria-hidden="true"></i> <?php echo $this->lang->line('report'); ?></a>
                </li>
            <?php } ?>

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

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