<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-address-book-o" aria-hidden="true"></i> <?php echo $this->lang->line('upazila'); ?></a>
                </li>
          		
          		<li class="list-group-item <?php echo $this->router->fetch_method() == 'union' || $this->router->fetch_method() == 'add_union' || $this->router->fetch_method() == 'edit_union' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'union' || $this->router->fetch_method() == 'add_union' || $this->router->fetch_method() == 'edit_union' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/frontoffice/union'); ?>"><i class="fa fa-address-book-o" aria-hidden="true"></i> <?php echo $this->lang->line('union'); ?></a>
                </li>
          
          		<li class="list-group-item <?php echo $this->router->fetch_method() == 'village' || $this->router->fetch_method() == 'add_village' || $this->router->fetch_method() == 'edit_village' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'village' || $this->router->fetch_method() == 'add_village' || $this->router->fetch_method() == 'edit_village' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/frontoffice/village'); ?>"><i class="fa fa-address-book-o" aria-hidden="true"></i> <?php echo $this->lang->line('village'); ?></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>