فهرست منبع

FIX Parsing of amount to pay vat

Laurent Destailleur 9 سال پیش
والد
کامیت
b4e775dd35
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      htdocs/compta/tva/card.php

+ 1 - 1
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;
 	}