Code comment
This commit is contained in:
parent
141df52dd6
commit
8000777864
@ -154,7 +154,7 @@ class Paiement extends CommonObject
|
|||||||
// Clean parameters
|
// Clean parameters
|
||||||
$totalamount = 0;
|
$totalamount = 0;
|
||||||
$atleastonepaymentnotnull = 0;
|
$atleastonepaymentnotnull = 0;
|
||||||
foreach ($this->amounts as $key => $value) // How payment is dispatch
|
foreach ($this->amounts as $key => $value) // How payment is dispatched (invoice id => amount)
|
||||||
{
|
{
|
||||||
$newvalue = price2num($value,'MT');
|
$newvalue = price2num($value,'MT');
|
||||||
$this->amounts[$key] = $newvalue;
|
$this->amounts[$key] = $newvalue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user