[-] Classes : fixed bug #PSFV-328 - Round error while editing order in back office

This commit is contained in:
aFolletete
2012-01-06 16:41:50 +00:00
parent 0c226b3e8d
commit 91fd583cbf
+1 -1
View File
@@ -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);
}
/**