diff --git a/htdocs/adherents/cotisations.php b/htdocs/adherents/cotisations.php index f3061b64eae..c15d2cd708d 100644 --- a/htdocs/adherents/cotisations.php +++ b/htdocs/adherents/cotisations.php @@ -197,7 +197,7 @@ if ($result) while ($i < $num && $i < $conf->liste_limit) { $objp = $db->fetch_object($result); - $total+=price($objp->cotisation); + $total+=$objp->cotisation; $cotisation->ref=$objp->crowid; $cotisation->id=$objp->crowid; diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 4ce09b04c4a..384ee008ad7 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -279,7 +279,7 @@ krsort($Total); foreach ($Total as $key=>$value) { $var=!$var; - print "$key".price($value)."".$Number[$key]."".price($value/$Number[$key])."\n"; + print "$key".price($value)."".$Number[$key]."".price(price2num($value/$Number[$key],'MT'))."\n"; } // Total