浏览代码

Update card.php

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');
 				}