<?php if (has_permission(VIEW, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/collection'); ?>" class="btn btn-primary btn-sm mr-15"><?php echo $this->lang->line('collection'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/due'); ?>" class="btn btn-danger btn-sm mr-15"><?php echo $this->lang->line('due'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/rejected'); ?>" class="btn btn-warning btn-sm mr-15"><?php echo $this->lang->line('rejected'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/income'); ?>" class="btn btn-success btn-sm mr-15"><?php echo $this->lang->line('income'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/statement'); ?>" class="btn btn-info btn-sm mr-15"><?php echo $this->lang->line('statement'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/sales'); ?>" class="btn btn-teal btn-sm mr-15"><?php echo $this->lang->line('sales'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/admitted'); ?>" class="btn btn-orange btn-sm mr-15"><?php echo $this->lang->line('admitted'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/discharge'); ?>" class="btn btn-danger btn-sm mr-15"><?php echo $this->lang->line('discharge'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/surgeon'); ?>" class="btn btn-sky btn-sm mr-15"><?php echo $this->lang->line('surgeon'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/anesthesia'); ?>" class="btn btn-lime btn-sm mr-15"><?php echo $this->lang->line('anesthesia'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/assistant'); ?>" class="btn btn-brown btn-sm mr-15"><?php echo $this->lang->line('assistant'); ?></a>
<?php } ?>

<?php if (has_permission(ADD, 'report', 'ipd')) { ?>
    <a href="<?php echo site_url('report/ipd/consultant'); ?>" class="btn btn-smoke btn-sm mr-15"><?php echo $this->lang->line('consultant'); ?></a>
<?php } ?>