From df3c1ca644d401896ff6f2a39d656ab70df23601 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 15 Oct 2012 22:13:39 +0200 Subject: [PATCH] Fix: Showing rate --- htdocs/comm/remise.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php index 3c47b38f2b9..fc4b142bcc4 100644 --- a/htdocs/comm/remise.php +++ b/htdocs/comm/remise.php @@ -114,7 +114,7 @@ if ($socid > 0) // Remise print ''; - print $langs->trans("CustomerRelativeDiscount").''.$objsoc->remise_client."%"; + print $langs->trans("CustomerRelativeDiscount").''.price2num($objsoc->remise_client)."%"; print ''; print '
'; @@ -184,7 +184,7 @@ if ($socid > 0) $tag = !$tag; print ''; print ''.dol_print_date($db->jdate($obj->dc),"dayhour").''; - print ''.$obj->remise_client.' %'; + print ''.price2num($obj->remise_client).'%'; print ''.$obj->note.''; print ''.img_object($langs->trans("ShowUser"),'user').' '.$obj->login.''; print '';