wugg il y a 2 ans
Parent
commit
4585887a69
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/admin/controller/Sale.php

+ 1 - 1
app/admin/controller/Sale.php

@@ -3497,7 +3497,7 @@ class Sale extends Base
             $where[] = ["os.cgdNo", 'like', '%' . $cgdNo . '%'];
         }
 //        $role = $this->checkRole();
-        $condition = [];
+        $condition ='';
 //        if (!empty($role['write']) && $this->uid != "") {
 //            // $where[]=["a.apply_id","in",$role['write']];
 //            $condition .= " (b.is_stock=1 and n.contactor = {$this->uid}) or (b.is_stock=0 and wpo.cgder_id = {$this->uid}) or a.apply_id in (" . implode(',',