2
0
forked from Wavyzz/dolibarr

Uniformize code: property "nom" for thirdparty is aliased into "name"

everywhere.
This commit is contained in:
Laurent Destailleur
2014-10-04 17:20:17 +02:00
parent 69475b7bf8
commit 97eec37f1c
162 changed files with 710 additions and 699 deletions

View File

@@ -287,7 +287,7 @@ if ($conf->product->enabled || $conf->product->service)
{
print $langs->trans("BarCodeNumberManager").": ";
$objproduct=new Product($db);
print '<b>'.$modBarCodeProduct->nom.'</b> - '.$langs->trans("NextValue").': <b>'.$modBarCodeProduct->getNextValue($objproduct).'</b><br>';
print '<b>'.(isset($modBarCodeProduct->name)?$modBarCodeProduct->name:$modBarCodeProduct->nom).'</b> - '.$langs->trans("NextValue").': <b>'.$modBarCodeProduct->getNextValue($objproduct).'</b><br>';
$disabled=0;
}
else