Fix: No error whan vat is not defined.
This commit is contained in:
parent
2082e1650f
commit
a0d677cd3d
@ -808,6 +808,7 @@ class CommandeFournisseur extends Commande
|
|||||||
$pu=$pu_ttc;
|
$pu=$pu_ttc;
|
||||||
}
|
}
|
||||||
$desc=trim($desc);
|
$desc=trim($desc);
|
||||||
|
if (empty($txtva)) $txtva=0;
|
||||||
|
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if ($qty < 1 && ! $fk_product)
|
if ($qty < 1 && ! $fk_product)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user