CMXX - Updated salesid for admin
This commit is contained in:
@@ -33,7 +33,8 @@ switch ($permission) {
|
||||
$whereclause .= '';
|
||||
break;
|
||||
case '3':
|
||||
$whereclause .= '';
|
||||
$condition = '__salesid___'.$partner->salesid.'___soldto___%';
|
||||
$whereclause = ' e.accounthierarchy like "'.$condition.'" AND ';
|
||||
break;
|
||||
case '2':
|
||||
$condition = '__salesid___'.$partner->salesid.'___soldto___'.substr($partner->soldto, 0, strpos($partner->soldto, "-")).$soldto_search;
|
||||
|
||||
Reference in New Issue
Block a user