|
From: <ice...@us...> - 2013-08-05 14:34:14
|
Revision: 6182
http://sourceforge.net/p/web-erp/reponame/6182
Author: icedlava
Date: 2013-08-05 14:34:12 +0000 (Mon, 05 Aug 2013)
Log Message:
-----------
Allow larger maxlength on quantity validation for credit notes - match order invoice
Modified Paths:
--------------
trunk/SelectCreditItems.php
Modified: trunk/SelectCreditItems.php
===================================================================
--- trunk/SelectCreditItems.php 2013-08-05 14:28:07 UTC (rev 6181)
+++ trunk/SelectCreditItems.php 2013-08-05 14:34:12 UTC (rev 6182)
@@ -723,7 +723,7 @@
<td title="'. $LineItem->LongDescription . '">' . $LineItem->ItemDescription . '</td>';
if ($LineItem->Controlled==0){
- echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>';
+ echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="8" size="6" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>';
} else {
echo '<td class="number"><a href="' . $RootPath . '/CreditItemsControlled.php?LineNo=' . $LineItem->LineNumber . '&identifier=' . $identifier . '">' . locale_number_format($LineItem->Quantity,$LineItem->DecimalPlaces) . '</a>
<input type="hidden" name="Quantity_' . $LineItem->LineNumber . '" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>';
|
|
From: <ice...@us...> - 2013-10-16 04:46:55
|
Revision: 6356
http://sourceforge.net/p/web-erp/reponame/6356
Author: icedlava
Date: 2013-10-16 04:46:51 +0000 (Wed, 16 Oct 2013)
Log Message:
-----------
Fix - remove %...% from item code POST var so they do not appear in search form field.
Modified Paths:
--------------
trunk/SelectCreditItems.php
Modified: trunk/SelectCreditItems.php
===================================================================
--- trunk/SelectCreditItems.php 2013-10-16 01:12:19 UTC (rev 6355)
+++ trunk/SelectCreditItems.php 2013-10-16 04:46:51 UTC (rev 6356)
@@ -333,7 +333,7 @@
}
} elseif ($_POST['StockCode']!=''){
- $_POST['StockCode'] = '%' . $_POST['StockCode'] . '%';
+ $SearchString = '%' . $_POST['StockCode'] . '%';
if ($_POST['StockCat']=='All'){
$SQL = "SELECT stockmaster.stockid,
stockmaster.description,
@@ -341,7 +341,7 @@
FROM stockmaster INNER JOIN stockcategory
ON stockmaster.categoryid=stockcategory.categoryid
WHERE (stockcategory.stocktype='F' OR stockcategory.stocktype='D')
- AND stockmaster.stockid " . LIKE . " '" . $_POST['StockCode'] . "'
+ AND stockmaster.stockid " . LIKE . " '" . $SearchString . "'
GROUP BY stockmaster.stockid,
stockmaster.description,
stockmaster.units
@@ -353,7 +353,7 @@
FROM stockmaster INNER JOIN stockcategory
ON stockmaster.categoryid=stockcategory.categoryid
WHERE (stockcategory.stocktype='F' OR stockcategory.stocktype='D')
- AND stockmaster.stockid " . LIKE . " '" . $_POST['StockCode'] . "'
+ AND stockmaster.stockid " . LIKE . " '" . $SearchString . "'
AND stockmaster.categoryid='" . $_POST['StockCat'] . "'
GROUP BY stockmaster.stockid,
stockmaster.description,
@@ -2001,4 +2001,4 @@
} /*end of process credit note */
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
|
|
From: <tu...@us...> - 2014-08-16 02:26:44
|
Revision: 6823
http://sourceforge.net/p/web-erp/reponame/6823
Author: turbopt
Date: 2014-08-16 02:26:37 +0000 (Sat, 16 Aug 2014)
Log Message:
-----------
Correct error @line 884.
Modified Paths:
--------------
trunk/SelectCreditItems.php
Modified: trunk/SelectCreditItems.php
===================================================================
--- trunk/SelectCreditItems.php 2014-08-15 20:24:57 UTC (rev 6822)
+++ trunk/SelectCreditItems.php 2014-08-16 02:26:37 UTC (rev 6823)
@@ -881,7 +881,7 @@
<td>' . _('Goods Returned to Location') . ' :</td>
<td><select name="Location">';
- $SQL="SELECT locations.loccode, locationname FROM locations $SQL="SELECT locations.loccode, locationname FROM locations INNER JOIN locationusers ON locationusers.loccode=locations.loccode AND locationusers.userid='" . $_SESSION['UserID'] . "' AND locationusers.canupd=1";
+ $SQL="SELECT locations.loccode, locationname FROM locations INNER JOIN locationusers ON locationusers.loccode=locations.loccode AND locationusers.userid='" . $_SESSION['UserID'] . "' AND locationusers.canupd=1";
$Result = DB_query($SQL,$db);
if (!isset($_POST['Location'])){
|
|
From: <ex...@us...> - 2016-03-09 23:01:39
|
Revision: 7473
http://sourceforge.net/p/web-erp/reponame/7473
Author: exsonqu
Date: 2016-03-09 23:01:36 +0000 (Wed, 09 Mar 2016)
Log Message:
-----------
10/03/2016 Tim: Fixed the credit note tax authority not set up bug in SelectCreditItems.php. Reported by Bob.
Modified Paths:
--------------
trunk/SelectCreditItems.php
Modified: trunk/SelectCreditItems.php
===================================================================
--- trunk/SelectCreditItems.php 2016-03-09 08:29:47 UTC (rev 7472)
+++ trunk/SelectCreditItems.php 2016-03-09 23:01:36 UTC (rev 7473)
@@ -117,6 +117,7 @@
$myrow=DB_fetch_array($result_CustSelect);
$SelectedCustomer = trim($myrow['debtorno']);
$SelectedBranch = trim($myrow['branchcode']);
+ $_POST['JustSelectedACustomer'] = true;
} elseif (DB_num_rows($result_CustSelect)==0){
prnMsg(_('Sorry') . ' ... ' . _('there are no customer branch records contain the selected text') . ' - ' . _('please alter your search criteria and try again'),'info');
}
|