exclusion sur ape_entrep
This commit is contained in:
parent
f6a9e222c1
commit
349dde60de
@ -121,7 +121,7 @@ Class Ciblage
|
|||||||
return ($depts);
|
return ($depts);
|
||||||
}
|
}
|
||||||
protected function writeRequest($name, $valeur, $ex, $or = false) {
|
protected function writeRequest($name, $valeur, $ex, $or = false) {
|
||||||
if(in_array($name, array('adr_com_ex', 'adr_dept_ex', 'bilType_ex', 'ape_etab_ex'))) {
|
if(in_array($name, array('adr_com_ex', 'adr_dept_ex', 'bilType_ex', 'ape_etab_ex', 'ape_entrep_ex'))) {
|
||||||
if(!strstr($this->alpha, 'adr_dept') or
|
if(!strstr($this->alpha, 'adr_dept') or
|
||||||
!strstr($this->alpha, 'ape_etab') or
|
!strstr($this->alpha, 'ape_etab') or
|
||||||
!strstr($this->alpha, 'bilType') or
|
!strstr($this->alpha, 'bilType') or
|
||||||
@ -164,7 +164,7 @@ Class Ciblage
|
|||||||
protected function setAlpha($name, $valeur, $ex = false)
|
protected function setAlpha($name, $valeur, $ex = false)
|
||||||
{
|
{
|
||||||
$or = array('adr_com', 'adr_dept', 'adr_com_ex', 'adr_dept_ex');
|
$or = array('adr_com', 'adr_dept', 'adr_com_ex', 'adr_dept_ex');
|
||||||
$and = array('bilType', 'ape_etab_ex', 'ape_etab','ape_entrep', 'NaceEntrep', 'NaceEtab', 'bilType_ex');
|
$and = array('bilType', 'ape_etab_ex', 'ape_etab','ape_entrep', 'ape_entrep_ex', 'NaceEntrep', 'NaceEtab', 'bilType_ex');
|
||||||
if(!empty($this->alpha))
|
if(!empty($this->alpha))
|
||||||
$this->alpha .= ' ';
|
$this->alpha .= ' ';
|
||||||
if(in_array($name, $or)) {
|
if(in_array($name, $or)) {
|
||||||
@ -233,6 +233,9 @@ Class Ciblage
|
|||||||
protected function ape_entrep($valeur) {
|
protected function ape_entrep($valeur) {
|
||||||
$this->setAlpha('ape_entrep', $valeur);
|
$this->setAlpha('ape_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
protected function ape_entrep_ex($valeur) {
|
||||||
|
$this->setAlpha('ape_entrep_ex', $valeur, true);
|
||||||
|
}
|
||||||
protected function age_entrep($valeur) {
|
protected function age_entrep($valeur) {
|
||||||
$this->setAlpha('age_entrep', $valeur);
|
$this->setAlpha('age_entrep', $valeur);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user