From 7c467f676158dd5a475d51d41342ffe3bd449f41 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 22 Apr 2005 23:17:38 +0000 Subject: [PATCH] Champ description du service optionnel --- htdocs/contrat/contrat.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/htdocs/contrat/contrat.class.php b/htdocs/contrat/contrat.class.php index b09c3a4698a..cc7f9319d03 100644 --- a/htdocs/contrat/contrat.class.php +++ b/htdocs/contrat/contrat.class.php @@ -295,12 +295,6 @@ class Contrat $qty = ereg_replace(",",".",$qty); $pu = ereg_replace(",",".",$pu); - if (! trim($desc)) - { - $this->error=$langs->trans("ErrorDescRequired"); - return -1; - } - if (strlen(trim($qty))==0) { $qty=1; @@ -317,7 +311,6 @@ class Contrat } } - $remise = 0; $price = round(ereg_replace(",",".",$pu), 2); $subprice = $price;