<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-money font-30 mr-10"></i>
                <?php echo $this->lang->line('accounting'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'accounting', 'exphead')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'exphead' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'exphead' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('accounting/exphead'); ?>"><i class="fa fa-exchange" aria-hidden="true"></i> <?php echo $this->lang->line('expenditure_head'); ?></a>
                </li>
            <?php } ?>
            <?php if (has_permission(VIEW, 'accounting', 'expenditure')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'expenditure' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'expenditure' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('accounting/expenditure'); ?>"><i class="fa fa-battery-half" aria-hidden="true"></i> <?php echo $this->lang->line('expenditure'); ?></a>
                </li>
            <?php } ?>
            <?php if (has_permission(VIEW, 'accounting', 'incomehead')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'incomehead' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'incomehead' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('accounting/incomehead'); ?>"><i class="fa fa-cubes" aria-hidden="true"></i> <?php echo $this->lang->line('income_head'); ?></a>
                </li>
            <?php } ?>
            <?php if (has_permission(VIEW, 'accounting', 'income')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'income' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'income' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('accounting/income'); ?>"><i class="fa fa-adjust" aria-hidden="true"></i> <?php echo $this->lang->line('income'); ?></a>
                </li>
            <?php } ?>
            <?php if (has_permission(VIEW, 'accounting', 'payment')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'payment' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'payment' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('accounting/payment'); ?>"><i class="fa fa-money" aria-hidden="true"></i> <?php echo $this->lang->line('manage_payment'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>