2
0
forked from Wavyzz/dolibarr

Fix: optimisation du code

This commit is contained in:
Regis Houssin
2007-05-19 17:14:14 +00:00
parent 0b1d544dbd
commit b0266b641d
12 changed files with 959 additions and 1200 deletions

View File

@@ -201,10 +201,12 @@ if ($handle)
print '<a href="'.$_SERVER["PHP_SELF"].'?action=setmod&amp;value='.$file.'" alt="'.$langs->trans("Default").'">'.$langs->trans("Activate").'</a>';
}
print '</td>';
$commande=new Commande($db);
// Info
$htmltooltip='';
$nextval=$module->getNextValue($mysoc);
// Info
$htmltooltip='';
$nextval=$module->getNextValue($mysoc,$commande);
if ($nextval != $langs->trans("NotAvailable"))
{
$htmltooltip='<b>'.$langs->trans("NextValue").'</b>: '.$nextval;