|
From: <dai...@us...> - 2012-01-31 06:45:44
|
Revision: 4858
http://web-erp.svn.sourceforge.net/web-erp/?rev=4858&view=rev
Author: daintree
Date: 2012-01-31 06:45:38 +0000 (Tue, 31 Jan 2012)
Log Message:
-----------
bug fixes
Modified Paths:
--------------
trunk/PO_Items.php
trunk/Stocks.php
trunk/doc/Change.log
Modified: trunk/PO_Items.php
===================================================================
--- trunk/PO_Items.php 2012-01-31 04:18:41 UTC (rev 4857)
+++ trunk/PO_Items.php 2012-01-31 06:45:38 UTC (rev 4858)
@@ -24,8 +24,6 @@
include('includes/header.inc');
-$Maximum_Number_Of_Parts_To_Show=50;
-
if (!isset($_POST['Commit'])) {
echo '<a href="'.$rootpath.'/PO_Header.php?identifier=' . $identifier. '">' ._('Back To Purchase Order Header') . '</a><br />';
}
@@ -1124,9 +1122,6 @@
</tr>';
$j++;
$PartsDisplayed++;
- if ($PartsDisplayed == $Maximum_Number_Of_Parts_To_Show){
- break;
- }
#end of page full new headings if
}
#end of while loop
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2012-01-31 04:18:41 UTC (rev 4857)
+++ trunk/Stocks.php 2012-01-31 06:45:38 UTC (rev 4858)
@@ -415,7 +415,7 @@
'" . $JournalNo . "',
'" . Date('Y-m-d') . "',
'" . GetPeriod(Date($_SESSION['DefaultDateFormat']),$db,true) . "',
- '" . $NewStockAccount . "',
+ '" . $NewStockAct . "',
'" . $StockID . ' ' . _('Change stock category') . "',
'" . ($UnitCost* $StockQtyRow[0]) . "')";
$ErrMsg = _('The stock cost journal could not be inserted because');
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2012-01-31 04:18:41 UTC (rev 4857)
+++ trunk/doc/Change.log 2012-01-31 06:45:38 UTC (rev 4858)
@@ -1,5 +1,7 @@
webERP Change Log
+31/1/12 Phil: Stocks.php error on changing a stock category the journal between the stock GL accounts was not working because $NewStockAccount should have been $NewStockAct
+31/1/12 Phil: PO_Items.php removed $Maximum_Number_Of_Parts_To_Show should exist when we are already limiting the output of the query based on the configuraiton option $_SESSION['DefaultDisplayRecordsMax'];
30/1/12 Vitaly: Removed extra 'AND' in SQL statement in ReverseGRN.php
29/1/12 Phil: Alterations to API to fix SQL and to start work on adding InvoiceSalesOrder method
29/1/12 Phil: Z_ChangeStockCode.php now alters SalesCategories of items being changed
@@ -24,7 +26,7 @@
19/1/12 Phil:StockCheck.php fixed error in SQL two ANDs in calculating quantity demand reported by Ricard
19/1/12 Paul Harness: SelectOrderItems.php $i++ - in code for frequently ordered items.
17/1/12 Vitaly: Removed unused .table2 declaration from default.css. Fixed border settings in .table1.
-16/1/12 Phil: Made StockReorderLevel.php just update changed fields rather than update all locations even though they may not have changed.
+16/1/12 Phil: Made StockReorderLevel.php just update changed fields rather than update all locations even though they may not have changed./
8/1/12 Phil: Added new api functions to get tax group taxes, list tax authorities, get tax authority details and get tax authority tax rates, also to list and get payment methods
8/1/12 Paul Harness: PcAuthorizeExpenses.php Compare date against SQL raw date format, then convert for display when deciding to display authorize checkbox.
8/1/12 Paul Harness: PcClaimExpensesFromTab.php Use DefaultDateFormat for date in expense entry.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|