From aff134ab65f862a9ca6c1cd3dbe3c9b1e2a5ef80 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Thu, 27 Aug 2015 16:10:02 +0200 Subject: [PATCH] Fix #3289 Salaries module shows amounts with currency symbol unlike the rest of Dolibarr --- htdocs/compta/salaries/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/salaries/index.php b/htdocs/compta/salaries/index.php index 678b3bfaa2e75..008a0ef3e2cf3 100644 --- a/htdocs/compta/salaries/index.php +++ b/htdocs/compta/salaries/index.php @@ -168,7 +168,7 @@ // Type print ''.$langs->trans("PaymentTypeShort".$obj->payment_code).' '.$obj->num_payment.''; // Amount - print "".price($obj->amount,0,$outputlangs,1,-1,-1,$conf->currency).""; + print "".price($obj->amount).""; print " "; print "\n"; @@ -177,7 +177,7 @@ $i++; } print ''.$langs->trans("Total").''; - print ''.price($total,0,$outputlangs,1,-1,-1,$conf->currency).""; + print ''.price($total).""; print " "; print "";