diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index 126f61e272c..80dddd28edb 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -430,7 +430,7 @@ if ($action != 'export_csv') {
print '
';
print '| '.$accounting_account.' | ';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
- print ''.price($opening_balance).' | ';
+ print ''.price(price2num($opening_balance, 'MT')).' | ';
}
$urlzoom = '';
@@ -444,9 +444,9 @@ if ($action != 'export_csv') {
}
}
// Debit
- print ''.price($line->debit).' | ';
+ print ''.price(price2num($line->debit, 'MT')).' | ';
// Credit
- print ''.price($line->credit).' | ';
+ print ''.price(price2num($line->credit, 'MT')).' | ';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print ''.price(price2num($opening_balance + $line->debit - $line->credit, 'MT')).' | ';
@@ -467,10 +467,10 @@ if ($action != 'export_csv') {
if (!empty($show_subgroup)) {
print '
| '.$langs->trans("SubTotal").': | ';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
- print ''.price($sous_total_opening_balance).' | ';
+ print ''.price(price2num($sous_total_opening_balance, 'MT')).' | ';
}
- print ''.price($sous_total_debit).' | ';
- print ''.price($sous_total_credit).' | ';
+ print ''.price(price2num($sous_total_debit, 'MT')).' | ';
+ print ''.price(price2num($sous_total_credit, 'MT')).' | ';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '' . price(price2num($sous_total_opening_balance + $sous_total_debit - $sous_total_credit, 'MT')) . ' | ';
} else {
@@ -482,10 +482,10 @@ if ($action != 'export_csv') {
print '
| '.$langs->trans("AccountBalance").': | ';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
- print ''.price($total_opening_balance).' | ';
+ print ''.price(price2num($total_opening_balance, 'MT')).' | ';
}
- print ''.price($total_debit).' | ';
- print ''.price($total_credit).' | ';
+ print ''.price(price2num($total_debit, 'MT')).' | ';
+ print ''.price(price2num($total_credit, 'MT')).' | ';
if (!empty($conf->global->ACCOUNTANCY_SHOW_OPENING_BALANCE)) {
print '' . price(price2num($total_opening_balance + $total_debit - $total_credit, 'MT')) . ' | ';
} else {