This commit is contained in:
Regis Houssin 2006-04-11 13:37:54 +00:00
parent c17d525b78
commit 1a572bf7d9

View File

@ -120,10 +120,10 @@ class Paiement
$error = 0;
// Nettoyage parametres
$value = price2num($value);
$this->total = 0;
foreach ($this->amounts as $key => $value)
{
$value = price2num($value);
$val = round($value, 2);
$this->amounts[$key] = $val;
$this->total += $val;