From ab281663982d869c8437f9b45550486aba34c4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 28 Mar 2023 21:01:59 +0200 Subject: [PATCH] fix tooltip --- htdocs/core/lib/functions.lib.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index a757d10fd74..f8074ffcd46 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -11244,6 +11244,12 @@ function getElementProperties($element_type) $classpath = 'comm/action/class'; $subelement = 'Actioncomm'; $module = 'agenda'; + } elseif ($element_type == 'adherent_type') { + $classpath = 'adherents/class'; + $classfile = 'adherent_type'; + $module = 'adherent'; + $subelement = 'adherent_type'; + $classname = 'AdherentType'; } elseif ($element_type == 'bank_account') { $classpath = 'compta/bank/class'; $module = 'banque'; @@ -11329,6 +11335,9 @@ function getElementProperties($element_type) } elseif ($element_type == "service") { $classpath = 'product/class'; $subelement = 'product'; + } elseif ($objecttype == 'salary') { + $classpath = 'salaries/class'; + $module = 'salaries'; } if (empty($classfile)) {