From: <ice...@us...> - 2014-02-06 01:19:27
|
Revision: 6564 http://sourceforge.net/p/web-erp/reponame/6564 Author: icedlava Date: 2014-02-06 01:19:21 +0000 (Thu, 06 Feb 2014) Log Message: ----------- Payments.php - correct javascript to prevent error popup on every manual GL code entry, correct spacing. Modified Paths: -------------- trunk/Payments.php trunk/doc/Change.log Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2014-02-06 00:22:48 UTC (rev 6563) +++ trunk/Payments.php 2014-02-06 01:19:21 UTC (rev 6564) @@ -151,7 +151,7 @@ $DefaultFunctionalRate = false; } } else { - + $_SESSION['PaymentDetail' . $identifier]->AccountCurrency = $_SESSION['CompanyRecord']['currencydefault']; $_SESSION['PaymentDetail' . $identifier]->CurrDecimalPlaces = $_SESSION['CompanyRecord']['decimalplaces']; @@ -744,7 +744,7 @@ $SQL = "SELECT bankaccountname, bankaccounts.accountcode, bankaccounts.currcode - FROM bankaccounts + FROM bankaccounts INNER JOIN chartmaster ON bankaccounts.accountcode=chartmaster.accountcode INNER JOIN bankaccountusers @@ -950,12 +950,12 @@ if (isset($_POST['GLManualCode'])) { echo '<tr> <td>' . _('Enter GL Account Manually') . ':</td> - <td><input type="text" name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this, GLCode.options,\'' . _('The account code') . ' \' + this.value + \'' . _('doesnt exist') . '\')" value="'. $_POST['GLManualCode'] .'" /></td> + <td><input type="text" name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this.value, GLCode.options,\'' . _('The account code') . ' \' + this.value + \' ' . _('doesnt exist') . '\')" value="'. $_POST['GLManualCode'] .'" /></td> </tr>'; } else { echo '<tr> <td>' . _('Enter GL Account Manually') . ':</td> - <td><input type="text" name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this, GLCode.options,\'' . _('The account code') . ' \' + this.value + \'' . _('doesnt exist') . '\')" /></td> + <td><input type="text" name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this.value, GLCode.options,\'' . _('The account code') . ' \' + this.value + \' ' . _('doesnt exist') . '\')" /></td> </tr>'; } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2014-02-06 00:22:48 UTC (rev 6563) +++ trunk/doc/Change.log 2014-02-06 01:19:21 UTC (rev 6564) @@ -1,5 +1,6 @@ webERP Change Log +6/2/14 icedlava: Payments.php - correct javascript to prevent error popup on every manual GL code entry, correct spacing. 6/2/14 icedlava: BankMatching.php - correct column heading order. 2/2/14 Release 4.11.3 |