Merge pull request #7783 from frederic34/patch-2

Update card.php
This commit is contained in:
Laurent Destailleur 2017-11-11 17:36:51 +01:00 committed by GitHub
commit 3889941406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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