From: <tim...@us...> - 2011-04-01 19:34:50
|
Revision: 4531 http://web-erp.svn.sourceforge.net/web-erp/?rev=4531&view=rev Author: tim_schofield Date: 2011-04-01 19:34:44 +0000 (Fri, 01 Apr 2011) Log Message: ----------- Correction for non English languages Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2011-04-01 12:40:09 UTC (rev 4530) +++ trunk/PcAuthorizeExpenses.php 2011-04-01 19:34:44 UTC (rev 4531) @@ -94,7 +94,7 @@ while ($myrow=DB_fetch_array($result)) { //update database if update pressed - if ((isset($_POST['submit']) and $_POST['submit']=='Update') AND isset($_POST[$myrow['counterindex']])){ + if ((isset($_POST['submit']) and $_POST['submit']==_('Update')) AND isset($_POST[$myrow['counterindex']])){ $PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db); @@ -296,4 +296,4 @@ echo '</form>'; } /*end of else not submit */ 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. |
From: <tim...@us...> - 2011-04-01 19:34:50
|
Revision: 4531 http://web-erp.svn.sourceforge.net/web-erp/?rev=4531&view=rev Author: tim_schofield Date: 2011-04-01 19:34:44 +0000 (Fri, 01 Apr 2011) Log Message: ----------- Correction for non English languages Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2011-04-01 12:40:09 UTC (rev 4530) +++ trunk/PcAuthorizeExpenses.php 2011-04-01 19:34:44 UTC (rev 4531) @@ -94,7 +94,7 @@ while ($myrow=DB_fetch_array($result)) { //update database if update pressed - if ((isset($_POST['submit']) and $_POST['submit']=='Update') AND isset($_POST[$myrow['counterindex']])){ + if ((isset($_POST['submit']) and $_POST['submit']==_('Update')) AND isset($_POST[$myrow['counterindex']])){ $PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db); @@ -296,4 +296,4 @@ echo '</form>'; } /*end of else not submit */ 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. |
From: <Ex...@us...> - 2012-03-31 14:41:03
|
Revision: 5179 http://web-erp.svn.sourceforge.net/web-erp/?rev=5179&view=rev Author: ExsonQu Date: 2012-03-31 14:40:57 +0000 (Sat, 31 Mar 2012) Log Message: ----------- 31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update' Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-03-31 14:35:27 UTC (rev 5178) +++ trunk/PcAuthorizeExpenses.php 2012-03-31 14:40:57 UTC (rev 5179) @@ -101,8 +101,8 @@ while ($myrow=DB_fetch_array($result)) { $CurrDecimalPlaces = $myrow['decimalplaces']; //update database if update pressed - if ((isset($_POST['Submit']) - AND $_POST['Submit']=='Update') + if (isset($_POST['Submit']) + AND $_POST['Submit']==_('Update') AND isset($_POST[$myrow['counterindex']])){ $PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db); @@ -325,4 +325,4 @@ echo '</form>'; } /*end of else not submit */ 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. |
From: <Ex...@us...> - 2012-03-31 14:41:03
|
Revision: 5179 http://web-erp.svn.sourceforge.net/web-erp/?rev=5179&view=rev Author: ExsonQu Date: 2012-03-31 14:40:57 +0000 (Sat, 31 Mar 2012) Log Message: ----------- 31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update' Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-03-31 14:35:27 UTC (rev 5178) +++ trunk/PcAuthorizeExpenses.php 2012-03-31 14:40:57 UTC (rev 5179) @@ -101,8 +101,8 @@ while ($myrow=DB_fetch_array($result)) { $CurrDecimalPlaces = $myrow['decimalplaces']; //update database if update pressed - if ((isset($_POST['Submit']) - AND $_POST['Submit']=='Update') + if (isset($_POST['Submit']) + AND $_POST['Submit']==_('Update') AND isset($_POST[$myrow['counterindex']])){ $PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db); @@ -325,4 +325,4 @@ echo '</form>'; } /*end of else not submit */ 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. |
From: <te...@us...> - 2016-01-13 03:03:26
|
Revision: 7443 http://sourceforge.net/p/web-erp/reponame/7443 Author: tehonu Date: 2016-01-13 03:03:24 +0000 (Wed, 13 Jan 2016) Log Message: ----------- Correction of Type = 2, to prevent error in GLAccountInquiry modification. Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2016-01-13 02:41:12 UTC (rev 7442) +++ trunk/PcAuthorizeExpenses.php 2016-01-13 03:03:24 UTC (rev 7443) @@ -211,7 +211,7 @@ amount, currcode) VALUES ('". $ReceiptTransNo . "', - 1, + 2, '" . $AccountFrom . "', '" . $Narrative . "', 1, |
From: <te...@us...> - 2016-08-06 11:40:13
|
Revision: 7581 http://sourceforge.net/p/web-erp/reponame/7581 Author: tehonu Date: 2016-08-06 11:40:10 +0000 (Sat, 06 Aug 2016) Log Message: ----------- Added ORDER BY in query Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2016-08-05 18:05:50 UTC (rev 7580) +++ trunk/PcAuthorizeExpenses.php 2016-08-06 11:40:10 UTC (rev 7581) @@ -306,7 +306,8 @@ $SQL = "SELECT tabcode,authorizer FROM pctabs - WHERE authorizer LIKE '%" . $_SESSION['UserID'] . "%'"; + WHERE authorizer LIKE '%" . $_SESSION['UserID'] . "%' + ORDER BY tabcode"; $result = DB_query($SQL); |