diff --git a/htdocs/compta/tva/card.php b/htdocs/compta/tva/card.php index 674e800a168..74a98641772 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; }