From: <dai...@us...> - 2011-06-11 01:00:42
|
Revision: 4592 http://web-erp.svn.sourceforge.net/web-erp/?rev=4592&view=rev Author: daintree Date: 2011-06-11 01:00:36 +0000 (Sat, 11 Jun 2011) Log Message: ----------- various Modified Paths: -------------- trunk/SalesTypes.php Modified: trunk/SalesTypes.php =================================================================== --- trunk/SalesTypes.php 2011-06-09 10:33:38 UTC (rev 4591) +++ trunk/SalesTypes.php 2011-06-11 01:00:36 UTC (rev 4592) @@ -221,7 +221,7 @@ //end of ifs and buts! if (isset($SelectedType)) { - echo '<p><div class="centre"><a href="' . $_SERVER['PHP_SELF'] . '?' . SID . '">' . _('Show All Sales Types Defined') . '</a></div><p>'; + echo '<p><div class="centre"><a href="' . $_SERVER['PHP_SELF'] .'">' . _('Show All Sales Types Defined') . '</a></div></p>'; } if (! isset($_GET['delete'])) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2011-06-11 01:00:42
|
Revision: 4592 http://web-erp.svn.sourceforge.net/web-erp/?rev=4592&view=rev Author: daintree Date: 2011-06-11 01:00:36 +0000 (Sat, 11 Jun 2011) Log Message: ----------- various Modified Paths: -------------- trunk/SalesTypes.php Modified: trunk/SalesTypes.php =================================================================== --- trunk/SalesTypes.php 2011-06-09 10:33:38 UTC (rev 4591) +++ trunk/SalesTypes.php 2011-06-11 01:00:36 UTC (rev 4592) @@ -221,7 +221,7 @@ //end of ifs and buts! if (isset($SelectedType)) { - echo '<p><div class="centre"><a href="' . $_SERVER['PHP_SELF'] . '?' . SID . '">' . _('Show All Sales Types Defined') . '</a></div><p>'; + echo '<p><div class="centre"><a href="' . $_SERVER['PHP_SELF'] .'">' . _('Show All Sales Types Defined') . '</a></div></p>'; } if (! isset($_GET['delete'])) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ex...@us...> - 2014-10-22 09:07:14
|
Revision: 6929 http://sourceforge.net/p/web-erp/reponame/6929 Author: exsonqu Date: 2014-10-22 09:07:03 +0000 (Wed, 22 Oct 2014) Log Message: ----------- 22/10/14 Exson: Add Order by in SalesTypes.php. Modified Paths: -------------- trunk/SalesTypes.php Modified: trunk/SalesTypes.php =================================================================== --- trunk/SalesTypes.php 2014-10-22 01:35:44 UTC (rev 6928) +++ trunk/SalesTypes.php 2014-10-22 09:07:03 UTC (rev 6929) @@ -181,7 +181,7 @@ links to delete or edit each. These will call the same page again and allow update/input or deletion of the records*/ - $sql = "SELECT * FROM salestypes"; + $sql = "SELECT * FROM salestypes ORDER BY typeabbrev"; $result = DB_query($sql,$db); echo '<table class="selection">'; @@ -279,4 +279,4 @@ } // end if user wish to delete include('includes/footer.inc'); -?> \ No newline at end of file +?> |
From: <ex...@us...> - 2014-10-25 07:08:12
|
Revision: 6938 http://sourceforge.net/p/web-erp/reponame/6938 Author: exsonqu Date: 2014-10-25 07:08:04 +0000 (Sat, 25 Oct 2014) Log Message: ----------- 25/10/14 Exson: Add sorting feature for tables to meet different needs. Modified Paths: -------------- trunk/SalesTypes.php Modified: trunk/SalesTypes.php =================================================================== --- trunk/SalesTypes.php 2014-10-25 04:54:02 UTC (rev 6937) +++ trunk/SalesTypes.php 2014-10-25 07:08:04 UTC (rev 6938) @@ -181,13 +181,13 @@ links to delete or edit each. These will call the same page again and allow update/input or deletion of the records*/ - $sql = "SELECT * FROM salestypes ORDER BY typeabbrev"; + $sql = "SELECT typeabbrev,sales_type FROM salestypes ORDER BY typeabbrev"; $result = DB_query($sql,$db); echo '<table class="selection">'; echo '<tr> - <th>' . _('Type Code') . '</th> - <th>' . _('Type Name') . '</th> + <th class="ascending">' . _('Type Code') . '</th> + <th class="ascending">' . _('Type Name') . '</th> </tr>'; $k=0; //row colour counter |