diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php
index 936adb482d2..915fa4de771 100644
--- a/htdocs/compta/resultat/clientfourn.php
+++ b/htdocs/compta/resultat/clientfourn.php
@@ -1520,15 +1520,17 @@ $hookmanager->initHooks(array('externalbalance'));
$reshook = $hookmanager->executeHooks('addBalanceLine', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
print $hookmanager->resPrint;
+
+
// Total
print '
';
-print '| | ';
+print ' | ';
print '
';
print '| '.$langs->trans("Income").' | ';
if ($modecompta == 'CREANCES-DETTES') {
print ''.price(price2num($total_ht_income, 'MT')).' | ';
-} else {
+} elseif ($modecompta == 'RECETTES-DEPENSES') {
print ' | ';
}
print ''.price(price2num($total_ttc_income, 'MT')).' | ';
@@ -1536,7 +1538,7 @@ print '
';
print '| '.$langs->trans("Outcome").' | ';
if ($modecompta == 'CREANCES-DETTES') {
print ''.price(price2num(-$total_ht_outcome, 'MT')).' | ';
-} else {
+} elseif ($modecompta == 'RECETTES-DEPENSES') {
print ' | ';
}
print ''.price(price2num(-$total_ttc_outcome, 'MT')).' | ';
@@ -1544,7 +1546,7 @@ print '
';
print '| '.$langs->trans("Profit").' | ';
if ($modecompta == 'CREANCES-DETTES') {
print ''.price(price2num($total_ht, 'MT')).' | ';
-} else {
+} elseif ($modecompta == 'RECETTES-DEPENSES') {
print ' | ';
}
print ''.price(price2num($total_ttc, 'MT')).' | ';