From 15cd3794c9cb4e94fc03b8d869288061a43a33a4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Jan 2012 15:16:06 +0100 Subject: [PATCH] Removed comments --- htdocs/compta/facture.php | 5 ++--- htdocs/fourn/facture/fiche.php | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) 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"; */