From: <dai...@us...> - 2011-02-06 07:58:34
|
Revision: 4483 http://web-erp.svn.sourceforge.net/web-erp/?rev=4483&view=rev Author: daintree Date: 2011-02-06 07:58:27 +0000 (Sun, 06 Feb 2011) Log Message: ----------- FixedAssetDepn typo Modified Paths: -------------- trunk/FixedAssetDepreciation.php trunk/doc/Change.log.html Modified: trunk/FixedAssetDepreciation.php =================================================================== --- trunk/FixedAssetDepreciation.php 2011-02-06 04:29:33 UTC (rev 4482) +++ trunk/FixedAssetDepreciation.php 2011-02-06 07:58:27 UTC (rev 4483) @@ -1,10 +1,8 @@ <?php -/* $Revision: 1.1 $ */ +/* $Id: FixedAssetDepreciation.php 4213 2010-12-22 14:33:20Z tim_schofield $*/ -include('includes/DefineJournalClass.php'); - -//$PageSecurity = 10; +//$PageSecurity = 10; Now from DB include('includes/session.inc'); $title = _('Depreciation Journal Entry'); @@ -23,8 +21,6 @@ $LastDepnRun = DB_fetch_row($result); -//echo '<BR>LastRun period = ' . $LastDepnRun[1] . ' Last date in period = ' . $LastDepnRun[0]; - $AllowUserEnteredProcessDate = true; if (DB_num_rows($result)==0) { //then depn has never been run yet? @@ -42,8 +38,6 @@ } else { //depn calc has been run previously $AllowUserEnteredProcessDate = false; - prnMsg('LastDepnRun[0] = ' . $LastDepnRun[0] . '<br />ConvertSQLDate($LastDepnRun[0]) = ' . ConvertSQLDate($LastDepnRun[0]) . '<br />DateAdd(ConvertSQLDate($LastDepnRun[0]),d,28) = ' . DateAdd(ConvertSQLDate($LastDepnRun[0]),'d',28), 'info'); - $_POST['ProcessDate'] = LastDayOfMonth(DateAdd(ConvertSQLDate($LastDepnRun[0]),'d',28)); } Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2011-02-06 04:29:33 UTC (rev 4482) +++ trunk/doc/Change.log.html 2011-02-06 07:58:27 UTC (rev 4483) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p <p></p> +<p>6/2/11:sotandeka Fix typos left debug comments prnMsg in</p> <p>5/2/11: Phil: SystemParameters.php new option to AutoAuthorisePO when the user has authority to do so</p> <p>5/2/11: Phil: PO_Items.php fixed non-existant variables on Enter nominal line. Added option to automatically authorise when user is an authoriser as well as a creator</p> <p>5/2/11: PDFGrn.php rewrote - preview never used - confused logic fixed<p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |