Add function codesdepts
This commit is contained in:
parent
fc5cdc796e
commit
4ba0a041bb
@ -1084,6 +1084,17 @@ class Ciblage
|
||||
}
|
||||
}
|
||||
|
||||
protected function codesdepts($value)
|
||||
{
|
||||
if ( array_key_exists('in', $value) && is_array($value['in']) && count($value['in'])>0 ) {
|
||||
$this->setFilter('adr_dep', $value['in']);
|
||||
}
|
||||
|
||||
if ( array_key_exists('ex', $value) && is_array($value['ex']) && count($value['ex'])>0 ) {
|
||||
$this->setFilter('adr_dep', $value['ex']);
|
||||
}
|
||||
}
|
||||
|
||||
protected function codespostaux($value)
|
||||
{
|
||||
if ( array_key_exists('in', $value) && is_array($value['in']) && count($value['in'])>0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user