From: <dai...@us...> - 2014-01-15 06:28:14
|
Revision: 6541 http://sourceforge.net/p/web-erp/reponame/6541 Author: daintree Date: 2014-01-15 06:28:12 +0000 (Wed, 15 Jan 2014) Log Message: ----------- fix typos brackets else Modified Paths: -------------- trunk/Credit_Invoice.php trunk/WOSerialNos.php Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2014-01-15 02:18:07 UTC (rev 6540) +++ trunk/Credit_Invoice.php 2014-01-15 06:28:12 UTC (rev 6541) @@ -227,7 +227,7 @@ if (isset($_POST['ChargeFreightCost'])){ $_SESSION['CreditItems' . $identifier]->FreightCost = filter_number_format($_POST['ChargeFreightCost']); } -if ($_SESSION['SalesmanLogin'] != '') {}else{ +if ($_SESSION['SalesmanLogin'] == '') { if (isset($_POST['SalesPerson'])){ $_SESSION['CreditItems' . $identifier]->SalesPerson = $_POST['SalesPerson']; } Modified: trunk/WOSerialNos.php =================================================================== --- trunk/WOSerialNos.php 2014-01-15 02:18:07 UTC (rev 6540) +++ trunk/WOSerialNos.php 2014-01-15 06:28:12 UTC (rev 6541) @@ -177,6 +177,7 @@ //update the serial numbers and quantities and notes for each serial number or batch $InputError=false; $WOQuantityTotal=0; + $sql = array(); for ($i=0;$i<$_POST['CountOfItems'];$i++){ if (mb_strlen($_POST['Reference' . $i])==0){ |