diff --git a/htdocs/compta/bank/treso.php b/htdocs/compta/bank/treso.php index b9274c34eb50db0e8578bc538040ec105f2a0f9d..1b9925e761cd4b7b32ef610eb3fa48ecf71da5bc 100644 --- a/htdocs/compta/bank/treso.php +++ b/htdocs/compta/bank/treso.php @@ -2,6 +2,7 @@ /* Copytight (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2008-2009 Laurent Destailleur (Eldy) <eldy@users.sourceforge.net> * Copyright (C) 2008 Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr> + * Copyright (C) 2015 Marcos GarcĂa <marcosgdf@gmail.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -318,7 +319,7 @@ if ($_REQUEST["account"] || $_REQUEST["ref"]) print "</td>"; print "<td>".$ref."</td>"; print "<td>".$refcomp."</td>"; - if ($obj->total_ttc < 0) { print "<td align=\"right\">".price($total_ttc)."</td><td> </td>"; }; + if ($obj->total_ttc < 0) { print "<td align=\"right\">".price(abs($total_ttc))."</td><td> </td>"; }; if ($obj->total_ttc >= 0) { print "<td> </td><td align=\"right\">".price($total_ttc)."</td>"; }; print '<td align="right">'.price($solde).'</td>'; print "</tr>";