From 8202d8ed3590194c200cd8b8f13f7e45cdfbcc62 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Aug 2010 17:38:08 +0000 Subject: [PATCH] Fix in coloring negative amounts --- htdocs/compta/bank/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index af31af6becd..bfd1aba5858 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -636,7 +636,7 @@ if ($account || $_GET["ref"]) // Balance if ($action != 'search') { - if ($total >= 0) + if (price2num($total,'MT') >= 0) { print ' '.price($total).''; }