parent
8000777864
commit
9253fed754
@ -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 dispatched (invoice id => amount)
|
foreach ($this->amounts as $key => $value) // How payment is dispatch
|
||||||
{
|
{
|
||||||
$newvalue = price2num($value,'MT');
|
$newvalue = price2num($value,'MT');
|
||||||
$this->amounts[$key] = $newvalue;
|
$this->amounts[$key] = $newvalue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user