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

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

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