<a href="<?php echo base_url('hr/claim/myClaimList') ?>" class="btn btn-outline-light btn-sm" title="Back to my claim list" >
    <i class="fas fa-backward"></i></i>
</a>

<?php
if(!empty($claims)):
    if($claims->is_submit == 1) 
    {
        if(empty($screen_mode))
        {
            ?>
            <!-- <?php //echo ($_SESSION['user']['department_id'] == 1)?'first debug':''; ?> -->
            <a class="btn btn-sm btn-outline-light btn-disabled" title="Add New Claim Allocation" style="cursor:not-allowed;border:1px solid #00255;">
                <i class="fa fa-plus"></i>
            </a>
            <?php
        }
    }else
    {
        if(empty($screen_mode))
        {
            if(empty($disabled)){
                if($is_in_submission_range){               
                    ?>
                    <!-- <?php //echo ($_SESSION['user']['department_id'] == 1)?'second debug':''; ?> -->
                    <a href="#" class="btn btn-outline-light btn-sm" title="Add New Claim Allocation" data-toggle="modal" data-target="#modal_claim_type" >
                        <i class="fa fa-plus"></i>
                    </a>
                    <?php
                }else{
                    ?>
                    <!-- <?php //echo ($_SESSION['user']['department_id'] == 1)?'third debug':''; ?> -->
                    <a class="btn btn-sm btn-outline-light btn-disabled" <?php echo ($_SESSION['user']['department_id'] == 1)?'title="current date is not in the range for adding claim details" style="cursor:not-allowed;border:1px solid #00255;"':''; ?> data-toggle="modal" data-target="#modal_claim_type">
                        <i class="fa fa-plus"></i>
                    </a>
                    <?php
                }
            }else{
                ?>
                <!-- <?php //echo ($_SESSION['user']['department_id'] == 1)?'four debug':''; ?> -->
                <a class="btn btn-sm btn-outline-light btn-disabled" title="Add New Claim Allocation" style="cursor:not-allowed;border:1px solid #00255;">
                    <i class="fa fa-plus"></i>
                </a>
                <?php
            }
        }
    }
endif;
?>

<a href="<?php echo base_url('hr/claim_v2/sheet/'.$year.'/'.$month.'/'.$claims_user['id'].'/'.$claim_id)?>" target="_blank" class="btn btn-outline-light btn-sm" title="Print Staff Movement">
    <i class="fa fa-print"></i>
</a>

<button class="btn btn-outline-light btn-sm" data-toggle="collapse" data-target="#info-collapse">
    <i class="fa fa-info"></i>
</button>
<br>