diff --git a/htdocs/compta/tva/card.php b/htdocs/compta/tva/card.php index 674e800a1681335335381dbfd71aa8f33b60eaca..74a98641772198d49ecd3c57fdc697292477d5b8 100644 --- a/htdocs/compta/tva/card.php +++ b/htdocs/compta/tva/card.php @@ -71,7 +71,7 @@ if ($action == 'add' && $_POST["cancel"] <> $langs->trans("Cancel")) $tva->datev=$datev; $tva->datep=$datep; - $amount = GETPOST("amount"); + $amount = price2num(GETPOST("amount")); if ($refund == 1) { $amount= -$amount; }