<?php if (has_permission(ADD, 'accounting', 'payment')) { ?>
    <a href="<?php echo site_url('accounting/payment/opd'); ?>" class="btn btn-primary btn-sm mr-15 <?php echo $this->router->fetch_method() == 'opd' ? 'active text-warning' : ''; ?>">
        <i class="fa fa-stethoscope mr-10"></i>
        <?php echo $this->lang->line('opd'); ?>
    </a>
<?php } ?>
<?php if (has_permission(VIEW, 'accounting', 'investigation')) { ?>
    <a href="<?php echo site_url('accounting/payment/investigation'); ?>" class="btn btn-warning btn-sm mr-15 <?php echo $this->router->fetch_method() == 'investigation' ? 'active text-danger' : ''; ?>">
        <i class="fa fa-h-square mr-10"></i>
        <?php echo $this->lang->line('investigation'); ?>
    </a>
<?php } ?>
<?php if (has_permission(ADD, 'accounting', 'payment')) { ?>
    <a href="<?php echo site_url('accounting/payment/surgeon'); ?>" class="btn btn-danger btn-sm mr-15 <?php echo $this->router->fetch_method() == 'surgeon' ? 'active text-warning' : ''; ?>">
        <i class="fa fa-user-md mr-10"></i>
        <?php echo $this->lang->line('surgeon'); ?>
    </a>
<?php } ?>
<?php if (has_permission(ADD, 'accounting', 'payment')) { ?>
    <a href="<?php echo site_url('accounting/payment/anesthesia'); ?>" class="btn btn-info btn-sm mr-15 <?php echo $this->router->fetch_method() == 'anesthesia' ? 'active text-warning' : ''; ?>">
        <i class="fa fa-user-md mr-10"></i>
        <?php echo $this->lang->line('anesthesia'); ?>
    </a>
<?php } ?>
<?php if (has_permission(ADD, 'accounting', 'payment')) { ?>
    <a href="<?php echo site_url('accounting/payment/assistant'); ?>" class="btn btn-smoke btn-sm mr-15 <?php echo $this->router->fetch_method() == 'assistant' ? 'active text-warning' : ''; ?>">
        <i class="fa fa-user mr-10"></i>
        <?php echo $this->lang->line('assistant'); ?>
    </a>
<?php } ?>
<?php if (has_permission(ADD, 'accounting', 'payment')) { ?>
    <a href="<?php echo site_url('accounting/payment/ipd'); ?>" class="btn btn-indigo btn-sm <?php echo $this->router->fetch_method() == 'ipd' ? 'active text-warning' : ''; ?>">
        <i class="fa fa-bed mr-10"></i>
        <?php echo $this->lang->line('ipd'); ?>
    </a>
<?php } ?>