<div class="card bg-light-transparent">
    <div class="card-header bg-white">
    
    </div>
    <div class="card-body">
        <div class="card no-shadow">
            <div class="card-body">
               <div class="table-responsive">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th>No</th>
                                <th class="text-center">My Lead Job Detail</th>
                                <th class="text-center">Claim Submission</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?php if(!empty($lead_jobs)) foreach($lead_jobs as $key => $jobs): ?>
                                <tr>
                                    <td><?php echo ++$key; ?></td>
                                    <td>Job ID [<?php echo $jobs->ID; ?>] : <?php echo $jobs->customerName; ?> - <?php echo $jobs->description; ?></td>
                                    <?php 
                                        $data_claim = $this->job_v2->get_claim_data($jobs->ID);
                                        echo '<td>';
                                        if(!empty($data_claim)) foreach ($data_claim as $key => $value) {
                                            echo '<a href="myClaimDetail/'.$value->year.'/'.$value->month.'/'.$value->user_id.'/'.$value->claim_id.'/approval-team-lead" data-trigger="hover" data-tooltip="tooltip" title="" data-original-title="View Claim" target="_blank">'.$value->staff_name.' - '.date('F Y',strtotime('01-'.$value->month.'-'.$value->year)).'</a><br>';
                                        }
                                        echo '</td>';
                                    ?>
                                </tr>
                            <?php endforeach ?>
                        </tbody>
                    </table>
               </div>
            </div>
        </div>
    </div>
</div>

<!-- Modal Job Info -->
<div class="modal fade" id="modal_job_info" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLongTitle"></h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <table class="table table-bordered" id="table_job_info">
                    <thead>
                        <tr>
                           <th>No.</th>
                           <th>Claim Type</th>
                           <th>Job</th> 
                        </tr> 
                    </thead>
                    <tbody>
                        
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<!-- Modal Job Info -->

<script type="text/javascript">


</script>