[-] 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:
1 parent
e6a58a51d8
commit
925c1245e3
1 file changed
+1
-1
@@ -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