lvhao 18 jam lalu
induk
melakukan
813b260509
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      core/CoreApp/controllers/Whlabel.php

+ 1 - 1
core/CoreApp/controllers/Whlabel.php

@@ -1113,7 +1113,7 @@ class Whlabel extends Start_Controller
 				
 				
 				$rows[$key]['cs'] =  $u9_info['jm'];
 				$rows[$key]['cs'] =  $u9_info['jm'];
 				if(empty($value['details'])){
 				if(empty($value['details'])){
-					$sd = $this->whlabel->find_all($where . ' and sku = "' . $value['sku'] . '" and warehouse = "' . $value['warehouse'] . '" and features = "' . $value['features'] . '"', 'details,cpid,cpbz,state');
+					$sd = $this->whlabel->find_all($where . ' and sku = "' . $value['sku'] . '" and warehouse = "' . $value['warehouse'] . '" and features = "' . $value['features'] . '" and details = ""', 'details,cpid,cpbz,state');
 				}else{
 				}else{
 					$sd = $this->whlabel->find_all($where . ' and sku = "' . $value['sku'] . '" and warehouse = "' . $value['warehouse'] . '" and features = "' . $value['features'] . '"  and details = "' . $value['details'] . '"', 'details,cpid,cpbz,state');
 					$sd = $this->whlabel->find_all($where . ' and sku = "' . $value['sku'] . '" and warehouse = "' . $value['warehouse'] . '" and features = "' . $value['features'] . '"  and details = "' . $value['details'] . '"', 'details,cpid,cpbz,state');
 				}
 				}