<?php echo $this->render_table_name($mode); ?>
<div class="xcrud-top-actions">
    
</div>
 <div class="xcrud-list-container">
        
        
        <table class="xcrud-list table table-striped table-hover table-bordered">
            
              <thead>
              
               <tr bgcolor= #DECFF4 style="font-size:14pt" >
            
              <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-size: 12px; 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 style="font-size: 12px" 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 >
               <div ng-app="">
               <tr>
            <td colspan="1">
           
               
            </td>
              <td colspan="1" >
           <?php echo $this->fields_output['rosteringtimesheet.rosterid']['field']?>
               
            </td>
            
              <td >
           <?php echo $this->fields_output['rosteringtimesheet.employeeid']['field']?>
               
            </td>
             
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.mon_date']['field']?>
               
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.montime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.montime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['rosteringtimesheet.mon_hrs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.montime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.montime_out1']['field']?>
               
            </td>
         
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.mon_hrs2']['field']?>
            </td>
            
              <td colspan="1">
          
               <?php echo $this->fields_output['rosteringtimesheet.mon_total']['field']?>
                
            </td>
            
            
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.tues_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.tuestime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.tuestime_out']['field']?>
               
            </td>
             
             
               <td colspan="1">
          
               <?php echo $this->fields_output['rosteringtimesheet.tues_hrs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.tuestime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.tuestime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
               <?php echo $this->fields_output['rosteringtimesheet.tues_hrs2']['field']?>
            </td>
            
              <td colspan="1">
          
               <?php echo $this->fields_output['rosteringtimesheet.tues_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wed_date']['field']?>
               
            </td>
            
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wedtime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wedtime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['rosteringtimesheet.wed_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wedtime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wedtime_out1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wed_hrs2']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.wed_total']['field']?>
               
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.thurs_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.thurstime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.thurstime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
           
                <?php echo $this->fields_output['rosteringtimesheet.thurs_hrs']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.thurstime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.thurstime_out1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.thurs_hrs2']['field']?>
               
            </td>
            
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.thurs_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.fri_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.fritime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.fritime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['rosteringtimesheet.fri_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.fritime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.fritime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.fri_hrs2']['field']?>
            </td>
            
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.fri_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sat_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sattime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sattime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['rosteringtimesheet.sat_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sattime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sattime_out2']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sat_hrs2']['field']?>
               
            </td>
            
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.sat_total']['field']?>
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sun_date']['field']?>
               
            </td>
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sunttime_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sunttime_out']['field']?>
               
            </td>
             
             
              <td colspan="1">
            <?php echo $this->fields_output['rosteringtimesheet.sun_hrs']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.suntime_in1']['field']?>
               
            </td>
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.suntime_out1']['field']?>
               
            </td>
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.sun_hrs2']['field']?>
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.sun_total']['field']?>
               
            </td>
                   <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.mon2_date']['field']?>
               
            </td>
                   
                   
                   
                    <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.mon2time_in']['field']?>
               
            </td>
            
              <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.mon2time_out']['field']?>
               
            </td>
             
                      
            
              <td colspan="1">
          
                <?php echo $this->fields_output['rosteringtimesheet.mon2_total']['field']?>
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.total_hrs']['field']?>
               
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.normal_hours']['field']?>
               
            </td>
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.time_half_hours']['field']?>
               
            </td>
            
            <td colspan="1">
           <?php echo $this->fields_output['rosteringtimesheet.double_hours']['field']?>
               
            </td>
            
        </tr>
               
               
				</div>      
            </tbody>
           
        </table>


</div>
<div class="xcrud-nav">
	<?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') ?>
    <?php echo $this->render_benchmark(); ?>
</div>