[-] Classes : fixed bug #PSFV-328 - Round error while editing order in back office
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12243 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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