webERP Forum

Full Version: [FIXED] SupplierBalsAtPeriodEnd.php this is bug or not??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hallo.. i found that the total amount at this script is not same when i recalculated manually and i found at line 81 of this line of code

Code:
$DisplayBalance = locale_number_format($SupplierBalances['balance'] - $SupplierBalances['afterdatetrans'],$_SESSION['CompanyRecord']['decimalplaces']);

i think the line should be like this:

Code:
$DisplayBalance = locale_number_format($SupplierBalances['balance'] - $SupplierBalances['afterdatetrans'] + $SupplierBalances['afterdatediffonexch'],$_SESSION['CompanyRecord']['decimalplaces']);
Thank you - I've committed your change
Thank you too.
Reference URL's