Champ description du service optionnel

This commit is contained in:
Laurent Destailleur 2005-04-22 23:17:38 +00:00
parent 1f59420951
commit 7c467f6761

View File

@ -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;