[-] Classes : fixed bug #PSFV-328 - Round error while editing order in back office
This commit is contained in:
1 parent
7ecfd83240
commit
27421df280
1 file changed
+1
-1
@@ -542,7 +542,7 @@ class OrderInvoiceCore extends ObjectModel
|
||||
*/
|
||||
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