From 4ea692f85a783a5c76c9b7c229674c60acf94ce3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 19 Oct 2011 13:04:03 +0200 Subject: [PATCH] =?UTF-8?q?[=20bug=20#83=20]=20Le=20montant=20du=20b=C3=A9?= =?UTF-8?q?n=C3=A9fice=20par=20tiers=20sur=20le=20menu=20'R=C3=A9sultat=20?= =?UTF-8?q?/=20Exercice'=20est=20de=20format=20incorrect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/resultat/clientfourn.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index fd436cc2ab8..04557e00b8b 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -648,7 +648,9 @@ else } } $db->free($result); - } else { + } + else + { dol_print_error($db); } print " "; @@ -662,8 +664,8 @@ else if ($mysoc->tva_assuj != 'franchise') // Assujeti { print ''; - if ($modecompta == 'CREANCES-DETTES') print ''.price(price2num($subtotal_ht)).''; - print ''.price(price2num($subtotal_ttc)).''; + if ($modecompta == 'CREANCES-DETTES') print ''.price(price2num($subtotal_ht,'MT')).''; + print ''.price(price2num($subtotal_ttc,'MT')).''; print ''; } @@ -676,16 +678,15 @@ if ($mysoc->tva_assuj != 'franchise') // Assujeti print ''; print ''.$langs->trans("Profit").''; - if ($modecompta == 'CREANCES-DETTES') print ''.price(price2num($total_ht)).''; - print ''.price(price2num($total_ttc)).''; + if ($modecompta == 'CREANCES-DETTES') print ''.price(price2num($total_ht,'MT')).''; + print ''.price(price2num($total_ttc,'MT')).''; print ''; } print ""; print '
'; +llxFooter(); $db->close(); - -llxFooter(); ?>