From: <dai...@us...> - 2013-08-22 07:47:48
|
Revision: 6287 http://sourceforge.net/p/web-erp/reponame/6287 Author: daintree Date: 2013-08-22 07:47:44 +0000 (Thu, 22 Aug 2013) Log Message: ----------- Tims nice modification to just use the class name to determine when to apply the colum sorting function Modified Paths: -------------- trunk/AccountGroups.php trunk/AccountSections.php trunk/BankMatching.php trunk/ImportBankTransAnalysis.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/Prices.php trunk/PricesByCost.php trunk/PurchData.php trunk/SalesCategories.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/StockTransfers.php trunk/StockUsage.php trunk/SuppContractChgs.php trunk/SuppCreditGRNs.php trunk/SuppFixedAssetChgs.php trunk/SuppInvGRNs.php trunk/SuppTransGLAnalysis.php trunk/SupplierAllocations.php trunk/SupplierContacts.php trunk/SupplierInquiry.php trunk/SupplierTenderCreate.php trunk/SupplierTenders.php trunk/SupplierTypes.php trunk/TaxAuthorities.php trunk/TaxAuthorityRates.php trunk/TaxCategories.php trunk/TaxGroups.php trunk/TaxProvinces.php trunk/TopItems.php trunk/UnitsOfMeasure.php trunk/WorkCentres.php trunk/javascripts/MiscFunctions.js Modified: trunk/AccountGroups.php =================================================================== --- trunk/AccountGroups.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/AccountGroups.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -287,11 +287,11 @@ echo '<table class="selection"> <tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Group Name') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Section') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Sequence In TB') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Profit and Loss') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Parent Group') . '</th> + <th class="ascending">' . _('Group Name') . '</th> + <th class="ascending">' . _('Section') . '</th> + <th class="ascending">' . _('Sequence In TB') . '</th> + <th class="ascending">' . _('Profit and Loss') . '</th> + <th class="ascending">' . _('Parent Group') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/AccountSections.php =================================================================== --- trunk/AccountSections.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/AccountSections.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -173,8 +173,8 @@ echo '<table class="selection"> <tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Section Number') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Section Description') . '</th> + <th class="ascending">' . _('Section Number') . '</th> + <th class="ascending">' . _('Section Description') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/BankMatching.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -272,12 +272,12 @@ echo '<table cellpadding="2" class="selection"> <tr> - <th class="ascending" onClick="SortSelect(this)">'. _('Cheque No') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Ref') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . $TypeName . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Date') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Amount') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Outstanding') . '</th> + <th class="ascending">'. _('Cheque No') . '</th> + <th class="ascending">' . _('Ref') . '</th> + <th class="ascending">' . $TypeName . '</th> + <th class="ascending">' . _('Date') . '</th> + <th class="ascending">' . _('Amount') . '</th> + <th class="ascending">' . _('Outstanding') . '</th> <th colspan="3">' . _('Clear') . ' / ' . _('Unclear') . '</th> </tr>'; Modified: trunk/ImportBankTransAnalysis.php =================================================================== --- trunk/ImportBankTransAnalysis.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/ImportBankTransAnalysis.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -203,11 +203,11 @@ <th colspan="5">' . _('General ledger Analysis') . '</th> </tr> <tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Account') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['Statement']->CurrCode . '</th> + <th class="ascending">' . _('Account') . '</th> + <th class="ascending">' . _('Name') . '</th> + <th class="ascending">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['Statement']->CurrCode . '</th> <th>' . _('Narrative') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Tag') . '</th> + <th class="ascending">' . _('Tag') . '</th> </tr>'; echo $TableHeader; $TotalGLValue=0; Modified: trunk/PO_AuthoriseMyOrders.php =================================================================== --- trunk/PO_AuthoriseMyOrders.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PO_AuthoriseMyOrders.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -55,12 +55,12 @@ /* Create the table for the purchase order header */ echo '<tr> - <th class="ascending" onClick="SortSelect(this)">'._('Order Number').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Supplier').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Date Ordered').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Initiator').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Delivery Date').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Status').'</th> + <th class="ascending">'._('Order Number').'</th> + <th class="ascending">'._('Supplier').'</th> + <th class="ascending">'._('Date Ordered').'</th> + <th class="ascending">'._('Initiator').'</th> + <th class="ascending">'._('Delivery Date').'</th> + <th class="ascending">'._('Status').'</th> </tr>'; while ($myrow=DB_fetch_array($result)) { @@ -110,11 +110,11 @@ <td colspan="5" align="left"> <table class="selection" align="left"> <tr> - <th class="ascending" onClick="SortSelect(this)">'._('Product').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Quantity Ordered').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Currency').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Price').'</th> - <th class="ascending" onClick="SortSelect(this)">'._('Line Total').'</th> + <th class="ascending">'._('Product').'</th> + <th class="ascending">'._('Quantity Ordered').'</th> + <th class="ascending">'._('Currency').'</th> + <th class="ascending">'._('Price').'</th> + <th class="ascending">'._('Line Total').'</th> </tr>'; while ($LineRow=DB_fetch_array($LineResult)) { Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PO_Header.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -553,10 +553,10 @@ echo '<br /><table cellpadding="3" class="selection">'; echo '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Supplier Name') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Address') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Supplier Name') . '</th> + <th class="ascending">' . _('Address') . '</th> + <th class="ascending">' . _('Currency') . '</th> </tr>'; $j = 1; $k = 0; Modified: trunk/PO_Items.php =================================================================== --- trunk/PO_Items.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PO_Items.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -714,17 +714,17 @@ echo '<br /><b>'._(' Order Summary') . '</b></p>'; echo '<table cellpadding="2" class="selection">'; echo '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Item Code') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Quantity Our Units') . '</th> + <th class="ascending">' . _('Item Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Quantity Our Units') . '</th> <th>' . _('Our Unit') .'</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Price Our Units') .' (' . $_SESSION['PO'.$identifier]->CurrCode . ')</th> + <th class="ascending">' . _('Price Our Units') .' (' . $_SESSION['PO'.$identifier]->CurrCode . ')</th> <th>' . _('Unit Conversion Factor') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Order Quantity') . '<br />' . _('Supplier Units') . '</th> + <th class="ascending">' . _('Order Quantity') . '<br />' . _('Supplier Units') . '</th> <th>' . _('Supplier Unit') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Order Price') . '<br />' . _('Supp Units') . ' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Sub-Total') .' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Deliver By') .'</th> + <th class="ascending">' . _('Order Price') . '<br />' . _('Supp Units') . ' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th> + <th class="ascending">' . _('Sub-Total') .' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th> + <th class="ascending">' . _('Deliver By') .'</th> </tr>'; $_SESSION['PO'.$identifier]->Total = 0; @@ -1152,8 +1152,8 @@ echo '<table cellpadding="1" class="selection">'; $TableHeader = '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> <th>' . _('Our Units') . '</th> <th>' . _('Conversion') . '<br />' ._('Factor') . '</th> <th>' . _('Supplier/Order') . '<br />' . _('Units') . '</th> Modified: trunk/PO_SelectOSPurchOrder.php =================================================================== --- trunk/PO_SelectOSPurchOrder.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PO_SelectOSPurchOrder.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -234,11 +234,11 @@ if (isset($StockItemsResult)) { echo '<table cellpadding="2" class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('On Hand') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Orders') . '<br />' . _('Outstanding') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Units') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('On Hand') . '</th> + <th class="ascending">' . _('Orders') . '<br />' . _('Outstanding') . '</th> + <th class="ascending">' . _('Units') . '</th> </tr>'; echo $TableHeader; $j = 1; @@ -472,17 +472,17 @@ echo '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Order #') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Order Date') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Delivery Date') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Initiated by') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Supplier') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Currency') . '</th>'; + <th class="ascending">' . _('Order #') . '</th> + <th class="ascending">' . _('Order Date') . '</th> + <th class="ascending">' . _('Delivery Date') . '</th> + <th class="ascending">' . _('Initiated by') . '</th> + <th class="ascending">' . _('Supplier') . '</th> + <th class="ascending">' . _('Currency') . '</th>'; if (in_array($PricesSecurity, $_SESSION['AllowedPageSecurityTokens']) OR !isset($PricesSecurity)) { - echo '<th class="ascending" onclick="SortSelect(this)">' . _('Order Total') . '</th>'; + echo '<th class="ascending">' . _('Order Total') . '</th>'; } - echo '<th class="ascending" onclick="SortSelect(this)">' . _('Status') . '</th> + echo '<th class="ascending">' . _('Status') . '</th> <th>' . _('Print') . '</th> <th>' . _('Receive') . '</th> </tr>'; Modified: trunk/PO_SelectPurchOrder.php =================================================================== --- trunk/PO_SelectPurchOrder.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PO_SelectPurchOrder.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -210,11 +210,11 @@ if (isset($StockItemsResult)) { echo '<table class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('On Hand') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Orders') . '<br />' . _('Outstanding') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Units') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('On Hand') . '</th> + <th class="ascending">' . _('Orders') . '<br />' . _('Outstanding') . '</th> + <th class="ascending">' . _('Units') . '</th> </tr>'; echo $TableHeader; $j = 1; @@ -429,15 +429,15 @@ /*show a table of the orders returned by the SQL */ echo '<table cellpadding="2" width="90%" class="selection">'; $TableHeader = '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('View') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Supplier') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Requisition') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Order Date') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Delivery Date') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Initiator') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Order Total') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Status') . '</th> + <th class="ascending">' . _('View') . '</th> + <th class="ascending">' . _('Supplier') . '</th> + <th class="ascending">' . _('Currency') . '</th> + <th class="ascending">' . _('Requisition') . '</th> + <th class="ascending">' . _('Order Date') . '</th> + <th class="ascending">' . _('Delivery Date') . '</th> + <th class="ascending">' . _('Initiator') . '</th> + <th class="ascending">' . _('Order Total') . '</th> + <th class="ascending">' . _('Status') . '</th> </tr>'; echo $TableHeader; $j = 1; Modified: trunk/Prices.php =================================================================== --- trunk/Prices.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/Prices.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -217,11 +217,11 @@ <input type="submit" name="NewPart" value="' . _('Review Prices') . '" /></th> </tr>'; - echo '<tbody><tr><th class="ascending" onclick="SortSelect(this)">' . _('Currency') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Sales Type') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Price') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Start Date') . ' </th> - <th class="ascending" onclick="SortSelect(this)">' . _('End Date') . '</th> + echo '<tbody><tr><th class="ascending">' . _('Currency') . '</th> + <th class="ascending">' . _('Sales Type') . '</th> + <th class="ascending">' . _('Price') . '</th> + <th class="ascending">' . _('Start Date') . ' </th> + <th class="ascending">' . _('End Date') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/PricesByCost.php =================================================================== --- trunk/PricesByCost.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PricesByCost.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -149,16 +149,16 @@ if ($numrow > 0) { //the number of prices returned from the main prices query is echo '<table class="selection"> <tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Customer') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Branch') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Start Date') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('End Date') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Cost') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('GP %') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Price Proposed') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('List Price') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Customer') . '</th> + <th class="ascending">' . _('Branch') . '</th> + <th class="ascending">' . _('Start Date') . '</th> + <th class="ascending">' . _('End Date') . '</th> + <th class="ascending">' . _('Cost') . '</th> + <th class="ascending">' . _('GP %') . '</th> + <th class="ascending">' . _('Price Proposed') . '</th> + <th class="ascending">' . _('List Price') . '</th> <tr>'; $k = 0; //row colour counter echo '<form action="' .htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post" id="update">'; Modified: trunk/PurchData.php =================================================================== --- trunk/PurchData.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/PurchData.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -268,15 +268,15 @@ echo '<table cellpadding="2" class="selection">'; $TableHeader = '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Supplier') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Price') . '</th> + <th class="ascending">' . _('Supplier') . '</th> + <th class="ascending">' . _('Price') . '</th> <th>' . _('Supplier Unit') . '</th> <th>' . _('Conversion Factor') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Cost Per Our Unit') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Effective From') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Min Order Qty') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Lead Time') . '</th> + <th class="ascending">' . _('Cost Per Our Unit') . '</th> + <th class="ascending">' . _('Currency') . '</th> + <th class="ascending">' . _('Effective From') . '</th> + <th class="ascending">' . _('Min Order Qty') . '</th> + <th class="ascending">' . _('Lead Time') . '</th> <th>' . _('Preferred') . '</th> </tr>'; echo $TableHeader; @@ -466,12 +466,12 @@ <table cellpadding="2" colspan="7" class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $TableHeader = '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Supplier Name') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Address 1') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Address 2') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Address 3') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Supplier Name') . '</th> + <th class="ascending">' . _('Currency') . '</th> + <th class="ascending">' . _('Address 1') . '</th> + <th class="ascending">' . _('Address 2') . '</th> + <th class="ascending">' . _('Address 3') . '</th> </tr>'; echo $TableHeader; $k = 0; @@ -696,11 +696,11 @@ echo '<table cellpadding="2" colspan="7" class="selection"> <tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Discount Name') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Discount') . '<br />' . _('Value') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Discount') . '<br />' . _('Percent') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Effective From') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Effective To') . '</th> + <th class="ascending">' . _('Discount Name') . '</th> + <th class="ascending">' . _('Discount') . '<br />' . _('Value') . '</th> + <th class="ascending">' . _('Discount') . '<br />' . _('Percent') . '</th> + <th class="ascending">' . _('Effective From') . '</th> + <th class="ascending">' . _('Effective To') . '</th> </tr>'; $k = 0; $i = 0; //DiscountCounter Modified: trunk/SalesCategories.php =================================================================== --- trunk/SalesCategories.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SalesCategories.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -505,10 +505,10 @@ <th colspan="4">'._('Inventory items for') . ' ' . $CategoryPath . '</th> </tr> <tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Item') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Brand') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Featured') . '</th> + <th class="ascending">' . _('Item') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Brand') . '</th> + <th class="ascending">' . _('Featured') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/SelectCustomer.php =================================================================== --- trunk/SelectCustomer.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectCustomer.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -417,14 +417,14 @@ <table cellpadding="2" class="selection">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Customer Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Branch') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Contact') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Type') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Phone') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Fax') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Customer Name') . '</th> + <th class="ascending">' . _('Branch') . '</th> + <th class="ascending">' . _('Contact') . '</th> + <th class="ascending">' . _('Type') . '</th> + <th class="ascending">' . _('Phone') . '</th> + <th class="ascending">' . _('Fax') . '</th> + <th class="ascending">' . _('Email') . '</th> </tr>'; $k = 0; //row counter to determine background colour $RowIndex = 0; @@ -606,10 +606,10 @@ echo '<br /><div class="centre"><img src="' . $RootPath . '/css/' . $Theme . '/images/group_add.png" title="' . _('Customer Contacts') . '" alt="" />' . ' ' . _('Customer Contacts') . '</div>'; echo '<br /><table width="45%">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Role') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Phone Number') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th> + <th class="ascending">' . _('Name') . '</th> + <th class="ascending">' . _('Role') . '</th> + <th class="ascending">' . _('Phone Number') . '</th> + <th class="ascending">' . _('Email') . '</th> <th>' . _('Notes') . '</th> <th>' . _('Edit') . '</th> <th>' . _('Delete') . '</th> @@ -656,10 +656,10 @@ echo '<br /><div class="centre"><img src="' . $RootPath . '/css/' . $Theme . '/images/note_add.png" title="' . _('Customer Notes') . '" alt="" />' . ' ' . _('Customer Notes') . '</div><br />'; echo '<table width="45%">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Date') . '</th> + <th class="ascending">' . _('Date') . '</th> <th>' . _('Note') . '</th> <th>' . _('Hyperlink') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Priority') . '</th> + <th class="ascending">' . _('Priority') . '</th> <th>' . _('Edit') . '</th> <th>' . _('Delete') . '</th> <th> <a href="AddCustomerNotes.php?DebtorNo=' . $_SESSION['CustomerID'] . '">' . ' ' . _('Add New Note') . '</a> </th> @@ -698,10 +698,10 @@ echo '<br /><div class="centre"><img src="' . $RootPath . '/css/' . $Theme . '/images/folder_add.png" title="' . _('Customer Type (Group) Notes') . '" alt="" />' . ' ' . _('Customer Type (Group) Notes for:' . '<b> ' . $CustomerTypeName . '</b>') . '</div><br />'; echo '<table width="45%">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Date') . '</th> + <th class="ascending">' . _('Date') . '</th> <th>' . _('Note') . '</th> <th>' . _('File Link / Reference / URL') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Priority') . '</th> + <th class="ascending">' . _('Priority') . '</th> <th>' . _('Edit') . '</th> <th>' . _('Delete') . '</th> <th><a href="AddCustomerTypeNotes.php?DebtorType=' . $CustomerType . '">' . _('Add New Group Note') . '</a></th> Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectOrderItems.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -640,9 +640,9 @@ <table class="selection">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Customer') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Branch') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Contact') . '</th> + <th class="ascending" >' . _('Customer') . '</th> + <th class="ascending" >' . _('Branch') . '</th> + <th class="ascending" >' . _('Contact') . '</th> <th>' . _('Phone') . '</th> <th>' . _('Fax') . '</th> </tr>'; @@ -1369,8 +1369,8 @@ if($_SESSION['Items'.$identifier]->DefaultPOLine == 1){ echo '<th>' . _('PO Line') . '</th>'; } - echo '<th class="ascending" onclick="SortSelect(this)" >' . _('Item Code') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Item Description') . '</th> + echo '<th class="ascending" >' . _('Item Code') . '</th> + <th class="ascending" >' . _('Item Description') . '</th> <th>' . _('Quantity') . '</th> <th>' . _('QOH') . '</th> <th>' . _('Unit') . '</th> @@ -1533,14 +1533,14 @@ <table class="table1">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Description') . '</th> + <th class="ascending" >' . _('Code') . '</th> + <th class="ascending" >' . _('Description') . '</th> <th>' . _('Units') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Hand') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Demand') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Order') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Available') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Quantity') . '</th> + <th class="ascending" >' . _('On Hand') . '</th> + <th class="ascending" >' . _('On Demand') . '</th> + <th class="ascending" >' . _('On Order') . '</th> + <th class="ascending" >' . _('Available') . '</th> + <th class="ascending" >' . _('Quantity') . '</th> </tr>'; $i=0; $j=1; @@ -1733,13 +1733,13 @@ echo '<td style="text-align:center" colspan="6"><input type="hidden" name="SelectingOrderItems" value="1" /><input tabindex="'.strval($j+9).'" type="submit" value="'._('Add to Sales Order').'" /></td>'; echo '<td colspan="1"><input type="hidden" name="NextList" value="'.strval($Offset+1).'" /><input tabindex="'.strval($j+10).'" type="submit" name="Next" value="'._('Next').'" /></td></tr>'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Description') . '</th> + <th class="ascending" >' . _('Code') . '</th> + <th class="ascending" >' . _('Description') . '</th> <th>' . _('Units') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Hand') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Demand') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Order') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Available') . '</th> + <th class="ascending" >' . _('On Hand') . '</th> + <th class="ascending" >' . _('On Demand') . '</th> + <th class="ascending" >' . _('On Order') . '</th> + <th class="ascending" >' . _('Available') . '</th> <th>' . _('Quantity') . '</th> </tr>'; $ImageSource = _('No Image'); Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectProduct.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -767,8 +767,8 @@ echo '<table id="ItemSearchTable" class="selection">'; $TableHeader = '<tr> <th>' . _('Stock Status') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> <th>' . _('Total Qty On Hand') . '</th> <th>' . _('Units') . '</th> </tr>'; Modified: trunk/SelectSalesOrder.php =================================================================== --- trunk/SelectSalesOrder.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectSalesOrder.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -607,9 +607,9 @@ echo '<table cellpadding="2" class="selection">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('On Hand') . '</th> + <th class="ascending" >' . _('Code') . '</th> + <th class="ascending" >' . _('Description') . '</th> + <th class="ascending" >' . _('On Hand') . '</th> <th>' . _('Units') . '</th> </tr>'; @@ -851,13 +851,13 @@ <th>' . _('Modify') . '</th> <th>' . _('Invoice') . '</th> <th>' . _('Dispatch Note') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Customer') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Branch') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Cust Order') . ' #</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Order Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Req Del Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Delivery To') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Order Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th>'; + <th class="ascending" >' . _('Customer') . '</th> + <th class="ascending" >' . _('Branch') . '</th> + <th class="ascending" >' . _('Cust Order') . ' #</th> + <th class="ascending" >' . _('Order Date') . '</th> + <th class="ascending" >' . _('Req Del Date') . '</th> + <th class="ascending" >' . _('Delivery To') . '</th> + <th class="ascending" >' . _('Order Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th>'; if ($AuthRow['cancreate']==0){ //If cancreate==0 then this means the user can create orders hmmm!! $TableHeader .= '<th>' . _('Place PO') . '</th></tr>'; @@ -868,13 +868,13 @@ $TableHeader = '<tr> <th>' . _('Modify') . '</th> <th>' . _('Print Quote') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Customer') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Branch') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Cust Ref') . ' #</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Quote Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Req Del Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Delivery To') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Quote Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th> + <th class="ascending" >' . _('Customer') . '</th> + <th class="ascending" >' . _('Branch') . '</th> + <th class="ascending" >' . _('Cust Ref') . ' #</th> + <th class="ascending" >' . _('Quote Date') . '</th> + <th class="ascending" >' . _('Req Del Date') . '</th> + <th class="ascending" >' . _('Delivery To') . '</th> + <th class="ascending" >' . _('Quote Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th> </tr>'; } Modified: trunk/SelectSupplier.php =================================================================== --- trunk/SelectSupplier.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectSupplier.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -274,15 +274,15 @@ <br /> <table cellpadding="2">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Supplier Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Currency') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Address 1') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Address 2') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Address 3') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Address 4') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Telephone') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Supplier Name') . '</th> + <th class="ascending">' . _('Currency') . '</th> + <th class="ascending">' . _('Address 1') . '</th> + <th class="ascending">' . _('Address 2') . '</th> + <th class="ascending">' . _('Address 3') . '</th> + <th class="ascending">' . _('Address 4') . '</th> + <th class="ascending">' . _('Telephone') . '</th> + <th class="ascending">' . _('Email') . '</th> </tr>'; $k = 0; //row counter to determine background colour $RowIndex = 0; Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/StockTransfers.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -46,8 +46,8 @@ $result = DB_query($sql,$db,$ErrMsg,$DbgMsg); echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)">'._('Stock Code').'</th> - <th class="ascending" onclick="SortSelect(this)">'._('Stock Description').'</th> + <th class="ascending">'._('Stock Code').'</th> + <th class="ascending">'._('Stock Description').'</th> </tr>'; while ($myrow = DB_fetch_array($result)) { echo '<tr> Modified: trunk/StockUsage.php =================================================================== --- trunk/StockUsage.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/StockUsage.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -143,8 +143,8 @@ echo '<table class="selection">'; $tableheader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Month') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Usage') . '</th> + <th class="ascending">' . _('Month') . '</th> + <th class="ascending">' . _('Usage') . '</th> </tr>'; echo $tableheader; Modified: trunk/SuppContractChgs.php =================================================================== --- trunk/SuppContractChgs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppContractChgs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -75,10 +75,10 @@ echo '<table class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Contract') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Narrative') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Anticipated') . '</th> + <th class="ascending">' . _('Contract') . '</th> + <th class="ascending">' . _('Amount') . '</th> + <th class="ascending">' . _('Narrative') . '</th> + <th class="ascending">' . _('Anticipated') . '</th> </tr>'; echo $TableHeader; Modified: trunk/SuppCreditGRNs.php =================================================================== --- trunk/SuppCreditGRNs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppCreditGRNs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -181,16 +181,16 @@ if (DB_num_rows($GRNResults)>0){ $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('GRN') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Order') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Item Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Delivered') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Total Qty') . '<br />' . _('Received') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Qty Invoiced') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Qty Yet') . '<br />' . _('invoice') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Price') . '<br />' . $_SESSION['SuppTrans']->CurrCode . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Line Value') . '<br />' . _('In') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('GRN') . '</th> + <th class="ascending">' . _('Order') . '</th> + <th class="ascending">' . _('Item Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Delivered') . '</th> + <th class="ascending">' . _('Total Qty') . '<br />' . _('Received') . '</th> + <th class="ascending">' . _('Qty Invoiced') . '</th> + <th class="ascending">' . _('Qty Yet') . '<br />' . _('invoice') . '</th> + <th class="ascending">' . _('Price') . '<br />' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Line Value') . '<br />' . _('In') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> </tr>'; echo $TableHeader; Modified: trunk/SuppFixedAssetChgs.php =================================================================== --- trunk/SuppFixedAssetChgs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppFixedAssetChgs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -74,9 +74,9 @@ echo '</p></div>'; echo '<table class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Asset ID') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '</th> + <th class="ascending">' . _('Asset ID') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Amount') . '</th> </tr>'; echo $TableHeader; Modified: trunk/SuppInvGRNs.php =================================================================== --- trunk/SuppInvGRNs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppInvGRNs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -296,16 +296,16 @@ </tr>'; $tableheader = '<tbody><tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Select') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Sequence') . ' #</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Order') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Item Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Total Qty Received') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Qty Already Invoiced') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Qty Yet To Invoice') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Order Price in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Line Value in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Select') . '</th> + <th class="ascending">' . _('Sequence') . ' #</th> + <th class="ascending">' . _('Order') . '</th> + <th class="ascending">' . _('Item Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Total Qty Received') . '</th> + <th class="ascending">' . _('Qty Already Invoiced') . '</th> + <th class="ascending">' . _('Qty Yet To Invoice') . '</th> + <th class="ascending">' . _('Order Price in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Line Value in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> </tr>'; $i = 0; $POs = array(); Modified: trunk/SuppTransGLAnalysis.php =================================================================== --- trunk/SuppTransGLAnalysis.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppTransGLAnalysis.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -104,11 +104,11 @@ <table class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Account') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Account') . '</th> + <th class="ascending">' . _('Name') . '</th> + <th class="ascending">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> <th>' . _('Narrative') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Tag') . '</th> + <th class="ascending">' . _('Tag') . '</th> </tr>'; echo $TableHeader; $TotalGLValue=0; Modified: trunk/SupplierAllocations.php =================================================================== --- trunk/SupplierAllocations.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierAllocations.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -451,13 +451,13 @@ echo '<table class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Type') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Trans') . '<br />' . _('Number') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Trans') .'<br />' . _('Date') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Supp') . '<br />' . _('Ref') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Total') . '<br />' . _('Amount') .'</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Yet to') . '<br />' . _('Allocate') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('This') . '<br />' . _('Allocation') . '</th> + <th class="ascending">' . _('Type') . '</th> + <th class="ascending">' . _('Trans') . '<br />' . _('Number') . '</th> + <th class="ascending">' . _('Trans') .'<br />' . _('Date') . '</th> + <th class="ascending">' . _('Supp') . '<br />' . _('Ref') . '</th> + <th class="ascending">' . _('Total') . '<br />' . _('Amount') .'</th> + <th class="ascending">' . _('Yet to') . '<br />' . _('Allocate') . '</th> + <th class="ascending">' . _('This') . '<br />' . _('Allocation') . '</th> </tr>'; $k = 0; $Counter = 0; Modified: trunk/SupplierContacts.php =================================================================== --- trunk/SupplierContacts.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierContacts.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -149,11 +149,11 @@ </tr>'; echo '<tbody><tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Position') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Phone No') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Fax No') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th> + <th class="ascending">' . _('Name') . '</th> + <th class="ascending">' . _('Position') . '</th> + <th class="ascending">' . _('Phone No') . '</th> + <th class="ascending">' . _('Fax No') . '</th> + <th class="ascending">' . _('Email') . '</th> </tr>'; do { Modified: trunk/SupplierInquiry.php =================================================================== --- trunk/SupplierInquiry.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierInquiry.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -205,14 +205,14 @@ echo '<table width="90%" class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Trans') . ' #' .'</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Type') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Supplier Ref') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Date') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Total') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Allocated') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Balance') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Comments') . '</th> + <th class="ascending">' . _('Trans') . ' #' .'</th> + <th class="ascending">' . _('Type') . '</th> + <th class="ascending">' . _('Supplier Ref') . '</th> + <th class="ascending">' . _('Date') . '</th> + <th class="ascending">' . _('Total') . '</th> + <th class="ascending">' . _('Allocated') . '</th> + <th class="ascending">' . _('Balance') . '</th> + <th class="ascending">' . _('Comments') . '</th> <th colspan="2"></th> </tr>'; Modified: trunk/SupplierTenderCreate.php =================================================================== --- trunk/SupplierTenderCreate.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierTenderCreate.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -604,13 +604,13 @@ <br /> <table cellpadding="2">'; echo '<tr> - <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Supplier Name') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Currency') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 1') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 2') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 3') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 4') . '</th> + <th class="assending">' . _('Code') . '</th> + <th class="assending">' . _('Supplier Name') . '</th> + <th class="assending">' . _('Currency') . '</th> + <th class="assending">' . _('Address 1') . '</th> + <th class="assending">' . _('Address 2') . '</th> + <th class="assending">' . _('Address 3') . '</th> + <th class="assending">' . _('Address 4') . '</th> </tr>'; $j = 1; $k = 0; //row counter to determine background colour @@ -840,11 +840,11 @@ echo '<table cellpadding="1">'; echo '<tr> - <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Units') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Image') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Quantity') . '</th> + <th class="assending">' . _('Code') . '</th> + <th class="assending">' . _('Description') . '</th> + <th class="assending">' . _('Units') . '</th> + <th class="assending">' . _('Image') . '</th> + <th class="assending">' . _('Quantity') . '</th> </tr>'; $i = 0; Modified: trunk/SupplierTenders.php =================================================================== --- trunk/SupplierTenders.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierTenders.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -322,13 +322,13 @@ echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Items to offer from').' '.$Supplier .'</p>'; echo '<table> <tr> - <th class="assending" onclick="SortSelect(this)">'._('Stock ID').'</th> - <th class="assending" onclick="SortSelect(this)">'._('Description').'</th> - <th class="assending" onclick="SortSelect(this)">'._('Quantity').'</th> - <th class="assending" onclick="SortSelect(this)">'._('UOM').'</th> - <th class="assending" onclick="SortSelect(this)">'._('Price').' ('.$Currency.')</th> - <th class="assending" onclick="SortSelect(this)">'._('Line Total').' ('.$Currency.')</th> - <th class="assending" onclick="SortSelect(this)">'._('Expiry Date').'</th> + <th class="assending">'._('Stock ID').'</th> + <th class="assending">'._('Description').'</th> + <th class="assending">'._('Quantity').'</th> + <th class="assending">'._('UOM').'</th> + <th class="assending">'._('Price').' ('.$Currency.')</th> + <th class="assending">'._('Line Total').' ('.$Currency.')</th> + <th class="assending">'._('Expiry Date').'</th> </tr>'; $k=0; foreach ($_SESSION['offer'.$identifier]->LineItems as $LineItems) { @@ -685,12 +685,12 @@ echo '<table cellpadding="1">'; $TableHeader = '<tr> - <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Units') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Image') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Quantity') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Price') .' ('.$Currency.')</th> + <th class="assending">' . _('Code') . '</th> + <th class="assending">' . _('Description') . '</th> + <th class="assending">' . _('Units') . '</th> + <th class="assending">' . _('Image') . '</th> + <th class="assending">' . _('Quantity') . '</th> + <th class="assending">' . _('Price') .' ('.$Currency.')</th> </tr>'; echo $TableHeader; Modified: trunk/SupplierTypes.php =================================================================== --- trunk/SupplierTypes.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierTypes.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -169,8 +169,8 @@ echo '<table class="selection">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Type ID') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Type Name') . '</th> + <th class="ascending" >' . _('Type ID') . '</th> + <th class="ascending" >' . _('Type Name') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TaxAuthorities.php =================================================================== --- trunk/TaxAuthorities.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxAuthorities.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -143,14 +143,14 @@ echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('ID') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Input Tax') . '<br />' . _('GL Account') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Output Tax') . '<br />' . _('GL Account') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Bank') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Bank Account') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Bank Act Type') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Bank Swift') . '</th> + <th class="ascending" >' . _('ID') . '</th> + <th class="ascending" >' . _('Description') . '</th> + <th class="ascending" >' . _('Input Tax') . '<br />' . _('GL Account') . '</th> + <th class="ascending" >' . _('Output Tax') . '<br />' . _('GL Account') . '</th> + <th class="ascending" >' . _('Bank') . '</th> + <th class="ascending" >' . _('Bank Account') . '</th> + <th class="ascending" >' . _('Bank Act Type') . '</th> + <th class="ascending" >' . _('Bank Swift') . '</th> </tr>'; $k=0; while ($myrow = DB_fetch_row($result)) { Modified: trunk/TaxAuthorityRates.php =================================================================== --- trunk/TaxAuthorityRates.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxAuthorityRates.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -84,9 +84,9 @@ <th colspan="3"><h3>' . _('Update') . ' ' . $myrow[0] . ' ' . _('Rates') . '</h3></th> </tr>'; $TableHeader = '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Deliveries From') . '<br />' . _('Tax Province') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Tax Category') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Tax Rate') . ' %</th> + <th class="ascending">' . _('Deliveries From') . '<br />' . _('Tax Province') . '</th> + <th class="ascending">' . _('Tax Category') . '</th> + <th class="ascending">' . _('Tax Rate') . ' %</th> </tr>'; echo $TableHeader; $j = 1; Modified: trunk/TaxCategories.php =================================================================== --- trunk/TaxCategories.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxCategories.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -164,7 +164,7 @@ echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Tax Categories') . '</th> + <th class="ascending">' . _('Tax Categories') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TaxGroups.php =================================================================== --- trunk/TaxGroups.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxGroups.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -169,8 +169,8 @@ } else { echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Group No') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Tax Group') . '</th> + <th class="ascending" >' . _('Group No') . '</th> + <th class="ascending" >' . _('Tax Group') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TaxProvinces.php =================================================================== --- trunk/TaxProvinces.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxProvinces.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -162,7 +162,7 @@ echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Tax Provinces') . '</th> + <th class="ascending">' . _('Tax Provinces') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TopItems.php =================================================================== --- trunk/TopItems.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TopItems.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -160,14 +160,14 @@ echo '<table class="selection">'; $TableHeader = '<tr> <th>' . _('#') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Total Invoiced') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Units') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Value Sales') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('On Hand') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('On Order') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Stock (Days)') . '</th> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Total Invoiced') . '</th> + <th class="ascending">' . _('Units') . '</th> + <th class="ascending">' . _('Value Sales') . '</th> + <th class="ascending">' . _('On Hand') . '</th> + <th class="ascending">' . _('On Order') . '</th> + <th class="ascending">' . _('Stock (Days)') . '</th> </tr>'; echo $TableHeader; echo '<input type="hidden" value="' . $_POST['Location'] . '" name="Location" /> Modified: trunk/UnitsOfMeasure.php =================================================================== --- trunk/UnitsOfMeasure.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/UnitsOfMeasure... [truncated message content] |