Explorar o código

Update card.php

Frédéric FRANCE %!s(int64=7) %!d(string=hai) anos
pai
achega
fe3ce78ae4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      htdocs/accountancy/bookkeeping/card.php

+ 1 - 1
htdocs/accountancy/bookkeeping/card.php

@@ -631,7 +631,7 @@ if ($action == 'create') {
 					print "</tr>\n";
 				}
 
-				if ($total_debit != $total_credit)
+				if (price2num($total_debit) != price2num($total_credit))
 				{
 					setEventMessages(null, array($langs->trans('MvtNotCorrectlyBalanced', $total_credit, $total_debit)), 'warnings');
 				}