Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FIXED] SupplierBalsAtPeriodEnd.php this is bug or not??
08-14-2014, 05:52 PM, (This post was last modified: 08-16-2014, 04:01 AM by kelo.)
#1
[FIXED] SupplierBalsAtPeriodEnd.php this is bug or not??
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']);
Reply
08-14-2014, 07:10 PM,
#2
RE: SupplierBalsAtPeriodEnd.php this is bug or not??
Thank you - I've committed your change
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
08-25-2014, 10:01 AM,
#3
RE: [FIXED] SupplierBalsAtPeriodEnd.php this is bug or not??
Thank you too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)