Champ description du service optionnel
This commit is contained in:
parent
1f59420951
commit
7c467f6761
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user