From d10e7aae416f1458548b6ebebf1ea4dc5c2a878f Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 5 Feb 2015 18:11:15 +0100 Subject: [PATCH] =?UTF-8?q?emp=C3=AAche=20la=20cr=C3=A9ation=20d'une=20ent?= =?UTF-8?q?it=C3=A9=20si=20une=20organisation=20ayant=20le=20m=C3=AAme=20c?= =?UTF-8?q?ode=20existe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- local/conf/LSobjects/config.LSobjects.LSsupannEntite.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/local/conf/LSobjects/config.LSobjects.LSsupannEntite.php b/local/conf/LSobjects/config.LSobjects.LSsupannEntite.php index edecd00..dee33bc 100644 --- a/local/conf/LSobjects/config.LSobjects.LSsupannEntite.php +++ b/local/conf/LSobjects/config.LSobjects.LSsupannEntite.php @@ -168,10 +168,16 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array ( ), 'validation' => array ( array ( - 'msg' => "Cet identifiant est déjà utilisé.", + 'msg' => "Cet identifiant est déjà utilisé par une autre entité.", 'object_type' => 'LSsupannEntite', 'filter' => '(supannCodeEntite=%{val})', 'result' => 0 + ), + array ( + 'msg' => "Cet identifiant est déjà utilisé par une organisation.", + 'object_type' => 'LSsupannOrg', + 'filter' => '(supannCodeEntite=%{val})', + 'result' => 0 ) ), 'view' => 1,