<?php echo $this->render_table_name($mode); ?>
<div class="xcrud-top-actions">
    <?php echo $this->render_button('save_new','save','create','btn btn-primary','','create,edit') ?>
	    <?php echo $this->render_button('save_edit','save','edit','btn btn-default','','create,edit') ?>
    <?php echo $this->render_button('save_return','save','list','btn btn-success','','create,edit') ?>
    <?php echo $this->render_button('return','list','','btn btn-warning') ?>
</div>
 <div class="xcrud-list-container">
        
        
        <table class="xcrud-list table table-striped table-hover table-bordered">
            
              <thead>
              
               <tr bgcolor= #99C8EF style="font-size:14pt" >
            
              <th colspan="3" align ="center" > </th> 	<th colspan="5" align ="center"  > MONDAY</th><th colspan="5" > TUESDAY </th><th colspan="5" > WEDNESDAY</th><th colspan="5" > ThURSDAY</th ><th colspan="5" >FRIDAY</th><th colspan="5" > SATURDAY</th><th colspan="5" > SUNDAY</th><th colspan="5" > MONDAY MORNING(CONTINUATION FROM SUNDAY ONLY)</th><th colspan="5" align ="center"> NORMAL HOURS </th><th colspan="5" align ="center"> TIME AND HALF HOURS</th><th colspan="5" align ="center"> DOUBLE HOURS</th><th colspan="5" align ="center"> TOTAL HOURS</th>
               	
				    </tr>
  
             
           <tr bgcolor= #99C8EF >  
             <th colspan="1"></th>
        <th colspan="1">RosterID</th>
        <th >EmployeeName(SecurityGuards) </th>
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
        <th colspan="1" >Rostered</th>
        <th colspan="1">CEM</th>
         <th colspan="1">variance</th>
           <th colspan="1">Final</th>
        <th colspan="1">Approve</th>
        
          
         
      </tr>
          
           
            </thead>
            <tbody >
               
               <tr>
            <td colspan="1">
           
               
            </td>
              <td colspan="1" >
           <?php echo $this->fields_output['cemtimesheet.rosterid']['field']?>
               
            </td>
            
              <td >
           <?php echo $this->fields_output['cemtimesheet.employeeid']['field']?>
               
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_mon']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_mon']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_mon']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_mon']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_mon']['field']?>
               
            </td>
              
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_tues']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_tues']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_tues']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_tues']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_tues']['field']?>
               
            </td>
              
              
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_wed']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_wed']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_wed']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_wed']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_wed']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_thurs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_thurs']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_thurs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_thurs']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_thurs']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_fri']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_fri']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_fri']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_fri']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_fri']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_sat']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_sat']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_sat']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_sat']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_sat']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_sun']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_sun']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_sun']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_sun']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_sun']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_mon2']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_mon2']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_mon2']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_mon2']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_mon2']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_normal']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_normal']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_normal']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_normal']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_normal']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_timehalf']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_timehalf']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_timehalf']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_timehalf']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_timehalf']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_double']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_double']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_double']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_double']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_double']['field']?>
               
            </td>
              
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.rostered_total']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.cem_total']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['cemtimesheet.variance_total']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.final_tues']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['cemtimesheet.approved_total']['field']?>
               
            </td>
              
              
            
        </tr>
               
               
                
            </tbody>
           
        </table>


</div>