Frédéric FRANCE преди 7 години
родител
ревизия
fe3ce78ae4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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');
 				}