<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 mr-5"></i>
                <?php echo $this->lang->line('billing'); ?> <?php echo $this->lang->line('list'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'billing', 'billing')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_method() == 'create' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'create' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('billing'); ?>"><i class="fa fa-indent" aria-hidden="true"></i> <?php echo $this->lang->line('create'); ?> <?php echo $this->lang->line('bill'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'bill' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'bill' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('billing/bill'); ?>"><i class="fa fa-list" aria-hidden="true"></i> <?php echo $this->lang->line('bill'); ?> <?php echo $this->lang->line('list'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'due' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'due' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('billing/due'); ?>"><i class="fa fa-list-alt" aria-hidden="true"></i> <?php echo $this->lang->line('due'); ?> <?php echo $this->lang->line('bill'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'paid' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'paid' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('billing/paid'); ?>"><i class="fa fa-th" aria-hidden="true"></i> <?php echo $this->lang->line('paid'); ?> <?php echo $this->lang->line('bill'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>