diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 1a1f1ab0830..3db849d4fab 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -995,7 +995,7 @@ if (($action == 'addline' || $action == 'addline_predef') && $user->rights->fact $pu_ttc = price2num($pu_ht * (1 + ($tva_tx/100)), 'MU'); } } - + // Define output language if (! empty($conf->global->MAIN_MULTILANGS) && ! empty($conf->global->PRODUIT_DESC_IN_THIRDPARTY_LANGUAGE)) { @@ -1008,7 +1008,7 @@ if (($action == 'addline' || $action == 'addline_predef') && $user->rights->fact $outputlangs = new Translate("",$conf); $outputlangs->setDefaultLang($newlang); } - + $desc = (! empty($prod->multilangs[$outputlangs->defaultlang]["description"])) ? $prod->multilangs[$outputlangs->defaultlang]["description"] : $prod->description; } else @@ -1757,7 +1757,6 @@ if ($action == 'create') } $text.=''; $desc=$form->textwithpicto($text,$langs->transnoentities("InvoiceAvoirDesc"),1); - //.' ('.$langs->trans("FeatureNotYetAvailable").')',$langs->transnoentities("InvoiceAvoirDesc"),1); print $desc; print ''."\n"; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index a3e38acdb38..92eb804f76a 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -1036,7 +1036,6 @@ if ($action == 'create') } $text.=''; $desc=$form->textwithpicto($text,$langs->transnoentities("InvoiceAvoirDesc"),1); - //.' ('.$langs->trans("FeatureNotYetAvailable").')',$langs->transnoentities("InvoiceAvoirDesc"),1); print $desc; print ''."\n"; */