[-] Classes : fixed bug #PSFV-328 - Round error while editing order in back office
This commit is contained in:
@@ -542,7 +542,7 @@ class OrderInvoiceCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
public function getRestPaid()
|
public function getRestPaid()
|
||||||
{
|
{
|
||||||
return $this->total_paid_tax_incl - $this->getTotalPaid();
|
return round($this->total_paid_tax_incl - $this->getTotalPaid(), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user