From 4c3a96da08992b02fa497cf2b33fc6fe8ccaa3e2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 Feb 2021 02:57:08 +0100 Subject: [PATCH] FIX #16150 --- htdocs/compta/bank/list.php | 2 +- htdocs/core/boxes/box_comptes.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php index f3efea15235..a7177b78b5a 100644 --- a/htdocs/compta/bank/list.php +++ b/htdocs/compta/bank/list.php @@ -576,7 +576,7 @@ foreach ($accounts as $key=>$type) if (!empty($arrayfields['balance']['checked'])) { print ''; - print ''.price($solde, 0, $langs, 0, -1, -1, $objecttmp->currency_code).''; + print ''.price($solde, 0, $langs, 1, -1, -1, $objecttmp->currency_code).''; print ''; if (!$i) $totalarray['nbfield']++; if (!$i) $totalarray['pos'][$totalarray['nbfield']] = 'balance'; diff --git a/htdocs/core/boxes/box_comptes.php b/htdocs/core/boxes/box_comptes.php index 53be2725680..f09a80f0227 100644 --- a/htdocs/core/boxes/box_comptes.php +++ b/htdocs/core/boxes/box_comptes.php @@ -135,7 +135,7 @@ class box_comptes extends ModeleBoxes $this->info_box_contents[$line][] = array( 'td' => 'class="right nowraponall"', - 'text' => price($solde, 0, $langs, 0, -1, -1, $objp->currency_code) + 'text' => price($solde, 0, $langs, 1, -1, -1, $objp->currency_code) ); $line++;