Adds sat_name to Parcial search results when logging
这个提交包含在:
		
							父节点
							
								
									0efa234d7c
								
							
						
					
					
						当前提交
						b3e21d22e5
					
				
					共有  2 个文件被更改,包括 6 次插入 和 3 次删除
				
			
		| 
						 | 
					@ -224,7 +224,7 @@ class Logbook extends CI_Controller {
 | 
				
			||||||
        if(!$this->user_model->authorize($this->config->item('auth_mode'))) { return; }
 | 
					        if(!$this->user_model->authorize($this->config->item('auth_mode'))) { return; }
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
    $this->db->like('COL_CALL', $id); 
 | 
					    $this->db->like('COL_CALL', $id); 
 | 
				
			||||||
    $this->db->limit(5);
 | 
					    $this->db->limit(16);
 | 
				
			||||||
    $query = $this->db->get($this->config->item('table_name'));
 | 
					    $query = $this->db->get($this->config->item('table_name'));
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
    if ($query->num_rows() > 0)
 | 
					    if ($query->num_rows() > 0)
 | 
				
			||||||
| 
						 | 
					@ -246,7 +246,11 @@ class Logbook extends CI_Controller {
 | 
				
			||||||
          echo "<td>".$row->COL_CALL."</td>";
 | 
					          echo "<td>".$row->COL_CALL."</td>";
 | 
				
			||||||
          echo "<td>".$row->COL_RST_SENT."</td>";
 | 
					          echo "<td>".$row->COL_RST_SENT."</td>";
 | 
				
			||||||
          echo "<td>".$row->COL_RST_RCVD."</td>";
 | 
					          echo "<td>".$row->COL_RST_RCVD."</td>";
 | 
				
			||||||
          echo "<td>".$row->COL_BAND."</td>";
 | 
					          if($row->COL_SAT_NAME != null) {
 | 
				
			||||||
 | 
					                  echo "<td>".$row->COL_SAT_NAME."</td>";
 | 
				
			||||||
 | 
					          } else {
 | 
				
			||||||
 | 
					                echo "<td>".$row->COL_BAND."</td>";
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
          echo "<td>".$row->COL_MODE."</td>";
 | 
					          echo "<td>".$row->COL_MODE."</td>";
 | 
				
			||||||
        echo "</tr>";
 | 
					        echo "</tr>";
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -262,7 +262,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				<?php $i = 0; 
 | 
									<?php $i = 0; 
 | 
				
			||||||
			 foreach ($query->result() as $row) { ?>
 | 
								 foreach ($query->result() as $row) { ?>
 | 
				
			||||||
 | 
					 | 
				
			||||||
					<?php  echo '<tr class="tr'.($i & 1).'">'; ?>
 | 
										<?php  echo '<tr class="tr'.($i & 1).'">'; ?>
 | 
				
			||||||
					<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('d/m/y', $timestamp); ?></td>
 | 
										<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('d/m/y', $timestamp); ?></td>
 | 
				
			||||||
					<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
 | 
										<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		正在加载…
	
		在新工单中引用