Add function codesdepts

This commit is contained in:
Michael RICOIS 2013-05-22 14:59:03 +00:00
parent fc5cdc796e
commit 4ba0a041bb

View File

@ -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 ) {