diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index 21ae4759447..fe797cc3e06 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -274,7 +274,7 @@ if ($action != 'export_csv')
{
// Affiche un Sous-Total par compte comptable
if ($displayed_account != "") {
- print '
| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price($sous_total_credit - $sous_total_debit) . ' | ';
+ print '
| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price(price2num($sous_total_credit - $sous_total_debit)) . ' | ';
print " | \n";
print '
';
}
@@ -305,11 +305,11 @@ if ($action != 'export_csv')
$sous_total_credit += $line->credit;
}
- print '| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price($sous_total_credit - $sous_total_debit) . ' | ';
+ print '
| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price(price2num($sous_total_credit - $sous_total_debit)) . ' | ';
print " | \n";
print '
';
- print '| ' . $langs->trans("AccountBalance") . ': | ' . price($total_debit) . ' | ' . price($total_credit) . ' | ' . price($total_credit - $total_debit) . ' | ';
+ print '
| ' . $langs->trans("AccountBalance") . ': | ' . price($total_debit) . ' | ' . price($total_credit) . ' | ' . price(price2num($total_credit - $total_debit)) . ' | ';
print " | \n";
print '
';