Fix: [ bug #1415 ] Intervention document model name and suppliers model names is not shown properly in module configuration
This commit is contained in:
parent
6b6261a803
commit
0810e6756a
@ -2,6 +2,9 @@
|
|||||||
English Dolibarr ChangeLog
|
English Dolibarr ChangeLog
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
||||||
|
***** ChangeLog for 3.5.4 compared to 3.5.2 *****
|
||||||
|
Fix: [ bug #1415 ] Intervention document model name and suppliers model names is not shown properly in module configuration
|
||||||
|
|
||||||
***** ChangeLog for 3.5.3 compared to 3.5.2 *****
|
***** ChangeLog for 3.5.3 compared to 3.5.2 *****
|
||||||
Fix: Error on field accountancy code for export profile of invoices.
|
Fix: Error on field accountancy code for export profile of invoices.
|
||||||
Fix: [ bug #1351 ] VIES verification link broken.
|
Fix: [ bug #1351 ] VIES verification link broken.
|
||||||
|
|||||||
@ -376,13 +376,16 @@ foreach ($dirmodels as $reldir)
|
|||||||
{
|
{
|
||||||
if (substr($file, dol_strlen($file) -12) == '.modules.php' && substr($file,0,4) == 'pdf_')
|
if (substr($file, dol_strlen($file) -12) == '.modules.php' && substr($file,0,4) == 'pdf_')
|
||||||
{
|
{
|
||||||
|
$var=!$var;
|
||||||
|
|
||||||
$name = substr($file, 4, dol_strlen($file) -16);
|
$name = substr($file, 4, dol_strlen($file) -16);
|
||||||
$classname = substr($file, 0, dol_strlen($file) -12);
|
$classname = substr($file, 0, dol_strlen($file) -12);
|
||||||
|
|
||||||
$var=!$var;
|
require_once $dir.'/'.$file;
|
||||||
|
$module = new $classname($db);
|
||||||
|
|
||||||
print '<tr '.$bc[$var].'><td>';
|
print '<tr '.$bc[$var].'><td>';
|
||||||
echo "$name";
|
print (empty($module->name)?$name:$module->name);
|
||||||
print "</td><td>\n";
|
print "</td><td>\n";
|
||||||
require_once $dir.$file;
|
require_once $dir.$file;
|
||||||
$module = new $classname($db);
|
$module = new $classname($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user