[Weberp-svn] SF.net SVN: weberp:[4337] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-01-19 01:31:08
|
Revision: 4337 http://weberp.svn.sourceforge.net/weberp/?rev=4337&view=rev Author: tim_schofield Date: 2011-01-19 01:31:00 +0000 (Wed, 19 Jan 2011) Log Message: ----------- Ricard: Corrections to default end date for prices Modified Paths: -------------- trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po Modified: trunk/PricesBasedOnMarkUp.php =================================================================== --- trunk/PricesBasedOnMarkUp.php 2011-01-18 16:27:52 UTC (rev 4336) +++ trunk/PricesBasedOnMarkUp.php 2011-01-19 01:31:00 UTC (rev 4337) @@ -238,7 +238,7 @@ if (Is_Date($_POST['PriceEndDate'])){ $SQLEndDate = FormatDateForSQL($_POST['PriceEndDate']); } else { - $SQLEndDate = '2030-12-31'; + $SQLEndDate = '2030-01-01'; } $sql = "SELECT stockid, materialcost+labourcost+overheadcost AS cost Modified: trunk/PricesByCost.php =================================================================== --- trunk/PricesByCost.php 2011-01-18 16:27:52 UTC (rev 4336) +++ trunk/PricesByCost.php 2011-01-19 01:31:00 UTC (rev 4337) @@ -73,7 +73,7 @@ '" . $_POST['DebtorNo_' . $PriceCounter] . "', '" . $_POST['BranchCode_' . $PriceCounter] . "', '" . date('Y-m-d') . "', - '2030-12-31' + '2030-01-01' )"; $ResultInsert = DB_query($SQLInsert, $db); $PriceCounter++; Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo =================================================================== --- trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo 2011-01-18 16:27:52 UTC (rev 4336) +++ trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo 2011-01-19 01:31:00 UTC (rev 4337) @@ -1,96 +1,2541 @@ -\xDE\x95 |