<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-tty font-30 mr-10"></i>
                <?php echo $this->lang->line('front_office'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'hospital', 'bed')) { ?>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'index' || $this->router->fetch_method() == 'add' || $this->router->fetch_method() == 'edit' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'index' || $this->router->fetch_method() == 'add' || $this->router->fetch_method() == 'edit' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/frontoffice'); ?>"><i class="fa fa-hotel" aria-hidden="true"></i> <?php echo $this->lang->line('purpose'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'complainttype' || $this->router->fetch_method() == 'add_complainttype' || $this->router->fetch_method() == 'edit_complainttype' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'complainttype' || $this->router->fetch_method() == 'add_complainttype' || $this->router->fetch_method() == 'edit_complainttype' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/frontoffice/complainttype'); ?>"><i class="fa fa-bookmark" aria-hidden="true"></i> <?php echo $this->lang->line('complain'); ?> <?php echo $this->lang->line('type'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'source' || $this->router->fetch_method() == 'add_source' || $this->router->fetch_method() == 'edit_source' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'source' || $this->router->fetch_method() == 'add_source' || $this->router->fetch_method() == 'edit_source' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/frontoffice/source'); ?>"><i class="fa fa-podcast" aria-hidden="true"></i> <?php echo $this->lang->line('source'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>