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(); ?>