From: <rc...@us...> - 2017-03-19 12:52:55
|
Revision: 7740 http://sourceforge.net/p/web-erp/reponame/7740 Author: rchacon Date: 2017-03-19 12:52:53 +0000 (Sun, 19 Mar 2017) Log Message: ----------- Modified Paths: -------------- trunk/GLTrialBalance.php trunk/doc/Change.log Removed Paths: ------------- trunk/includes/AccountSectionsDef.inc Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2017-03-19 12:46:08 UTC (rev 7739) +++ trunk/GLTrialBalance.php 2017-03-19 12:52:53 UTC (rev 7740) @@ -13,7 +13,7 @@ $BookMark = 'TrialBalance';// Anchor's id in the manual's html document. include('includes/SQL_CommonFunctions.inc'); -include('includes/AccountSectionsDef.php'); //this reads in the Accounts Sections array +include('includes/AccountSectionsDef.php'); // This loads the $Sections variable if (isset($_POST['FromPeriod']) Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2017-03-19 12:46:08 UTC (rev 7739) +++ trunk/doc/Change.log 2017-03-19 12:52:53 UTC (rev 7740) @@ -1,6 +1,6 @@ webERP Change Log - +19/3/17 RChacon: Rename AccountSectionsDef.inc to AccountSectionsDef.php. 11/3/17 Tim - committed by Phil: allow sales order item lines to be imported from a csv consisting of lines of item code, quantity 07/03/17 TurboPT: (by Tim in forums) BankAccounts.php: Add quotes to variable in query. 27/02/17 TurboPT: SpecialOrder.php add identifier to delete link; DefineSpecialOrderClass.php remove the "&" with parameter to function remove_from_order(). Deleted: trunk/includes/AccountSectionsDef.inc =================================================================== --- trunk/includes/AccountSectionsDef.inc 2017-03-19 12:46:08 UTC (rev 7739) +++ trunk/includes/AccountSectionsDef.inc 2017-03-19 12:52:53 UTC (rev 7740) @@ -1,10 +0,0 @@ -<?php -/* $Id$*/ -$Sections = array(); -$sql = 'SELECT sectionid, sectionname FROM accountsection ORDER by sectionid'; -$SectionResult = DB_query($sql); -while( $secrow = DB_fetch_array($SectionResult) ) { - $Sections[$secrow['sectionid']] = $secrow['sectionname']; -} -DB_free_result($SectionResult); // no longer needed -?> |