Skip to content
Snippets Groups Projects
Commit 9065ff18 authored by Regis Houssin's avatar Regis Houssin
Browse files

Uniformisation des constantes

parent 8578bc8f
No related branches found
No related tags found
No related merge requests found
......@@ -1033,7 +1033,7 @@ if ($_GET['propalid'] > 0)
else print img_object($langs->trans('ShowProduct'),'product');
print ' '.$objp->ref.'</a>';
print ' - '.nl2br($objp->product);
if ($conf->global->PROPAL_ADD_PROD_DESC && !$conf->global->PRODUIT_CHANGE_PROD_DESC)
if ($conf->global->PROPALE_ADD_PROD_DESC && !$conf->global->PRODUIT_CHANGE_PROD_DESC)
{
print '<br>'.nl2br($objp->product_desc);
}
......
......@@ -84,7 +84,7 @@ class modPropale extends DolibarrModules
$this->const[1][3] = 'Nom du gestionnaire de numérotation des propales';
$this->const[1][4] = 0;
$this->const[2][0] = "PROPAL_ADD_PROD_DESC";
$this->const[2][0] = "PROPALE_ADD_PROD_DESC";
$this->const[2][1] = "chaine";
$this->const[2][2] = "0";
$this->const[2][3] = "Mettre à 1 pour voir la description d\'un produit dans une propale";
......
......@@ -238,7 +238,7 @@ class pdf_propale_azur extends ModelePDFPropales
}
// Ajoute description complète du produit
if ($conf->global->PROPAL_ADD_PROD_DESC && !$conf->global->PRODUIT_CHANGE_PROD_DESC)
if ($conf->global->PROPALE_ADD_PROD_DESC && !$conf->global->PRODUIT_CHANGE_PROD_DESC)
{
if ($propale->lignes[$i]->product_desc && $propale->lignes[$i]->product_desc!=$propale->lignes[$i]->libelle && $propale->lignes[$i]->product_desc!=$propale->lignes[$i]->desc)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment