Bugfix: #16316
This commit is contained in:
parent
c17d525b78
commit
1a572bf7d9
@ -120,10 +120,10 @@ class Paiement
|
|||||||
$error = 0;
|
$error = 0;
|
||||||
|
|
||||||
// Nettoyage parametres
|
// Nettoyage parametres
|
||||||
$value = price2num($value);
|
|
||||||
$this->total = 0;
|
$this->total = 0;
|
||||||
foreach ($this->amounts as $key => $value)
|
foreach ($this->amounts as $key => $value)
|
||||||
{
|
{
|
||||||
|
$value = price2num($value);
|
||||||
$val = round($value, 2);
|
$val = round($value, 2);
|
||||||
$this->amounts[$key] = $val;
|
$this->amounts[$key] = $val;
|
||||||
$this->total += $val;
|
$this->total += $val;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user