forked from Wavyzz/dolibarr
modification de la description produit
This commit is contained in:
@@ -364,6 +364,7 @@ class Commande
|
||||
$qty = ereg_replace(',','.',$qty);
|
||||
$pu = ereg_replace(',','.',$pu);
|
||||
$desc=trim($desc);
|
||||
$product_desc=trim($desc);
|
||||
if (strlen(trim($qty))==0)
|
||||
{
|
||||
$qty=1;
|
||||
@@ -380,6 +381,7 @@ class Commande
|
||||
if ($prod->fetch($fk_product) > 0)
|
||||
{
|
||||
$desc = $desc?$desc:$prod->libelle;
|
||||
$product_desc = $product_desc?$product_desc:$prod->description;
|
||||
// multiprix
|
||||
if($conf->global->PRODUIT_MULTIPRICES == 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user