From: <rc...@us...> - 2014-09-27 17:06:50
|
Revision: 6900 http://sourceforge.net/p/web-erp/reponame/6900 Author: rchacon Date: 2014-09-27 17:06:42 +0000 (Sat, 27 Sep 2014) Log Message: ----------- Add ascending class to have sortable columns, complete table-heads and add documentation. Modified Paths: -------------- trunk/AccountSections.php trunk/CustomerInquiry.php trunk/GLAccounts.php trunk/doc/Change.log Modified: trunk/AccountSections.php =================================================================== --- trunk/AccountSections.php 2014-09-27 14:45:09 UTC (rev 6899) +++ trunk/AccountSections.php 2014-09-27 17:06:42 UTC (rev 6900) @@ -1,14 +1,11 @@ <?php - /* $Id$*/ include('includes/session.inc'); - $Title = _('Account Sections'); - -$ViewTopic = 'GeneralLedger'; -$BookMark = 'AccountSections'; - +/* Manual links before header.inc */ +$ViewTopic = 'GeneralLedger';// Filename in ManualContents.php's TOC. +$BookMark = 'AccountSections';// Anchor's id in the manual's html document. include('includes/header.inc'); // SOME TEST TO ENSURE THAT AT LEAST INCOME AND COST OF SALES ARE THERE @@ -169,12 +166,13 @@ $ErrMsg = _('Could not get account group sections because'); $result = DB_query($sql,$db,$ErrMsg); - echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '<br /></p>'; + echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" />' . ' ' . $Title . '</p><br />'; echo '<table class="selection"> <tr> <th class="ascending">' . _('Section Number') . '</th> <th class="ascending">' . _('Section Description') . '</th> + <th colspan="2"> </th> </tr>'; $k=0; //row colour counter Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2014-09-27 14:45:09 UTC (rev 6899) +++ trunk/CustomerInquiry.php 2014-09-27 17:06:42 UTC (rev 6900) @@ -1,4 +1,5 @@ <?php +/* $Id$*/ include('includes/session.inc'); $Title = _('Customer Inquiry'); @@ -164,7 +165,7 @@ </tr> </table>'; -echo '<form onSubmit="return VerifyForm(this);" action="', htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8'), '" method="post" class="noPrint"> +echo '<div class="centre"><form onSubmit="return VerifyForm(this);" action="', htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8'), '" method="post" class="noPrint"> <input type="hidden" name="FormID" value="', $_SESSION['FormID'], '" />'; echo _('Show all transactions after'), ':<input tabindex="1" type="text" required="required" class="date" alt="', $_SESSION['DefaultDateFormat'], '" id="datepicker" name="TransAfterDate" value="', $_POST['TransAfterDate'], '" minlength="0" maxlength="10" size="12" />'; @@ -187,7 +188,7 @@ echo '</select>'; echo '<input tabindex="3" type="submit" name="Refresh Inquiry" value="', _('Refresh Inquiry'), '" /> - </form>'; + </form></div>'; $DateAfterCriteria = FormatDateForSQL($_POST['TransAfterDate']); @@ -231,11 +232,11 @@ echo '<table class="selection"> <tr> - <th class="SortableColumn">', _('Type'), '</th> - <th class="SortableColumn">', _('Number'), '</th> - <th class="SortableColumn">', _('Date'), '</th> + <th class="ascending">', _('Type'), '</th> + <th class="ascending">', _('Number'), '</th> + <th class="ascending">', _('Date'), '</th> <th>', _('Branch'), '</th> - <th class="SortableColumn">', _('Reference'), '</th> + <th class="ascending">', _('Reference'), '</th> <th>', _('Comments'), '</th> <th>', _('Order'), '</th> <th>', _('Total'), '</th> Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2014-09-27 14:45:09 UTC (rev 6899) +++ trunk/GLAccounts.php 2014-09-27 17:06:42 UTC (rev 6900) @@ -3,10 +3,9 @@ include('includes/session.inc'); $Title = _('Chart of Accounts Maintenance'); - -$ViewTopic= 'GeneralLedger'; -$BookMark = 'GLAccounts'; - +/* Manual links before header.inc */ +$ViewTopic= 'GeneralLedger';// Filename in ManualContents.php's TOC. +$BookMark = 'GLAccounts';// Anchor's id in the manual's html document. include('includes/header.inc'); if (isset($_POST['SelectedAccount'])){ @@ -15,8 +14,8 @@ $SelectedAccount = $_GET['SelectedAccount']; } -echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/transactions.png" title="' . - _('General Ledger Accounts') . '" alt="" />' . ' ' . $Title . '</p>'; +echo '<p class="page_title_text"><img alt="" src="'.$RootPath.'/css/'.$Theme.'/images/transactions.png" title="' . + _('General Ledger Accounts') . '" />' . ' ' . $Title . '</p>'; if (isset($_POST['submit'])) { @@ -292,10 +291,11 @@ echo '<br /><table class="selection">'; echo '<tr> - <th>' . _('Account Code') . '</th> - <th>' . _('Account Name') . '</th> - <th>' . _('Account Group') . '</th> - <th>' . _('P/L or B/S') . '</th> + <th class="ascending">' . _('Account Code') . '</th> + <th class="ascending">' . _('Account Name') . '</th> + <th class="ascending">' . _('Account Group') . '</th> + <th class="ascending">' . _('P/L or B/S') . '</th> + <th colspan="2"> </th> </tr>'; $k=0; //row colour counter @@ -340,4 +340,4 @@ } include('includes/footer.inc'); -?> +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2014-09-27 14:45:09 UTC (rev 6899) +++ trunk/doc/Change.log 2014-09-27 17:06:42 UTC (rev 6900) @@ -1,9 +1,10 @@ webERP Change Log +27/09/14 RChacon: Add ascending class to have sortable columns, complete table-heads and add documentation. 21/9/14 Phil: Tidy up Dashboard to remove redundant code etc 20/9/14 Phil: Move the DB Maintenance/GetConfig/Exchange rates update/audit trail purge inside UserLogin.php to ensure they do no add unecessary overhead to every page 20/9/14 Bob Thomas: StockStatus incorrectly displaying quantity on order extended by conversion units -11/09/14 RChacon: Add ascending class to PaymentMethods.php to have sortable columns. +19/09/14 RChacon: Add ascending class to PaymentMethods.php to have sortable columns. 17/9/14 Phil: Moved the audit log purge to occur if DB_Maintenance is set to run 16/9/14 Phil: Added BNZ GIFTS format for bank account transaction imports 15/09/14 Exson: fixed the date format errors in WorkOrderEntry.php. |