From: <Ex...@us...> - 2012-02-02 03:31:02
|
Revision: 4862 http://web-erp.svn.sourceforge.net/web-erp/?rev=4862&view=rev Author: ExsonQu Date: 2012-02-02 03:30:56 +0000 (Thu, 02 Feb 2012) Log Message: ----------- Fix bug 'GL entries created not balance' Modified Paths: -------------- trunk/Credit_Invoice.php Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-31 21:48:58 UTC (rev 4861) +++ trunk/Credit_Invoice.php 2012-02-02 03:30:56 UTC (rev 4862) @@ -1354,7 +1354,7 @@ '" . $PeriodNo . "', '" . $_SESSION['CompanyRecord']['debtorsact'] . "', '" . $_SESSION['CreditItems']->DebtorNo . "', - '" . -round($_SESSION['CreditItems']->total + $_SESSION['CreditItems']->FreightCost + $TaxTotal/$_SESSION['CurrencyRate'],$_SESSION['CompanyRecord']['decimalplaces']) . "' + '" . -round(($_SESSION['CreditItems']->total + $_SESSION['CreditItems']->FreightCost + $TaxTotal)/$_SESSION['CurrencyRate'],$_SESSION['CompanyRecord']['decimalplaces']) . "' )"; $ErrMsg = _('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The total debtor GL posting for the credit note could not be inserted because'); @@ -1516,4 +1516,4 @@ echo '</form>'; include('includes/footer.inc'); -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |