mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
fix ajax tooltip for warehouse
This commit is contained in:
@@ -11244,12 +11244,15 @@ function getElementProperties($element_type)
|
|||||||
$classpath = 'comm/action/class';
|
$classpath = 'comm/action/class';
|
||||||
$subelement = 'Actioncomm';
|
$subelement = 'Actioncomm';
|
||||||
$module = 'agenda';
|
$module = 'agenda';
|
||||||
}
|
} elseif ($element_type == 'bank_account') {
|
||||||
if ($element_type == 'bank_account') {
|
|
||||||
$classpath = 'compta/bank/class';
|
$classpath = 'compta/bank/class';
|
||||||
$module = 'banque';
|
$module = 'banque';
|
||||||
$classfile = 'Account';
|
$classfile = 'Account';
|
||||||
$classname = 'Account';
|
$classname = 'Account';
|
||||||
|
} elseif ($element_type == 'stock') {
|
||||||
|
$classpath = 'product/stock/class';
|
||||||
|
$classfile = 'entrepot';
|
||||||
|
$classname = 'Entrepot';
|
||||||
}
|
}
|
||||||
// To work with non standard path
|
// To work with non standard path
|
||||||
if ($element_type == 'facture' || $element_type == 'invoice') {
|
if ($element_type == 'facture' || $element_type == 'invoice') {
|
||||||
|
|||||||
Reference in New Issue
Block a user