Also handle logging of start time only
这个提交包含在:
		
							父节点
							
								
									be7632ef58
								
							
						
					
					
						当前提交
						26a1f8531f
					
				
					共有  1 个文件被更改,包括 3 次插入 和 0 次删除
				
			
		|  | @ -92,6 +92,9 @@ | ||||||
| 
 | 
 | ||||||
|                 <div class="form-group col-md-6"> |                 <div class="form-group col-md-6"> | ||||||
|                   <label for="start_time"><?php echo lang('general_word_time'); ?></label>
 |                   <label for="start_time"><?php echo lang('general_word_time'); ?></label>
 | ||||||
|  |                 <?php if ($_GET['manual'] == 1) { ?>
 | ||||||
|  |                    <i id="reset_start_time" data-toggle="tooltip" data-original-title="Reset start time" class="fas fa-stopwatch"></i> | ||||||
|  |                 <?php } ?>
 | ||||||
|                   <input type="text" class="form-control form-control-sm input_start_time" name="start_time" id="start_time" value="<?php if (($this->session->userdata('start_time') != NULL && ((time() - $this->session->userdata('time_stamp')) < 24 * 60 * 60))) { echo substr($this->session->userdata('start_time'),0,5); } else { echo $_GET['manual'] == 0 ? date('H:i:s') : date('H:i'); } ?>" size="7" <?php echo ($_GET['manual'] == 0 ? "disabled" : "");  ?> required pattern="[0-2][0-9]:[0-5][0-9]">
 |                   <input type="text" class="form-control form-control-sm input_start_time" name="start_time" id="start_time" value="<?php if (($this->session->userdata('start_time') != NULL && ((time() - $this->session->userdata('time_stamp')) < 24 * 60 * 60))) { echo substr($this->session->userdata('start_time'),0,5); } else { echo $_GET['manual'] == 0 ? date('H:i:s') : date('H:i'); } ?>" size="7" <?php echo ($_GET['manual'] == 0 ? "disabled" : "");  ?> required pattern="[0-2][0-9]:[0-5][0-9]">
 | ||||||
|                 </div> |                 </div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用