lvhao 8 ore fa
parent
commit
9168a48160
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      core/CoreApp/controllers/Specialstock.php

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

@@ -3101,7 +3101,7 @@ class Specialstock extends Start_Controller {
 				$gy = $this->purchase->read($value['purchase']);
 				$purchase = $gy['title'];
 				$cpid = '';
-				$g = $this->specialstock->find_all($where.' and enter = "'.$value['enter'].'"','cpid');
+				$g = $this->specialstock->find_all($where.' and enter = "'.$value['enter'].'" '." and sku = '".$value['sku']."'",'cpid');
 				foreach ($g as $v) 
 		        {
 					if($v['cpid'] != 0)