From: <ex...@us...> - 2013-07-21 16:55:56
|
Revision: 6129 http://sourceforge.net/p/web-erp/reponame/6129 Author: exsonqu Date: 2013-07-21 16:55:54 +0000 (Sun, 21 Jul 2013) Log Message: ----------- 22/7/2013 Exson: Fixed the document.form not defined error in GLJournal.php. Modified Paths: -------------- trunk/GLJournal.php Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2013-07-21 16:47:10 UTC (rev 6128) +++ trunk/GLJournal.php 2013-07-21 16:55:54 UTC (rev 6129) @@ -242,7 +242,7 @@ } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" id="form">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" name="form">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -354,11 +354,11 @@ echo '</tr> <tr> <th>' . _('Debit') . '</th> - <td><input type="text" class="number" name="Debit" onchange="eitherOr(this, Credit)" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" name="Debit" onchange="eitherOr(this,Credit)" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <th>' . _('Credit') . '</th> - <td><input type="text" class="number" name="Credit" onchange="eitherOr(this, Debit)" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" name="Credit" onchange="eitherOr(this,Debit)" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <td></td> @@ -469,4 +469,4 @@ echo '</div>'; echo '</form>'; include('includes/footer.inc'); -?> \ No newline at end of file +?> |
From: <dai...@us...> - 2014-07-30 10:09:23
|
Revision: 6798 http://sourceforge.net/p/web-erp/reponame/6798 Author: daintree Date: 2014-07-30 10:09:15 +0000 (Wed, 30 Jul 2014) Log Message: ----------- Number format validation not required for GL accounts now text account codes are allowed Modified Paths: -------------- trunk/GLJournal.php Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2014-07-29 18:37:18 UTC (rev 6797) +++ trunk/GLJournal.php 2014-07-30 10:09:15 UTC (rev 6798) @@ -322,7 +322,7 @@ if (!isset($_POST['GLManualCode'])) { $_POST['GLManualCode']=''; } -echo '<td><input class="number" type="text" autofocus="autofocus" name="GLManualCode" maxlength="12" size="12" onchange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; +echo '<td><input type="text" autofocus="autofocus" name="GLManualCode" maxlength="12" size="12" onchange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; $sql="SELECT accountcode, accountname |
From: <ex...@us...> - 2015-04-04 01:36:43
|
Revision: 7259 http://sourceforge.net/p/web-erp/reponame/7259 Author: exsonqu Date: 2015-04-04 01:36:35 +0000 (Sat, 04 Apr 2015) Log Message: ----------- 04/04/15 Exson: Fixed the bug that Credit and Debit submit amount was duplicated processed by local_number_format function. Modified Paths: -------------- trunk/GLJournal.php Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2015-04-03 15:41:23 UTC (rev 7258) +++ trunk/GLJournal.php 2015-04-04 01:36:35 UTC (rev 7259) @@ -175,7 +175,7 @@ unset($_POST['GLManualCode']); } else { $myrow = DB_fetch_array($Result); - $_SESSION['JournalDetail']->add_to_glanalysis(filter_number_format($_POST['GLAmount']), + $_SESSION['JournalDetail']->add_to_glanalysis($_POST['GLAmount'], $_POST['GLNarrative'], $_POST['GLManualCode'], $myrow['accountname'], @@ -215,7 +215,7 @@ $SQL = "SELECT accountname FROM chartmaster WHERE accountcode='" . $_POST['GLCode'] . "'"; $Result=DB_query($SQL); $myrow=DB_fetch_array($Result); - $_SESSION['JournalDetail']->add_to_glanalysis(filter_number_format($_POST['GLAmount']), + $_SESSION['JournalDetail']->add_to_glanalysis($_POST['GLAmount'], $_POST['GLNarrative'], $_POST['GLCode'], $myrow['accountname'], |
From: <ex...@us...> - 2015-04-26 02:38:14
|
Revision: 7274 http://sourceforge.net/p/web-erp/reponame/7274 Author: exsonqu Date: 2015-04-26 02:38:07 +0000 (Sun, 26 Apr 2015) Log Message: ----------- 26/04/15 Exson: Fixed the account code cannot be key in directly bug in GLJournal.php, reported by Akits. Modified Paths: -------------- trunk/GLJournal.php Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2015-04-26 02:36:16 UTC (rev 7273) +++ trunk/GLJournal.php 2015-04-26 02:38:07 UTC (rev 7274) @@ -322,7 +322,7 @@ if (!isset($_POST['GLManualCode'])) { $_POST['GLManualCode']=''; } -echo '<td><input type="text" autofocus="autofocus" name="GLManualCode" maxlength="12" size="12" onchange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; +echo '<td><input type="text" autofocus="autofocus" name="GLManualCode" maxlength="12" size="12" onchange="inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; $sql="SELECT accountcode, accountname |