<?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= #DECFF4 style="font-size:18pt" >
            
              <th colspan="3" align ="center" > </th> 	<th colspan="8" align ="center"  > MONDAY</th><th colspan="8" > TUESDAY </th><th colspan="8" > WEDNESDAY</th><th colspan="8" > ThURSDAY</th ><th colspan="8" >FRIDAY</th><th colspan="8" > SATURDAY</th><th colspan="8" > SUNDAY</th><th colspan="4" > MONDAY MORNING(CONTINUATION FROM SUNDAY ONLY)</th><th colspan="4" align ="center"> Tallies</th>
               	
				    </tr>
  
             <tr style="font-style: italic" bgcolor = #99C8EF>
             		<th colspan="3" > </th> <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             		
             	     <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             	     <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             	     <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             	     <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             	     <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             	     <th colspan="4" > Shift 1</th> <th colspan="4" > Shift 2 </th> 
             	     <th colspan="4" > Shift 1</th> 
             	     <th colspan="4" > </th>
             	
             </tr>
           <tr bgcolor= #99C8EF >  
             <th colspan="1"></th>
        <th colspan="1">RosterID</th>
        <th >EmployeeName(SecurityGuards) </th>
        <th colspan="1" >Date</th>
        <th colspan="1" >TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">MondayTotal</th>
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">TuesdayTotal</th>
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">WednesdayTotal</th>
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">ThursdayTotal</th>
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">FridayTotal</th>
         
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">SaturdayTotal</th>
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
           <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
         <th colspan="1">TotalHours</th>
          
         <th colspan="1">SundayTotal</th>
         <th colspan="1" >Date</th>
          <th colspan="1">TimeLoggedIn</th>
        <th colspan="1">TimeLoggedOut</th>
        
         <th colspan="1">Monday2Total</th>
         <th colspan="1">TotalHours</th>
         <th colspan="1">NormalHours</th>
         <th colspan="1">Time1/2Hours</th>
         <th colspan="1">DoubleHours</th>
      </tr>
          
           
            </thead>
            <tbody >
               
               <tr>
            <td colspan="1">
           
               
            </td>
             <td colspan="1" >
           <?php echo $this->fields_output['techniciantimesheetdetails.techtimeid']['field']?>
               
            </td>
            
              <td >
           <?php echo $this->fields_output['techniciantimesheetdetails.employeeid']['field']?>
               
            </td>
             
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.mon_date']['field']?>
               
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.montime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.montime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['techniciantimesheetdetails.mon_hrs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.montime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.montime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.mon_hrs2']['field']?>
            </td>
            
              <td colspan="1">
          
               <?php echo $this->fields_output['techniciantimesheetdetails.mon_total']['field']?>
            </td>
            
            
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.tues_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.tuestime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.tuestime_out']['field']?>
               
            </td>
             
             
               <td colspan="1">
          
               <?php echo $this->fields_output['techniciantimesheetdetails.tues_hrs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.tuestime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.tuestime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
               <?php echo $this->fields_output['techniciantimesheetdetails.tues_hrs2']['field']?>
            </td>
            
              <td colspan="1">
          
               <?php echo $this->fields_output['techniciantimesheetdetails.tues_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wed_date']['field']?>
               
            </td>
            
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wedtime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wedtime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['techniciantimesheetdetails.wed_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wedtime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wedtime_out1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wed_hrs2']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.wed_total']['field']?>
               
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.thurs_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.thurstime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.thurstime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['techniciantimesheetdetails.thurs_hrs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.thurstime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.thurstime_out1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.thurs_hrs2']['field']?>
               
            </td>
            
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.thurs_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.fri_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.fritime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.fritime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['techniciantimesheetdetails.fri_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.fritime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.fritime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.fri_hrs2']['field']?>
            </td>
            
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.fri_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sat_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sattime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sattime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['techniciantimesheetdetails.sat_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sattime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sattime_out2']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sat_hrs2']['field']?>
               
            </td>
            
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.sat_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sun_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sunttime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sunttime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['techniciantimesheetdetails.sun_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.suntime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.suntime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.sun_hrs2']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.sun_total']['field']?>
               
            </td>
                   <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.mon2_date']['field']?>
               
            </td>
                   
                   
                   
                    <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.mon2time_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.mon2time_out']['field']?>
               
            </td>
             
                      
            
              <td colspan="1">
          
                <?php echo $this->fields_output['techniciantimesheetdetails.mon2_total']['field']?>
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.total_hrs']['field']?>
               
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.normal_hours']['field']?>
               
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.time_half_hours']['field']?>
               
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['techniciantimesheetdetails.double_hours']['field']?>	

               
            </td>
            
        </tr>
               
               
                
            </tbody>
           
        </table>


</div>