|
From: <ice...@us...> - 2013-07-22 10:27:09
|
Revision: 6134
http://sourceforge.net/p/web-erp/reponame/6134
Author: icedlava
Date: 2013-07-22 10:27:07 +0000 (Mon, 22 Jul 2013)
Log Message:
-----------
Small cleanup on a few typos.
Modified Paths:
--------------
trunk/PO_Items.php
trunk/SelectProduct.php
trunk/Stocks.php
Modified: trunk/PO_Items.php
===================================================================
--- trunk/PO_Items.php 2013-07-22 01:55:02 UTC (rev 6133)
+++ trunk/PO_Items.php 2013-07-22 10:27:07 UTC (rev 6134)
@@ -498,8 +498,6 @@
if ($AllowUpdate == true){
//adding the non-stock item
- //adding the non-stock item
-
$_SESSION['PO'.$identifier]->add_to_order($_SESSION['PO'.$identifier]->LinesOnOrder+1,
'',
0, /*Serialised */
Modified: trunk/SelectProduct.php
===================================================================
--- trunk/SelectProduct.php 2013-07-22 01:55:02 UTC (rev 6133)
+++ trunk/SelectProduct.php 2013-07-22 10:27:07 UTC (rev 6134)
@@ -184,8 +184,9 @@
ON bom.component=stockmaster.stockid
WHERE bom.parent = '" . $StockID . "'
AND bom.effectiveafter < '" . Date('Y-m-d') . "'
- AND (bom.effectiveto > '" . Date('Y-m-d') . "'
- OR bom.effectiveto='0000-00-00')";", $db);
+ AND (bom.effectiveto > '" . Date('Y-m-d') . "'
+ OR bom.effectiveto='0000-00-00')",
+ $db);
$CostRow = DB_fetch_row($CostResult);
$Cost = $CostRow[0];
} else {
@@ -199,7 +200,7 @@
echo '</table>'; //end of first nested table
// Item Category Property mod: display the item properties
echo '<table>';
-
+
$sql = "SELECT stkcatpropid,
label,
controltype,
@@ -447,8 +448,8 @@
}
echo '<div class="centre">' . $StockImgLink . '</div>';
-
-
+
+
if (($myrow['mbflag'] == 'B')
AND (in_array($SuppliersSecurity, $_SESSION['AllowedPageSecurityTokens']))
AND $myrow['discontinued']==0){
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2013-07-22 01:55:02 UTC (rev 6133)
+++ trunk/Stocks.php 2013-07-22 10:27:07 UTC (rev 6134)
@@ -566,7 +566,7 @@
WHERE stockid='" . $StockID ."'",$db);
if (DB_num_rows($result)==1){
prnMsg(_('The stock code entered is actually already in the database - duplicate stock codes are prohibited by the system. Try choosing an alternative stock code'),'error');
- InputError = 1;
+ $InputError = 1;
$Errors[$i] = 'StockID';
$i++;
} else {
|