|
From: <dai...@us...> - 2013-08-17 08:07:51
|
Revision: 6241
http://sourceforge.net/p/web-erp/reponame/6241
Author: daintree
Date: 2013-08-17 08:07:47 +0000 (Sat, 17 Aug 2013)
Log Message:
-----------
html5 table sorting
Modified Paths:
--------------
trunk/AccountGroups.php
trunk/AccountSections.php
trunk/BankMatching.php
trunk/ConfirmDispatch_Invoice.php
trunk/POReport.php
trunk/PO_AuthoriseMyOrders.php
trunk/PO_Header.php
trunk/PO_Items.php
trunk/PO_OrderDetails.php
trunk/PO_SelectPurchOrder.php
trunk/PricesByCost.php
trunk/Prices_Customer.php
trunk/PurchData.php
trunk/SalesCategories.php
trunk/SuppTransGLAnalysis.php
trunk/TaxAuthorityRates.php
Modified: trunk/AccountGroups.php
===================================================================
--- trunk/AccountGroups.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/AccountGroups.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -287,11 +287,11 @@
echo '<table class="selection">
<tr>
- <th>' . _('Group Name') . '</th>
- <th>' . _('Section') . '</th>
- <th>' . _('Sequence In TB') . '</th>
- <th>' . _('Profit and Loss') . '</th>
- <th>' . _('Parent Group') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Group Name') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Section') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Sequence In TB') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Profit and Loss') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Parent Group') . '</th>
</tr>';
$k=0; //row colour counter
@@ -471,4 +471,4 @@
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/AccountSections.php
===================================================================
--- trunk/AccountSections.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/AccountSections.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -173,8 +173,8 @@
echo '<table class="selection">
<tr>
- <th>' . _('Section Number') . '</th>
- <th>' . _('Section Description') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Section Number') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Section Description') . '</th>
</tr>';
$k=0; //row colour counter
@@ -276,4 +276,4 @@
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/BankMatching.php
===================================================================
--- trunk/BankMatching.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/BankMatching.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -272,12 +272,12 @@
echo '<table cellpadding="2" class="selection">
<tr>
- <th>'. _('Cheque No') . '</th>
- <th>' . _('Ref') . '</th>
- <th>' . $TypeName . '</th>
- <th>' . _('Date') . '</th>
- <th>' . _('Amount') . '</th>
- <th>' . _('Outstanding') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">'. _('Cheque No') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Ref') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . $TypeName . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Date') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Amount') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Outstanding') . '</th>
<th colspan="3">' . _('Clear') . ' / ' . _('Unclear') . '</th>
</tr>';
Modified: trunk/ConfirmDispatch_Invoice.php
===================================================================
--- trunk/ConfirmDispatch_Invoice.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/ConfirmDispatch_Invoice.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -1095,12 +1095,12 @@
'" . $_SESSION['Items'.$identifier]->Branch . "',
'" . $LocalCurrencyPrice . "',
'" . $PeriodNo . "',
- '" . $_SESSION['ProcessingOrder'] . "',
+ '" . DB_escape_string($_SESSION['ProcessingOrder']) . "',
'" . -$OrderLine->QtyDispatched . "',
'" . $OrderLine->DiscountPercent . "',
'" . $OrderLine->StandardCost . "',
'" . ($QtyOnHandPrior - $OrderLine->QtyDispatched) . "',
- '" . $OrderLine->Narrative . "' )";
+ '" . DB_escape_string($OrderLine->Narrative) . "' )";
} else {
// its an assembly or dummy and assemblies/dummies always have nil stock (by definition they are made up at the time of dispatch so new qty on hand will be nil
if (empty($OrderLine->StandardCost)) {
@@ -1133,7 +1133,7 @@
'" . -$OrderLine->QtyDispatched . "',
'" . $OrderLine->DiscountPercent . "',
'" . $OrderLine->StandardCost . "',
- '" . $OrderLine->Narrative . "')";
+ '" . DB_escape_striing($OrderLine->Narrative) . "')";
}
Modified: trunk/POReport.php
===================================================================
--- trunk/POReport.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/POReport.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -1498,124 +1498,153 @@
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">';
echo '<div>';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
-
- echo '<table class="selection">';
-
- echo '<tr><td>' . _('Report Type') . ':</td>';
- echo '<td><select name="ReportType">';
- echo '<option selected="selected" value="Detail">' . _('Detail') . '</option>';
- echo '<option value="Summary">' . _('Summary') . '</option>';
- echo '</select></td><td> </td></tr>';
-
- echo '<tr><td>' . _('Date Type') . ':</td>';
- echo '<td><select name="DateType">';
- echo '<option selected="selected" value="Order">' . _('Order Date') . '</option>';
- echo '<option value="Delivery">' . _('Delivery Date') . '</option>';
- echo '</select></td><td> </td></tr>';
-
- echo '<tr>
- <td>' . _('Date Range') . ':</td>
- <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" size="10" maxlength="10" value="' . $_POST['FromDate'] .'" /> ' . _('To') . ':
- <input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="ToDate" size="10" maxlength="10" value="' . $_POST['ToDate'] . '" /></td>
- </tr>';
-
- echo '<tr><td>' . _('Part Number') . ':</td>';
- echo '<td><select name="PartNumberOp">';
- echo '<option selected="selected" value="Equals">' . _('Equals') . '</option>';
- echo '<option value="LIKE">' . _('Begins With') . '</option>';
- echo '</select>';
- echo ' <input type="text" name="PartNumber" size="20" maxlength="20" value="';
+ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <table class="selection">
+ <tr>
+ <td>' . _('Report Type') . ':</td>
+ <td><select required="required" autofocus="autofocus" name="ReportType">
+ <option selected="selected" value="Detail">' . _('Detail') . '</option>
+ <option value="Summary">' . _('Summary') . '</option>
+ </select></td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>' . _('Date Type') . ':</td>
+ <td><select required="required" name="DateType">
+ <option selected="selected" value="Order">' . _('Order Date') . '</option>
+ <option value="Delivery">' . _('Delivery Date') . '</option>
+ </select></td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>' . _('Date Range') . ':</td>
+ <td><input type="text" required="required" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" size="10" maxlength="10" value="' . $_POST['FromDate'] .'" /> ' . _('To') . ':
+ <input type="text" required="required" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="ToDate" size="10" maxlength="10" value="' . $_POST['ToDate'] . '" /></td>
+ </tr>
+ <tr>
+ <td>' . _('Part Number') . ':</td>
+ <td><select name="PartNumberOp">
+ <option selected="selected" value="Equals">' . _('Equals') . '</option>
+ <option value="LIKE">' . _('Begins With') . '</option>
+ </select>
+
+ <input type="text" name="PartNumber" size="20" maxlength="20" value="';
if (isset($_POST['PartNumber'])) {
- echo $_POST['PartNumber'] . '" /></td></tr>';
+ echo $_POST['PartNumber'] . '" /></td>
+ </tr>';
} else {
- echo '" /></td></tr>';
+ echo '" /></td>
+ </tr>';
}
- echo '<tr><td>' . _('Supplier Number') . ':</td>';
- echo '<td><select name="SupplierIdOp">';
- echo '<option selected="selected" value="Equals">' . _('Equals') . '</option>';
- echo '<option value="LIKE">' . _('Begins With') . '</option>';
- echo '</select>';
- echo ' <input type="text" name="SupplierId" size="10" maxlength="10" value="';
+ echo '<tr>
+ <td>' . _('Supplier Number') . ':</td>
+ <td><select name="SupplierIdOp">
+ <option selected="selected" value="Equals">' . _('Equals') . '</option>
+ <option value="LIKE">' . _('Begins With') . '</option>
+ </select>
+
+ <input type="text" name="SupplierId" size="10" maxlength="10" value="';
if (isset($_POST['SupplierId'])) {
- echo $_POST['SupplierId'] . '" /></td></tr>';
+ echo $_POST['SupplierId'] . '" /></td>
+ </tr>';
} else {
- echo '" /></td></tr>';
+ echo '" /></td>
+ </tr>';
}
- echo '<tr><td>' . _('Supplier Name') . ':</td>';
- echo '<td><select name="SupplierNameOp">';
- echo '<option selected="selected" value="LIKE">' . _('Begins With') . '</option>';
- echo '<option value="Equals">' . _('Equals') . '</option>';
- echo '</select>';
- echo ' <input type="text" name="SupplierName" size="30" maxlength="30" value="';
+ echo '<tr>
+ <td>' . _('Supplier Name') . ':</td>
+ <td><select name="SupplierNameOp">
+ <option selected="selected" value="LIKE">' . _('Begins With') . '</option>
+ <option value="Equals">' . _('Equals') . '</option>
+ </select>
+
+ <input type="text" name="SupplierName" size="30" maxlength="30" value="';
if (isset($_POST['SupplierName'])) {
- echo $_POST['SupplierName'] . '" /></td></tr>';
+ echo $_POST['SupplierName'] . '" /></td>
+ </tr>';
} else {
- echo '" /></td></tr>';
+ echo '" /></td>
+ </tr>';
}
- echo '<tr><td>' . _('Order Number') . ':</td>';
- echo '<td>'._('Equals').': ';
- echo '<input type="text" name="OrderNo" size="10" maxlength="10" value="';
+ echo '<tr>
+ <td>' . _('Order Number') . ':</td>
+ <td>'._('Equals').': <input type="text" name="OrderNo" size="10" maxlength="10" value="';
if (isset($_POST['OrderNo'])) {
- echo $_POST['OrderNo'] . '" /></td></tr>';
+ echo $_POST['OrderNo'] . '" /></td>
+ </tr>';
} else {
- echo '" /></td></tr>';
+ echo '" /></td>
+ </tr>';
}
- echo '<tr><td>' . _('Line Item Status') . ':</td>';
- echo '<td><select name="LineStatus">';
- echo '<option selected="selected" value="All">' . _('All') . '</option>';
- echo '<option value="Completed">' . _('Completed') . '</option>';
- echo '<option value="Open">' . _('Not Completed') . '</option>';
- echo '</select></td><td> </td></tr>';
-
- echo '<tr><td>' . _('Stock Categories') . ':</td><td><select name="Category">';
+ echo '<tr>
+ <td>' . _('Line Item Status') . ':</td>
+ <td><select name="LineStatus">
+ <option selected="selected" value="All">' . _('All') . '</option>
+ <option value="Completed">' . _('Completed') . '</option>
+ <option value="Open">' . _('Not Completed') . '</option>
+ </select></td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>' . _('Stock Categories') . ':</td>
+ <td><select name="Category">';
$sql="SELECT categoryid, categorydescription FROM stockcategory";
$CategoryResult= DB_query($sql,$db);
echo '<option selected="selected" value="All">' . _('All Categories') . '</option>';
While ($myrow = DB_fetch_array($CategoryResult)){
echo '<option value="' . $myrow['categoryid'] . '">' . $myrow['categorydescription'] . '</option>';
}
- echo '</select></td></tr>';
-
- echo '<tr><td> </td></tr>';
- echo '<tr><td>' . _('Sort By') . ':</td>';
- echo '<td><select name="SortBy">';
- echo '<option selected="selected" value="purchorderdetails.orderno">' . _('Order Number') . '</option>';
- echo '<option value="purchorderdetails.itemcode">' . _('Part Number') . '</option>';
- echo '<option value="suppliers.supplierid,purchorderdetails.orderno">' . _('Supplier Number') . '</option>';
- echo '<option value="suppliers.suppname,suppliers.supplierid,purchorderdetails.orderno">' . _('Supplier Name') . '</option>';
- echo '</select></td><td> </td></tr>';
-
- echo '<tr><td> </td></tr>';
- echo '<tr><td>' . _('Summary Type') . ':</td>';
- echo '<td><select name="SummaryType">';
- echo '<option selected="selected" value="orderno">' . _('Order Number') . '</option>';
- echo '<option value="itemcode">' . _('Part Number') . '</option>';
- echo '<option value="extprice">' . _('Extended Price') . '</option>';
- echo '<option value="supplierno">' . _('Supplier Number') . '</option>';
- echo '<option value="suppname">' . _('Supplier Name') . '</option>';
- echo '<option value="month">' . _('Month') . '</option>';
- echo '<option value="categoryid">' . _('Stock Category') . '</option>';
- echo '</select></td><td> </td></tr>';
-
- echo '<tr><td> </td></tr>
+ echo '</select></td>
+ </tr>
<tr>
- <td colspan="4"><div class="centre"><input type="submit" name="submit" value="' . _('Run Inquiry') . '" /></div></td>
- </tr>
- <tr>
- <td colspan="4"><div class="centre"><input type="submit" name="submitcsv" value="' . _('Export as csv file') . '" /></div></td>
- </tr>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>' . _('Sort By') . ':</td>
+ <td><select name="SortBy">
+ <option selected="selected" value="purchorderdetails.orderno">' . _('Order Number') . '</option>
+ <option value="purchorderdetails.itemcode">' . _('Part Number') . '</option>
+ <option value="suppliers.supplierid,purchorderdetails.orderno">' . _('Supplier Number') . '</option>
+ <option value="suppliers.suppname,suppliers.supplierid,purchorderdetails.orderno">' . _('Supplier Name') . '</option>
+ </select></td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>' . _('Summary Type') . ':</td>
+ <td><select name="SummaryType">
+ <option selected="selected" value="orderno">' . _('Order Number') . '</option>
+ <option value="itemcode">' . _('Part Number') . '</option>
+ <option value="extprice">' . _('Extended Price') . '</option>
+ <option value="supplierno">' . _('Supplier Number') . '</option>
+ <option value="suppname">' . _('Supplier Name') . '</option>
+ <option value="month">' . _('Month') . '</option>
+ <option value="categoryid">' . _('Stock Category') . '</option>
+ </select></td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ </tr>
+ <tr>
+ <td colspan="4"><div class="centre"><input type="submit" name="submit" value="' . _('Run Inquiry') . '" /></div></td>
+ </tr>
+ <tr>
+ <td colspan="4"><div class="centre"><input type="submit" name="submitcsv" value="' . _('Export as csv file') . '" /></div></td>
+ </tr>
</table>
- <br/>';
- echo '</div>
- </form>';
+ <br/>
+ </div>
+ </form>';
} // End of function display()
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/PO_AuthoriseMyOrders.php
===================================================================
--- trunk/PO_AuthoriseMyOrders.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/PO_AuthoriseMyOrders.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -17,9 +17,9 @@
if (isset($_POST['UpdateAll'])) {
foreach ($_POST as $key => $value) {
- if (mb_substr($key,0,6)=='status') {
+ if (mb_substr($key,0,6)=='Status') {
$OrderNo=mb_substr($key,6);
- $Status=$_POST['status'.$OrderNo];
+ $Status=$_POST['Status'.$OrderNo];
$Comment=date($_SESSION['DefaultDateFormat']).' - '._('Authorised by').' <a href="mailto:' . $EmailRow['email'].'">'.$_SESSION['UserID'].'</a><br />' . html_entity_decode($_POST['comment'],ENT_QUOTES,'UTF-8');
$sql="UPDATE purchorders
SET status='".$Status."',
@@ -49,18 +49,18 @@
$result=DB_query($sql, $db);
echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
-echo '<div>';
-echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
-echo '<table class="selection">';
+echo '<div>
+ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <table class="selection">';
/* Create the table for the purchase order header */
echo '<tr>
- <th>'._('Order Number').'</th>
- <th>'._('Supplier').'</th>
- <th>'._('Date Ordered').'</th>
- <th>'._('Initiator').'</th>
- <th>'._('Delivery Date').'</th>
- <th>'._('Status').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Order Number').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Supplier').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Date Ordered').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Initiator').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Delivery Date').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Status').'</th>
</tr>';
while ($myrow=DB_fetch_array($result)) {
@@ -88,7 +88,7 @@
<td>'.ConvertSQLDate($myrow['orddate']).'</td>
<td><a href="mailto:'.$myrow['email'].'">'.$myrow['realname'].'</td>
<td>'.ConvertSQLDate($myrow['deliverydate']).'</td>
- <td><select name="status'.$myrow['orderno'].'">
+ <td><select name="Status'.$myrow['orderno'].'">
<option selected="selected" value="Pending">'._('Pending').'</option>
<option value="Authorised">'._('Authorised').'</option>
<option value="Rejected">'._('Rejected').'</option>
@@ -110,11 +110,11 @@
<td colspan="5" align="left">
<table class="selection" align="left">
<tr>
- <th>'._('Product').'</th>
- <th>'._('Quantity Ordered').'</th>
- <th>'._('Currency').'</th>
- <th>'._('Price').'</th>
- <th>'._('Line Total').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Product').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Quantity Ordered').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Currency').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Price').'</th>
+ <th class="ascending" onClick="SortSelect(this)">'._('Line Total').'</th>
</tr>';
while ($LineRow=DB_fetch_array($LineResult)) {
@@ -144,4 +144,4 @@
</div>
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/PO_Header.php
===================================================================
--- trunk/PO_Header.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/PO_Header.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -253,7 +253,7 @@
if (isset($_GET['ModifyOrderNumber'])) {
include('includes/PO_ReadInOrder.inc');
-} //isset($_GET['ModifyOrderNumber'])
+}
if (!isset($_SESSION['PO' . $identifier])) {
@@ -552,15 +552,12 @@
if (isset($result_SuppSelect)) {
echo '<br /><table cellpadding="3" class="selection">';
- $tableheader = '<tr>
- <th>' . _('Code') . '</th>
- <th>' . _('Supplier Name') . '</th>
- <th>' . _('Address') . '</th>
- <th>' . _('Currency') . '</th>
- </tr>';
-
- echo $tableheader;
-
+ echo '<tr>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Supplier Name') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Address') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th>
+ </tr>';
$j = 1;
$k = 0;
/*row counter to determine background colour */
@@ -664,7 +661,26 @@
$PurchItemRow['leadtime'] = 1;
}
- $_SESSION['PO' . $identifier]->add_to_order(1, $Purch_Item, $PurchItemRow['serialised'], $PurchItemRow['controlled'], $Qty * $PurchItemRow['conversionfactor'], $PurchItemRow['description'], $PurchItemRow['price'] / $PurchItemRow['conversionfactor'], $PurchItemRow['units'], $PurchItemRow['stockact'], $_SESSION['PO' . $identifier]->DeliveryDate, 0, 0, '', 0, 0, '', $PurchItemRow['decimalplaces'], $PurchItemRow['suppliersuom'], $PurchItemRow['conversionfactor'], $PurchItemRow['leadtime'], $PurchItemRow['suppliers_partno']);
+ $_SESSION['PO' . $identifier]->add_to_order(1,
+ $Purch_Item,
+ $PurchItemRow['serialised'],
+ $PurchItemRow['controlled'],
+ $Qty * $PurchItemRow['conversionfactor'],
+ $PurchItemRow['description'],
+ $PurchItemRow['price'] / $PurchItemRow['conversionfactor'],
+ $PurchItemRow['units'],
+ $PurchItemRow['stockact'],
+ $_SESSION['PO' . $identifier]->DeliveryDate, 0,
+ 0,
+ '',
+ 0,
+ 0,
+ '',
+ $PurchItemRow['decimalplaces'],
+ $PurchItemRow['suppliersuom'],
+ $PurchItemRow['conversionfactor'],
+ $PurchItemRow['leadtime'],
+ $PurchItemRow['suppliers_partno']);
echo '<meta http-equiv="refresh" content="0; url=' . $RootPath . '/PO_Items.php?identifier=' . $identifier . '">';
}
@@ -698,7 +714,8 @@
$_POST['InitiatorName'] = $myrow['realname'];
}
- echo '<br /><table width="80%">
+ echo '<br />
+ <table width="80%">
<tr>
<th><h3>' . _('Order Initiation Details') . '</h3></th>
<th><h3>' . _('Order Status') . '</h3></th>
@@ -837,9 +854,9 @@
<option value="Pending">' . _('Pending') . '</option>';
break;
}
- echo '</select></td></tr>';
-
- echo '<tr>
+ echo '</select></td>
+ </tr>
+ <tr>
<td>' . _('Status Comment') . ':</td>
<td><input type="text" name="StatusComments" size="50" /></td>
</tr>
@@ -853,9 +870,8 @@
} //end its not a new order
echo '</table></td>
- </tr>';
-
- echo '<tr>
+ </tr>
+ <tr>
<th><h3>' . _('Warehouse Info') . '</h3></th>
<!-- <th><h3>' . _('Delivery To') . '</h3></th> -->
<th><h3>' . _('Supplier Info') . '</h3></th>
Modified: trunk/PO_Items.php
===================================================================
--- trunk/PO_Items.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/PO_Items.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -714,17 +714,17 @@
echo '<br /><b>'._(' Order Summary') . '</b></p>';
echo '<table cellpadding="2" class="selection">';
echo '<tr>
- <th>' . _('Item Code') . '</th>
- <th>' . _('Description') . '</th>
- <th>' . _('Quantity Our Units') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Item Code') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Quantity Our Units') . '</th>
<th>' . _('Our Unit') .'</th>
- <th>' . _('Price Our Units') .' (' . $_SESSION['PO'.$identifier]->CurrCode . ')</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Price Our Units') .' (' . $_SESSION['PO'.$identifier]->CurrCode . ')</th>
<th>' . _('Unit Conversion Factor') . '</th>
- <th>' . _('Order Quantity') . '<br />' . _('Supplier Units') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Order Quantity') . '<br />' . _('Supplier Units') . '</th>
<th>' . _('Supplier Unit') . '</th>
- <th>' . _('Order Price') . '<br />' . _('Supp Units') . ' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
- <th>' . _('Sub-Total') .' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
- <th>' . _('Deliver By') .'</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Order Price') . '<br />' . _('Supp Units') . ' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Sub-Total') .' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Deliver By') .'</th>
</tr>';
$_SESSION['PO'.$identifier]->Total = 0;
@@ -792,8 +792,8 @@
<td>' . _('Item Description') . '</td>';
echo '<td><input type="text" name="ItemDescription" size="40" /></td></tr>';
echo '<tr>
- <td>' . _('General Ledger Code') . '</td>';
- echo '<td><select name="GLCode">';
+ <td>' . _('General Ledger Code') . '</td>
+ <td><select name="GLCode">';
$sql="SELECT accountcode,
accountname
FROM chartmaster
@@ -807,7 +807,12 @@
echo '<tr>
<td>'._('OR Asset ID'). '</td>
<td><select name="AssetID">';
- $AssetsResult = DB_query("SELECT assetid, description, datepurchased FROM fixedassets ORDER BY assetid DESC",$db);
+ $AssetsResult = DB_query("SELECT assetid,
+ description,
+ datepurchased
+ FROM fixedassets
+ ORDER BY assetid DESC",
+ $db);
echo '<option selected="selected" value="Not an Asset">' . _('Not an Asset') . '</option>';
while ($AssetRow = DB_fetch_array($AssetsResult)){
if ($AssetRow['datepurchased']=='0000-00-00'){
@@ -1147,8 +1152,8 @@
echo '<table cellpadding="1" class="selection">';
$TableHeader = '<tr>
- <th>' . _('Code') . '</th>
- <th>' . _('Description') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th>
+ <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th>
<th>' . _('Our Units') . '</th>
<th>' . _('Conversion') . '<br />' ._('Factor') . '</th>
<th>' . _('Supplier/Order') . '<br />' . _('Units') . '</th>
@@ -1215,4 +1220,4 @@
echo '</div>
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/PO_OrderDetails.php
===================================================================
--- trunk/PO_OrderDetails.php 2013-08-16 10:17:58 UTC (rev 6240)
+++ trunk/PO_OrderDetails.php 2013-08-17 08:07:47 UTC (rev 6241)
@@ -15,9 +15,9 @@
if (isset($_GET['FromGRNNo'])){
$SQL= "SELECT purchorderdetails.orderno
- FROM purchorderdetails INNER JOIN grns
- ON purchorderdetails.podetailitem=grns.podetailitem
- WHERE grns.grnno='" . $_GET['FromGRNNo'] ."'";
+ FROM purchorderdetails INNER JOIN grns
+ ON purchorderdetails.podetailitem=grns.podetailitem
+ WHERE grns.grnno='" . $_GET['FromGRNNo'] ."'";
$ErrMsg = _('The search of the GRNs was unsuccessful') . ' - ' . _('the SQL statement returned the error');
$OrderResult = DB_query($SQL, $db, $ErrMsg);
@@ -42,22 +42,22 @@
$ErrMsg = _('The order requested could not be retrieved') . ' - ' . _('the SQL returned the following error');
$OrderHeaderSQL = "SELECT purchorders.*,
- suppliers.supplierid,
- suppliers.suppname,
- suppliers.currcode,
- www_users.realname,
- locations.locationname,
- currencies.decimalplaces AS currdecimalplaces
- FROM purchorders
- INNER JOIN locations
- ON locations.loccode=purchorders.intostocklocation
- INNER JOIN suppliers
- ON purchorders.supplierno = suppliers.supplierid
- INNER JOIN currencies
- ON suppliers.currcode = currencies.currabrev
- LEFT JOIN www_users
- ON purchorders.initiator=www_users.userid
- WHERE purchorders.orderno = '" . $_GET['OrderNo'] ."'";
+ suppliers.supplierid,
+ suppliers.suppname,
+ suppliers.currcode,
+ www_users.realname,
+ locations.locationname,
+ currencies.decimalplaces AS currdecimalplaces
+ FROM purchorders
+ INNER JOIN locations
+ ON locations.loccode=purchorders.intostocklocation
+ INNER JOIN suppliers
+ ON purchorders.supplierno = suppliers.supplierid
+ INNER JOIN currencies
+ ON suppliers.currcode = currencies.currabrev
+ LEFT JOIN www_users
+ ON purchorders.initiator=www_users.userid
+ WHERE purchorders.orderno = '" . $_GET['OrderNo'] ."'";
$GetOrdHdrResult = DB_query($OrderHeaderSQL,$db, $ErrMsg);
@@ -69,9 +69,12 @@
prnMsg ( _('The order requested could not be retrieved') . ' - ' . _('the SQL returned either several purchase orders'), 'error');
}
echo '<table class="table_index">
- <tr><td class="menu_group_item">
- <li><a href="'. $RootPath . '/PO_SelectPurchOrder.php">' . _('Outstanding Sales Orders') . '</a></li>
- </td></tr></table>';
+ <tr>
+ <td class="menu_group_item">
+ <li><a href="'. $RootPath . '/PO_SelectPurchOrder.php">' . _('Outstanding Sales Orders') . '</a></li>
+ </td>
+ </tr>
+ </table>';
include('includes/footer.inc');
exit;
@@ -84,32 +87,56 @@
echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/supplier.png" title="' .
_('Purchase Order') . '" alt="" />' . ' ' . $Title . '</p>';
-echo '<table class="selection" cellpadding="2">';
-echo '<tr><th colspan="8"><b>'. _('Order Header Details'). '</b></th></tr>';
-echo '<tr><td style="text-align:left">' . _('Supplier Code'). '</td><td><a href="SelectSupplier.php?SupplierID='.$myrow['supplierid'].'">' . $myrow['supplierid'] . '</a></td>
- <td style="text-align:left">' . _('Supplier Name'). '</td><td><a href="SelectSupplier.php?SupplierID='.$myrow['supplierid'].'">' . $myrow['suppname'] . '</a></td></tr>';
+echo '<table class="selection" cellpadding="2">
+ <tr>
+ <th colspan="8"><b>'. _('Order Header Details'). '</b></th>
+ </tr>
+ <tr>
+ <td>' . _('Supplier Code'). '</td>
+ <td><a href="SelectSupplier.php?SupplierID='.$myrow['supplierid'].'">' . $myrow['supplierid'] . '</a></td>
+ <td>' . _('Supplier Name'). '</td>
+ <td><a href="SelectSupplier.php?SupplierID='.$myrow['supplierid'].'">' . $myrow['suppname'] . '</a></td>
+ </tr>
+ <tr>
+ <td>' . _('Ordered On'). '</td>
+ <td>' . ConvertSQLDate($myrow['orddate']) . '</td>
+ <td>' . _('Delivery Address 1'). '</td>
+ <td>' . $myrow['deladd1'] . '</td>
+ </tr>
+ <tr>
+ <td>' . _('Order Currency'). '</td>
+ <td>' . $myrow['currcode'] . '</td>
+ <td>' . _('Delivery Address 2'). '</td>
+ <td>'...
[truncated message content] |
|
From: <ex...@us...> - 2013-08-19 12:58:49
|
Revision: 6257
http://sourceforge.net/p/web-erp/reponame/6257
Author: exsonqu
Date: 2013-08-19 12:58:46 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
19/9/2013 Exson: Fixed the typo that should be class integer instead of type integer. Reported by Tim.
Modified Paths:
--------------
trunk/CustomerBranches.php
trunk/PO_SelectPurchOrder.php
trunk/SuppShiptChgs.php
Modified: trunk/CustomerBranches.php
===================================================================
--- trunk/CustomerBranches.php 2013-08-19 09:57:05 UTC (rev 6256)
+++ trunk/CustomerBranches.php 2013-08-19 12:58:46 UTC (rev 6257)
@@ -696,7 +696,7 @@
if (!isset($_POST['FwdDate'])) {
$_POST['FwdDate']=0;
}
- echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="integer" class="number" name="FwdDate" size="4" maxlength="2" value="'. $_POST['FwdDate'].'" /></td>
+ echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" class="integer" name="FwdDate" size="4" maxlength="2" value="'. $_POST['FwdDate'].'" /></td>
</tr>';
Modified: trunk/PO_SelectPurchOrder.php
===================================================================
--- trunk/PO_SelectPurchOrder.php 2013-08-19 09:57:05 UTC (rev 6256)
+++ trunk/PO_SelectPurchOrder.php 2013-08-19 12:58:46 UTC (rev 6257)
@@ -115,7 +115,7 @@
if (isset($SelectedStockItem)) {
echo _('For the part') . ':<b>' . $SelectedStockItem . '</b> ' . _('and') . ' <input type="hidden" name="SelectedStockItem" value="' . $SelectedStockItem . '" />';
}
- echo _('Order Number') . ': <input type="integer" name="OrderNumber" autofocus="autofocus" maxlength="8" size="9" /> ' . _('Into Stock Location') . ':<select name="StockLocation"> ';
+ echo _('Order Number') . ': <input class="integer" name="OrderNumber" autofocus="autofocus" maxlength="8" size="9" /> ' . _('Into Stock Location') . ':<select name="StockLocation"> ';
$sql = "SELECT loccode, locationname FROM locations";
$resultStkLocs = DB_query($sql, $db);
while ($myrow = DB_fetch_array($resultStkLocs)) {
Modified: trunk/SuppShiptChgs.php
===================================================================
--- trunk/SuppShiptChgs.php 2013-08-19 09:57:05 UTC (rev 6256)
+++ trunk/SuppShiptChgs.php 2013-08-19 12:58:46 UTC (rev 6257)
@@ -110,7 +110,7 @@
echo '<table class="selection">';
echo '<tr>
<td>' . _('Shipment Reference') . ':</td>
- <td><input type="integer" pattern="[1-9][\d]{0,10}" title="'._('The shiment Ref should be positive integer').'" placeholder="'._('positive integer').'" name="ShiptRef" size="12" maxlength="11" value="' . $_POST['ShiptRef'] . '" /></td>
+ <td><input class="integer" pattern="[1-9][\d]{0,10}" title="'._('The shiment Ref should be positive integer').'" placeholder="'._('positive integer').'" name="ShiptRef" size="12" maxlength="11" value="' . $_POST['ShiptRef'] . '" /></td>
</tr>';
echo '<tr>
<td>' . _('Shipment Selection') . ':
|
|
From: <ex...@us...> - 2013-08-19 13:06:13
|
Revision: 6259
http://sourceforge.net/p/web-erp/reponame/6259
Author: exsonqu
Date: 2013-08-19 13:06:10 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
19/8/2013 Exson: Fixed the class name error from assending to ascending. Reported by Phil.
Modified Paths:
--------------
trunk/SupplierTypes.php
trunk/TaxAuthorities.php
trunk/TaxCategories.php
trunk/TaxGroups.php
trunk/TaxProvinces.php
trunk/TopItems.php
trunk/UnitsOfMeasure.php
trunk/WorkCentres.php
Modified: trunk/SupplierTypes.php
===================================================================
--- trunk/SupplierTypes.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/SupplierTypes.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -169,8 +169,8 @@
echo '<table class="selection">';
echo '<tr>
- <th class="assending" onclick="SortSelect(this)" >' . _('Type ID') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Type Name') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Type ID') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Type Name') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/TaxAuthorities.php
===================================================================
--- trunk/TaxAuthorities.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/TaxAuthorities.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -143,14 +143,14 @@
echo '<table class="selection">
<tr>
- <th class="assending" onclick="SortSelect(this)" >' . _('ID') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Description') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Input Tax') . '<br />' . _('GL Account') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Output Tax') . '<br />' . _('GL Account') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Bank') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Bank Account') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Bank Act Type') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Bank Swift') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('ID') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Description') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Input Tax') . '<br />' . _('GL Account') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Output Tax') . '<br />' . _('GL Account') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Bank') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Bank Account') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Bank Act Type') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Bank Swift') . '</th>
</tr>';
$k=0;
while ($myrow = DB_fetch_row($result)) {
Modified: trunk/TaxCategories.php
===================================================================
--- trunk/TaxCategories.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/TaxCategories.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -164,7 +164,7 @@
echo '<table class="selection">
<tr>
- <th class="assending" onclick="SortSelect(this)">' . _('Tax Categories') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Tax Categories') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/TaxGroups.php
===================================================================
--- trunk/TaxGroups.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/TaxGroups.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -169,8 +169,8 @@
} else {
echo '<table class="selection">
<tr>
- <th class="assending" onclick="SortSelect(this)" >' . _('Group No') . '</th>
- <th class="assending" onclick="SortSelect(this)" >' . _('Tax Group') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Group No') . '</th>
+ <th class="ascending" onclick="SortSelect(this)" >' . _('Tax Group') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/TaxProvinces.php
===================================================================
--- trunk/TaxProvinces.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/TaxProvinces.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -162,7 +162,7 @@
echo '<table class="selection">
<tr>
- <th class="assending" onclick="SortSelect(this)">' . _('Tax Provinces') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Tax Provinces') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/TopItems.php
===================================================================
--- trunk/TopItems.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/TopItems.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -160,14 +160,14 @@
echo '<table class="selection">';
$TableHeader = '<tr>
<th>' . _('#') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Description') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Total Invoiced') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Units') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Value Sales') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('On Hand') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('On Order') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Stock (Days)') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Total Invoiced') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Units') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Value Sales') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('On Hand') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('On Order') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Stock (Days)') . '</th>
</tr>';
echo $TableHeader;
echo '<input type="hidden" value="' . $_POST['Location'] . '" name="Location" />
Modified: trunk/UnitsOfMeasure.php
===================================================================
--- trunk/UnitsOfMeasure.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/UnitsOfMeasure.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -167,7 +167,7 @@
echo '<table class="selection">
<tr>
- <th class="assending" onclick="SortSelect(this)">' . _('Units of Measure') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Units of Measure') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/WorkCentres.php
===================================================================
--- trunk/WorkCentres.php 2013-08-19 12:59:39 UTC (rev 6258)
+++ trunk/WorkCentres.php 2013-08-19 13:06:10 UTC (rev 6259)
@@ -123,11 +123,11 @@
$result = DB_query($sql,$db);
echo '<table class="selection">
<tr>
- <th class="assending" onclick="SortSelect(this)">' . _('WC Code') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Description') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Location') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Overhead GL Account') . '</th>
- <th class="assending" onclick="SortSelect(this)">' . _('Overhead Per Hour') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('WC Code') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Location') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Overhead GL Account') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Overhead Per Hour') . '</th>
</tr>';
while ($myrow = DB_fetch_array($result)) {
|
|
From: <ex...@us...> - 2013-08-20 07:48:03
|
Revision: 6270
http://sourceforge.net/p/web-erp/reponame/6270
Author: exsonqu
Date: 2013-08-20 07:47:56 +0000 (Tue, 20 Aug 2013)
Log Message:
-----------
20/8/2013 Exson: html5 compatible and table sortable for SuppContractChgs.php,SuppCreditGRNs.php,SuppFixedAssetChgs.php,SuppInvGRNs.php, SupplierAllocations.php
Modified Paths:
--------------
trunk/SuppContractChgs.php
trunk/SuppCreditGRNs.php
trunk/SuppFixedAssetChgs.php
trunk/SuppInvGRNs.php
trunk/SupplierAllocations.php
Modified: trunk/SuppContractChgs.php
===================================================================
--- trunk/SuppContractChgs.php 2013-08-20 04:30:16 UTC (rev 6269)
+++ trunk/SuppContractChgs.php 2013-08-20 07:47:56 UTC (rev 6270)
@@ -75,10 +75,10 @@
echo '<table class="selection">';
$TableHeader = '<tr>
- <th>' . _('Contract') . '</th>
- <th>' . _('Amount') . '</th>
- <th>' . _('Narrative') . '</th>
- <th>' . _('Anticipated') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Contract') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Narrative') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Anticipated') . '</th>
</tr>';
echo $TableHeader;
@@ -103,7 +103,7 @@
}
-echo '<tr>
+echo '</table><table class="selection"><tr>
<td class="number">' . _('Total') . ':</td>
<td class="number">' . locale_number_format($TotalContractsValue,$_SESSION['CompanyRecord']['decimalplaces']) . '</td>
</tr>
@@ -162,14 +162,14 @@
}
echo '<tr>
<td>' . _('Amount') . ':</td>
- <td><input type="text" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td>
+ <td><input type="text" class="number" pattern="(?!^[-]?0[.,]0*$).{1,11}" title="'._('Amount must be numeric').'" placeholder="'._('Non zero amount').'" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td>
</tr>';
echo '<tr>
<td>' . _('Narrative') . ':</td>
<td><input type="text" name="Narrative" size="42" maxlength="40" value="' . $_POST['Narrative'] . '" /></td>
</tr>';
echo '<tr>
- <td>' . _('Aniticpated Cost') . ':</td>
+ <td>' . _('Anticipated Cost') . ':</td>
<td>';
if (isset($_POST['AnticipatedCost']) AND $_POST['AnticipatedCost']==1){
echo '<input type="checkbox" name="AnticipatedCost" checked />';
@@ -186,4 +186,4 @@
echo '</div>
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/SuppCreditGRNs.php
===================================================================
--- trunk/SuppCreditGRNs.php 2013-08-20 04:30:16 UTC (rev 6269)
+++ trunk/SuppCreditGRNs.php 2013-08-20 07:47:56 UTC (rev 6270)
@@ -85,7 +85,7 @@
echo '<table class="selection">';
echo '<tr>
<th colspan="6"><h3>' . _('Credits Against Goods Received Selected') . '</h3></th>
- </tr>';
+ </tr></table><table class="selection">';
$TableHeader = '<tr>
<th>' . _('GRN') . '</th>
<th>' . _('Item Code') . '</th>
@@ -177,20 +177,20 @@
echo '<input type="text" name="Show_Since" maxlength="11" size="12" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" value="' . $_POST['Show_Since'] . '" />
<input type="submit" name="FindGRNs" value="' . _('Display GRNs') . '" />
<h3> ' . _('From') . ' ' . $_SESSION['SuppTrans']->SupplierName . '</h3></th>
- </tr>';
+ </tr></table><table class="selection">';
if (DB_num_rows($GRNResults)>0){
$TableHeader = '<tr>
- <th>' . _('GRN') . '</th>
- <th>' . _('Order') . '</th>
- <th>' . _('Item Code') . '</th>
- <th>' . _('Description') . '</th>
- <th>' . _('Delivered') . '</th>
- <th>' . _('Total Qty') . '<br />' . _('Received') . '</th>
- <th>' . _('Qty Invoiced') . '</th>
- <th>' . _('Qty Yet') . '<br />' . _('invoice') . '</th>
- <th>' . _('Price') . '<br />' . $_SESSION['SuppTrans']->CurrCode . '</th>
- <th>' . _('Line Value') . '<br />' . _('In') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('GRN') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Order') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Item Code') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Delivered') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Total Qty') . '<br />' . _('Received') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Qty Invoiced') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Qty Yet') . '<br />' . _('invoice') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Price') . '<br />' . $_SESSION['SuppTrans']->CurrCode . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Line Value') . '<br />' . _('In') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th>
</tr>';
echo $TableHeader;
@@ -293,9 +293,9 @@
<td>' . $_POST['GRNNo'] . '</td>
<td>' . $myrow['itemcode'] . ' ' . $myrow['itemdescription'] . '</td>
<td class="number">' . locale_number_format($myrow['qtyostdg'],$myrow['decimalplaces']) . '</td>
- <td><input type="text" name="This_QuantityCredited" value="' . locale_number_format($myrow['qtyostdg'],$myrow['decimalplaces']) . '" size="11" maxlength="10" /></td>
+ <td><input type="text" class="number" name="This_QuantityCredited" value="' . locale_number_format($myrow['qtyostdg'],$myrow['decimalplaces']) . '" size="11" maxlength="10" /></td>
<td class="number">' . locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
- <td><input type="text" name="ChgPrice" value="' . locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" size="11" maxlength="10" /></td>
+ <td><input type="text" class="number" name="ChgPrice" value="' . locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" size="11" maxlength="10" /></td>
</tr>
</table>';
Modified: trunk/SuppFixedAssetChgs.php
===================================================================
--- trunk/SuppFixedAssetChgs.php 2013-08-20 04:30:16 UTC (rev 6269)
+++ trunk/SuppFixedAssetChgs.php 2013-08-20 07:47:56 UTC (rev 6270)
@@ -74,9 +74,9 @@
echo '</p></div>';
echo '<table class="selection">';
$TableHeader = '<tr>
- <th>' . _('Asset ID') . '</th>
- <th>' . _('Description') . '</th>
- <th>' . _('Amount') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Asset ID') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '</th>
</tr>';
echo $TableHeader;
@@ -93,7 +93,7 @@
}
-echo '<tr>
+echo '</table><table class="selection"><tr>
<td class="number"><h4>' . _('Total') . ':</h4></td>
<td class="number"><h4>' . locale_number_format($TotalAssetValue,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</h4></td>
</tr>
@@ -120,7 +120,7 @@
echo '<tr>
<td>' . _('Enter Asset ID') . ':</td>
- <td><input type="text" name="AssetID" size="5" maxlength="6" value="' . $_POST['AssetID'] . '" /> <a href="FixedAssetItems.php" target="_blank">'. _('New Fixed Asset') . '</a></td>
+ <td><input type="text" class="integer" pattern="[^-]{1,5}" name="AssetID" title="'._('The Asset ID should be positive integer').'" size="7" maxlength="6" placeholder="'._('Postive integer').'" value="' . $_POST['AssetID'] . '" /> <a href="FixedAssetItems.php" target="_blank">'. _('New Fixed Asset') . '</a></td>
</tr>';
echo '<tr>
<td><b>' . _('OR') .' </b>'. _('Select from list') . ':</td>
@@ -151,7 +151,7 @@
}
echo '<tr>
<td>' . _('Amount') . ':</td>
- <td><input type="text" class="number" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td>
+ <td><input type="text" class="number" pattern="(?!^-?0[,.]0*$).{1,11}" title="'._('The amount must be numeric and cannot be zero').'" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td>
</tr>';
echo '</table>';
@@ -163,4 +163,4 @@
echo '</div>
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/SuppInvGRNs.php
===================================================================
--- trunk/SuppInvGRNs.php 2013-08-20 04:30:16 UTC (rev 6269)
+++ trunk/SuppInvGRNs.php 2013-08-20 07:47:56 UTC (rev 6270)
@@ -118,9 +118,9 @@
echo '<table class="selection">
<tr>
<th colspan="6"><h3>' . _('Invoiced Goods Received Selected') . '</h3></th>
- </tr>';
+ </tr></table>';
-$tableheader = '<tr>
+$tableheader = '<table class="selection"><tr>
<th>' . _('Sequence') . ' #</th>
<th>' . _('Item Code') . '</th>
<th>' . _('Description') . '</th>
@@ -149,11 +149,7 @@
$TotalValueCharged = $TotalValueCharged + ($EnteredGRN->ChgPrice * $EnteredGRN->This_QuantityInv);
- $i++;
- if ($i>15){
- $i=0;
- echo $tableheader;
- }
+
}
echo '<tr>
@@ -297,19 +293,19 @@
echo '<table class="selection">
<tr>
<th colspan="10"><h3>' . _('Goods Received Yet to be Invoiced From') . ' ' . $_SESSION['SuppTrans']->SupplierName.'</h3></th>
- </tr>';
+ </tr></table>';
- $tableheader = '<tr>
- <th>' . _('Select') . '</th>
- <th>' . _('Sequence') . ' #</th>
- <th>' . _('Order') . '</th>
- <th>' . _('Item Code') . '</th>
- <th>' . _('Description') . '</th>
- <th>' . _('Total Qty Received') . '</th>
- <th>' . _('Qty Already Invoiced') . '</th>
- <th>' . _('Qty Yet To Invoice') . '</th>
- <th>' . _('Order Price in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th>
- <th>' . _('Line Value in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th>
+ $tableheader = '<table><tr>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Select') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Sequence') . ' #</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Order') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Item Code') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Total Qty Received') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Qty Already Invoiced') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Qty Yet To Invoice') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Order Price in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Line Value in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th>
</tr>';
$i = 0;
$POs = array();
@@ -345,11 +341,8 @@
<td class="number">' . locale_number_format($GRNTmp->OrderPrice,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
<td class="number">' . locale_number_format($GRNTmp->OrderPrice * ($GRNTmp->QtyRecd - $GRNTmp->Prev_QuantityInv),$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
</tr>';
- $i++;
- if ($i>15){
- $i=0;
+
}
- }
echo '</table>';
echo '<br />
<div class="centre">
@@ -364,4 +357,4 @@
echo '</div>
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/SupplierAllocations.php
===================================================================
--- trunk/SupplierAllocations.php 2013-08-20 04:30:16 UTC (rev 6269)
+++ trunk/SupplierAllocations.php 2013-08-20 07:47:56 UTC (rev 6270)
@@ -451,13 +451,13 @@
echo '<table class="selection">';
$TableHeader = '<tr>
- <th>' . _('Type') . '</th>
- <th>' . _('Trans') . '<br />' . _('Number') . '</th>
- <th>' . _('Trans') .'<br />' . _('Date') . '</th>
- <th>' . _('Supp') . '<br />' . _('Ref') . '</th>
- <th>' . _('Total') . '<br />' . _('Amount') .'</th>
- <th>' . _('Yet to') . '<br />' . _('Allocate') . '</th>
- <th>' . _('This') . '<br />' . _('Allocation') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Type') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Trans') . '<br />' . _('Number') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Trans') .'<br />' . _('Date') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Supp') . '<br />' . _('Ref') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Total') . '<br />' . _('Amount') .'</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('Yet to') . '<br />' . _('Allocate') . '</th>
+ <th class="ascending" onclick="SortSelect(this)">' . _('This') . '<br />' . _('Allocation') . '</th>
</tr>';
$k = 0;
$Counter = 0;
@@ -693,4 +693,4 @@
echo '</div>
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
|
|
From: <dai...@us...> - 2013-08-22 07:47:48
|
Revision: 6287
http://sourceforge.net/p/web-erp/reponame/6287
Author: daintree
Date: 2013-08-22 07:47:44 +0000 (Thu, 22 Aug 2013)
Log Message:
-----------
Tims nice modification to just use the class name to determine when to apply the colum sorting function
Modified Paths:
--------------
trunk/AccountGroups.php
trunk/AccountSections.php
trunk/BankMatching.php
trunk/ImportBankTransAnalysis.php
trunk/PO_AuthoriseMyOrders.php
trunk/PO_Header.php
trunk/PO_Items.php
trunk/PO_SelectOSPurchOrder.php
trunk/PO_SelectPurchOrder.php
trunk/Prices.php
trunk/PricesByCost.php
trunk/PurchData.php
trunk/SalesCategories.php
trunk/SelectCustomer.php
trunk/SelectOrderItems.php
trunk/SelectProduct.php
trunk/SelectSalesOrder.php
trunk/SelectSupplier.php
trunk/StockTransfers.php
trunk/StockUsage.php
trunk/SuppContractChgs.php
trunk/SuppCreditGRNs.php
trunk/SuppFixedAssetChgs.php
trunk/SuppInvGRNs.php
trunk/SuppTransGLAnalysis.php
trunk/SupplierAllocations.php
trunk/SupplierContacts.php
trunk/SupplierInquiry.php
trunk/SupplierTenderCreate.php
trunk/SupplierTenders.php
trunk/SupplierTypes.php
trunk/TaxAuthorities.php
trunk/TaxAuthorityRates.php
trunk/TaxCategories.php
trunk/TaxGroups.php
trunk/TaxProvinces.php
trunk/TopItems.php
trunk/UnitsOfMeasure.php
trunk/WorkCentres.php
trunk/javascripts/MiscFunctions.js
Modified: trunk/AccountGroups.php
===================================================================
--- trunk/AccountGroups.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/AccountGroups.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -287,11 +287,11 @@
echo '<table class="selection">
<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Group Name') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Section') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Sequence In TB') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Profit and Loss') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Parent Group') . '</th>
+ <th class="ascending">' . _('Group Name') . '</th>
+ <th class="ascending">' . _('Section') . '</th>
+ <th class="ascending">' . _('Sequence In TB') . '</th>
+ <th class="ascending">' . _('Profit and Loss') . '</th>
+ <th class="ascending">' . _('Parent Group') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/AccountSections.php
===================================================================
--- trunk/AccountSections.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/AccountSections.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -173,8 +173,8 @@
echo '<table class="selection">
<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Section Number') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Section Description') . '</th>
+ <th class="ascending">' . _('Section Number') . '</th>
+ <th class="ascending">' . _('Section Description') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/BankMatching.php
===================================================================
--- trunk/BankMatching.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/BankMatching.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -272,12 +272,12 @@
echo '<table cellpadding="2" class="selection">
<tr>
- <th class="ascending" onClick="SortSelect(this)">'. _('Cheque No') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Ref') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . $TypeName . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Date') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Amount') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Outstanding') . '</th>
+ <th class="ascending">'. _('Cheque No') . '</th>
+ <th class="ascending">' . _('Ref') . '</th>
+ <th class="ascending">' . $TypeName . '</th>
+ <th class="ascending">' . _('Date') . '</th>
+ <th class="ascending">' . _('Amount') . '</th>
+ <th class="ascending">' . _('Outstanding') . '</th>
<th colspan="3">' . _('Clear') . ' / ' . _('Unclear') . '</th>
</tr>';
Modified: trunk/ImportBankTransAnalysis.php
===================================================================
--- trunk/ImportBankTransAnalysis.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/ImportBankTransAnalysis.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -203,11 +203,11 @@
<th colspan="5">' . _('General ledger Analysis') . '</th>
</tr>
<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Account') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['Statement']->CurrCode . '</th>
+ <th class="ascending">' . _('Account') . '</th>
+ <th class="ascending">' . _('Name') . '</th>
+ <th class="ascending">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['Statement']->CurrCode . '</th>
<th>' . _('Narrative') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Tag') . '</th>
+ <th class="ascending">' . _('Tag') . '</th>
</tr>';
echo $TableHeader;
$TotalGLValue=0;
Modified: trunk/PO_AuthoriseMyOrders.php
===================================================================
--- trunk/PO_AuthoriseMyOrders.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PO_AuthoriseMyOrders.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -55,12 +55,12 @@
/* Create the table for the purchase order header */
echo '<tr>
- <th class="ascending" onClick="SortSelect(this)">'._('Order Number').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Supplier').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Date Ordered').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Initiator').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Delivery Date').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Status').'</th>
+ <th class="ascending">'._('Order Number').'</th>
+ <th class="ascending">'._('Supplier').'</th>
+ <th class="ascending">'._('Date Ordered').'</th>
+ <th class="ascending">'._('Initiator').'</th>
+ <th class="ascending">'._('Delivery Date').'</th>
+ <th class="ascending">'._('Status').'</th>
</tr>';
while ($myrow=DB_fetch_array($result)) {
@@ -110,11 +110,11 @@
<td colspan="5" align="left">
<table class="selection" align="left">
<tr>
- <th class="ascending" onClick="SortSelect(this)">'._('Product').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Quantity Ordered').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Currency').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Price').'</th>
- <th class="ascending" onClick="SortSelect(this)">'._('Line Total').'</th>
+ <th class="ascending">'._('Product').'</th>
+ <th class="ascending">'._('Quantity Ordered').'</th>
+ <th class="ascending">'._('Currency').'</th>
+ <th class="ascending">'._('Price').'</th>
+ <th class="ascending">'._('Line Total').'</th>
</tr>';
while ($LineRow=DB_fetch_array($LineResult)) {
Modified: trunk/PO_Header.php
===================================================================
--- trunk/PO_Header.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PO_Header.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -553,10 +553,10 @@
echo '<br /><table cellpadding="3" class="selection">';
echo '<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Supplier Name') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Address') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Supplier Name') . '</th>
+ <th class="ascending">' . _('Address') . '</th>
+ <th class="ascending">' . _('Currency') . '</th>
</tr>';
$j = 1;
$k = 0;
Modified: trunk/PO_Items.php
===================================================================
--- trunk/PO_Items.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PO_Items.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -714,17 +714,17 @@
echo '<br /><b>'._(' Order Summary') . '</b></p>';
echo '<table cellpadding="2" class="selection">';
echo '<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Item Code') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Quantity Our Units') . '</th>
+ <th class="ascending">' . _('Item Code') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
+ <th class="ascending">' . _('Quantity Our Units') . '</th>
<th>' . _('Our Unit') .'</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Price Our Units') .' (' . $_SESSION['PO'.$identifier]->CurrCode . ')</th>
+ <th class="ascending">' . _('Price Our Units') .' (' . $_SESSION['PO'.$identifier]->CurrCode . ')</th>
<th>' . _('Unit Conversion Factor') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Order Quantity') . '<br />' . _('Supplier Units') . '</th>
+ <th class="ascending">' . _('Order Quantity') . '<br />' . _('Supplier Units') . '</th>
<th>' . _('Supplier Unit') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Order Price') . '<br />' . _('Supp Units') . ' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Sub-Total') .' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Deliver By') .'</th>
+ <th class="ascending">' . _('Order Price') . '<br />' . _('Supp Units') . ' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
+ <th class="ascending">' . _('Sub-Total') .' ('.$_SESSION['PO'.$identifier]->CurrCode. ')</th>
+ <th class="ascending">' . _('Deliver By') .'</th>
</tr>';
$_SESSION['PO'.$identifier]->Total = 0;
@@ -1152,8 +1152,8 @@
echo '<table cellpadding="1" class="selection">';
$TableHeader = '<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
<th>' . _('Our Units') . '</th>
<th>' . _('Conversion') . '<br />' ._('Factor') . '</th>
<th>' . _('Supplier/Order') . '<br />' . _('Units') . '</th>
Modified: trunk/PO_SelectOSPurchOrder.php
===================================================================
--- trunk/PO_SelectOSPurchOrder.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PO_SelectOSPurchOrder.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -234,11 +234,11 @@
if (isset($StockItemsResult)) {
echo '<table cellpadding="2" class="selection">';
$TableHeader = '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('On Hand') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Orders') . '<br />' . _('Outstanding') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Units') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
+ <th class="ascending">' . _('On Hand') . '</th>
+ <th class="ascending">' . _('Orders') . '<br />' . _('Outstanding') . '</th>
+ <th class="ascending">' . _('Units') . '</th>
</tr>';
echo $TableHeader;
$j = 1;
@@ -472,17 +472,17 @@
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Order #') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Order Date') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Delivery Date') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Initiated by') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Supplier') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Currency') . '</th>';
+ <th class="ascending">' . _('Order #') . '</th>
+ <th class="ascending">' . _('Order Date') . '</th>
+ <th class="ascending">' . _('Delivery Date') . '</th>
+ <th class="ascending">' . _('Initiated by') . '</th>
+ <th class="ascending">' . _('Supplier') . '</th>
+ <th class="ascending">' . _('Currency') . '</th>';
if (in_array($PricesSecurity, $_SESSION['AllowedPageSecurityTokens']) OR !isset($PricesSecurity)) {
- echo '<th class="ascending" onclick="SortSelect(this)">' . _('Order Total') . '</th>';
+ echo '<th class="ascending">' . _('Order Total') . '</th>';
}
- echo '<th class="ascending" onclick="SortSelect(this)">' . _('Status') . '</th>
+ echo '<th class="ascending">' . _('Status') . '</th>
<th>' . _('Print') . '</th>
<th>' . _('Receive') . '</th>
</tr>';
Modified: trunk/PO_SelectPurchOrder.php
===================================================================
--- trunk/PO_SelectPurchOrder.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PO_SelectPurchOrder.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -210,11 +210,11 @@
if (isset($StockItemsResult)) {
echo '<table class="selection">';
$TableHeader = '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Description') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('On Hand') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Orders') . '<br />' . _('Outstanding') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Units') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
+ <th class="ascending">' . _('On Hand') . '</th>
+ <th class="ascending">' . _('Orders') . '<br />' . _('Outstanding') . '</th>
+ <th class="ascending">' . _('Units') . '</th>
</tr>';
echo $TableHeader;
$j = 1;
@@ -429,15 +429,15 @@
/*show a table of the orders returned by the SQL */
echo '<table cellpadding="2" width="90%" class="selection">';
$TableHeader = '<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('View') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Supplier') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Requisition') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Order Date') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Delivery Date') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Initiator') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Order Total') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Status') . '</th>
+ <th class="ascending">' . _('View') . '</th>
+ <th class="ascending">' . _('Supplier') . '</th>
+ <th class="ascending">' . _('Currency') . '</th>
+ <th class="ascending">' . _('Requisition') . '</th>
+ <th class="ascending">' . _('Order Date') . '</th>
+ <th class="ascending">' . _('Delivery Date') . '</th>
+ <th class="ascending">' . _('Initiator') . '</th>
+ <th class="ascending">' . _('Order Total') . '</th>
+ <th class="ascending">' . _('Status') . '</th>
</tr>';
echo $TableHeader;
$j = 1;
Modified: trunk/Prices.php
===================================================================
--- trunk/Prices.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/Prices.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -217,11 +217,11 @@
<input type="submit" name="NewPart" value="' . _('Review Prices') . '" /></th>
</tr>';
- echo '<tbody><tr><th class="ascending" onclick="SortSelect(this)">' . _('Currency') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Sales Type') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Price') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Start Date') . ' </th>
- <th class="ascending" onclick="SortSelect(this)">' . _('End Date') . '</th>
+ echo '<tbody><tr><th class="ascending">' . _('Currency') . '</th>
+ <th class="ascending">' . _('Sales Type') . '</th>
+ <th class="ascending">' . _('Price') . '</th>
+ <th class="ascending">' . _('Start Date') . ' </th>
+ <th class="ascending">' . _('End Date') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/PricesByCost.php
===================================================================
--- trunk/PricesByCost.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PricesByCost.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -149,16 +149,16 @@
if ($numrow > 0) { //the number of prices returned from the main prices query is
echo '<table class="selection">
<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Customer') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Branch') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Start Date') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('End Date') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Cost') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('GP %') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Price Proposed') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('List Price') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
+ <th class="ascending">' . _('Customer') . '</th>
+ <th class="ascending">' . _('Branch') . '</th>
+ <th class="ascending">' . _('Start Date') . '</th>
+ <th class="ascending">' . _('End Date') . '</th>
+ <th class="ascending">' . _('Cost') . '</th>
+ <th class="ascending">' . _('GP %') . '</th>
+ <th class="ascending">' . _('Price Proposed') . '</th>
+ <th class="ascending">' . _('List Price') . '</th>
<tr>';
$k = 0; //row colour counter
echo '<form action="' .htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post" id="update">';
Modified: trunk/PurchData.php
===================================================================
--- trunk/PurchData.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/PurchData.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -268,15 +268,15 @@
echo '<table cellpadding="2" class="selection">';
$TableHeader = '<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Supplier') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Price') . '</th>
+ <th class="ascending">' . _('Supplier') . '</th>
+ <th class="ascending">' . _('Price') . '</th>
<th>' . _('Supplier Unit') . '</th>
<th>' . _('Conversion Factor') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Cost Per Our Unit') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Effective From') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Min Order Qty') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Lead Time') . '</th>
+ <th class="ascending">' . _('Cost Per Our Unit') . '</th>
+ <th class="ascending">' . _('Currency') . '</th>
+ <th class="ascending">' . _('Effective From') . '</th>
+ <th class="ascending">' . _('Min Order Qty') . '</th>
+ <th class="ascending">' . _('Lead Time') . '</th>
<th>' . _('Preferred') . '</th>
</tr>';
echo $TableHeader;
@@ -466,12 +466,12 @@
<table cellpadding="2" colspan="7" class="selection">';
echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
$TableHeader = '<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Supplier Name') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Currency') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Address 1') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Address 2') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Address 3') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Supplier Name') . '</th>
+ <th class="ascending">' . _('Currency') . '</th>
+ <th class="ascending">' . _('Address 1') . '</th>
+ <th class="ascending">' . _('Address 2') . '</th>
+ <th class="ascending">' . _('Address 3') . '</th>
</tr>';
echo $TableHeader;
$k = 0;
@@ -696,11 +696,11 @@
echo '<table cellpadding="2" colspan="7" class="selection">
<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Discount Name') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Discount') . '<br />' . _('Value') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Discount') . '<br />' . _('Percent') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Effective From') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Effective To') . '</th>
+ <th class="ascending">' . _('Discount Name') . '</th>
+ <th class="ascending">' . _('Discount') . '<br />' . _('Value') . '</th>
+ <th class="ascending">' . _('Discount') . '<br />' . _('Percent') . '</th>
+ <th class="ascending">' . _('Effective From') . '</th>
+ <th class="ascending">' . _('Effective To') . '</th>
</tr>';
$k = 0;
$i = 0; //DiscountCounter
Modified: trunk/SalesCategories.php
===================================================================
--- trunk/SalesCategories.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/SalesCategories.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -505,10 +505,10 @@
<th colspan="4">'._('Inventory items for') . ' ' . $CategoryPath . '</th>
</tr>
<tr>
- <th class="ascending" onClick="SortSelect(this)">' . _('Item') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Description') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Brand') . '</th>
- <th class="ascending" onClick="SortSelect(this)">' . _('Featured') . '</th>
+ <th class="ascending">' . _('Item') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
+ <th class="ascending">' . _('Brand') . '</th>
+ <th class="ascending">' . _('Featured') . '</th>
</tr>';
$k=0; //row colour counter
Modified: trunk/SelectCustomer.php
===================================================================
--- trunk/SelectCustomer.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/SelectCustomer.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -417,14 +417,14 @@
<table cellpadding="2" class="selection">';
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Code') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Customer Name') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Branch') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Contact') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Type') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Phone') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Fax') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Customer Name') . '</th>
+ <th class="ascending">' . _('Branch') . '</th>
+ <th class="ascending">' . _('Contact') . '</th>
+ <th class="ascending">' . _('Type') . '</th>
+ <th class="ascending">' . _('Phone') . '</th>
+ <th class="ascending">' . _('Fax') . '</th>
+ <th class="ascending">' . _('Email') . '</th>
</tr>';
$k = 0; //row counter to determine background colour
$RowIndex = 0;
@@ -606,10 +606,10 @@
echo '<br /><div class="centre"><img src="' . $RootPath . '/css/' . $Theme . '/images/group_add.png" title="' . _('Customer Contacts') . '" alt="" />' . ' ' . _('Customer Contacts') . '</div>';
echo '<br /><table width="45%">';
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Role') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Phone Number') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th>
+ <th class="ascending">' . _('Name') . '</th>
+ <th class="ascending">' . _('Role') . '</th>
+ <th class="ascending">' . _('Phone Number') . '</th>
+ <th class="ascending">' . _('Email') . '</th>
<th>' . _('Notes') . '</th>
<th>' . _('Edit') . '</th>
<th>' . _('Delete') . '</th>
@@ -656,10 +656,10 @@
echo '<br /><div class="centre"><img src="' . $RootPath . '/css/' . $Theme . '/images/note_add.png" title="' . _('Customer Notes') . '" alt="" />' . ' ' . _('Customer Notes') . '</div><br />';
echo '<table width="45%">';
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Date') . '</th>
+ <th class="ascending">' . _('Date') . '</th>
<th>' . _('Note') . '</th>
<th>' . _('Hyperlink') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Priority') . '</th>
+ <th class="ascending">' . _('Priority') . '</th>
<th>' . _('Edit') . '</th>
<th>' . _('Delete') . '</th>
<th> <a href="AddCustomerNotes.php?DebtorNo=' . $_SESSION['CustomerID'] . '">' . ' ' . _('Add New Note') . '</a> </th>
@@ -698,10 +698,10 @@
echo '<br /><div class="centre"><img src="' . $RootPath . '/css/' . $Theme . '/images/folder_add.png" title="' . _('Customer Type (Group) Notes') . '" alt="" />' . ' ' . _('Customer Type (Group) Notes for:' . '<b> ' . $CustomerTypeName . '</b>') . '</div><br />';
echo '<table width="45%">';
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)">' . _('Date') . '</th>
+ <th class="ascending">' . _('Date') . '</th>
<th>' . _('Note') . '</th>
<th>' . _('File Link / Reference / URL') . '</th>
- <th class="ascending" onclick="SortSelect(this)">' . _('Priority') . '</th>
+ <th class="ascending">' . _('Priority') . '</th>
<th>' . _('Edit') . '</th>
<th>' . _('Delete') . '</th>
<th><a href="AddCustomerTypeNotes.php?DebtorType=' . $CustomerType . '">' . _('Add New Group Note') . '</a></th>
Modified: trunk/SelectOrderItems.php
===================================================================
--- trunk/SelectOrderItems.php 2013-08-22 01:52:26 UTC (rev 6286)
+++ trunk/SelectOrderItems.php 2013-08-22 07:47:44 UTC (rev 6287)
@@ -640,9 +640,9 @@
<table class="selection">';
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Customer') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Branch') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Contact') . '</th>
+ <th class="ascending" >' . _('Customer') . '</th>
+ <th class="ascending" >' . _('Branch') . '</th>
+ <th class="ascending" >' . _('Contact') . '</th>
<th>' . _('Phone') . '</th>
<th>' . _('Fax') . '</th>
</tr>';
@@ -1369,8 +1369,8 @@
if($_SESSION['Items'.$identifier]->DefaultPOLine == 1){
echo '<th>' . _('PO Line') . '</th>';
}
- echo '<th class="ascending" onclick="SortSelect(this)" >' . _('Item Code') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Item Description') . '</th>
+ echo '<th class="ascending" >' . _('Item Code') . '</th>
+ <th class="ascending" >' . _('Item Description') . '</th>
<th>' . _('Quantity') . '</th>
<th>' . _('QOH') . '</th>
<th>' . _('Unit') . '</th>
@@ -1533,14 +1533,14 @@
<table class="table1">';
echo '<tr>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Code') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Description') . '</th>
+ <th class="ascending" >' . _('Code') . '</th>
+ <th class="ascending" >' . _('Description') . '</th>
<th>' . _('Units') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('On Hand') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('On Demand') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('On Order') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Available') . '</th>
- <th class="ascending" onclick="SortSelect(this)" >' . _('Quantity') . '</th>
+ <th class="ascending" >' . _('On Hand') . '</th>
+ <th class="ascending" >' . _('On Demand') . '</th>
+ <th class="ascending" >' . _('On Order') . '</th>
+ <th class="ascending" >' . _('Available') . '</th>
+ <th class="ascending" >' . _('Quantity') . '</th>
</tr>';
$i=0;
$j=1;
@@ -1733,13 +1733,13 @@
echo '<td style="text-align:center" colspan="6"><input type="hidden" name="SelectingOrderItems" value="1" /><input tabindex="'.strval($j+9).'" type="submit" value="'._('Add to ...
[truncated message content] |
|
From: <dai...@us...> - 2013-08-24 00:18:16
|
Revision: 6288
http://sourceforge.net/p/web-erp/reponame/6288
Author: daintree
Date: 2013-08-24 00:18:10 +0000 (Sat, 24 Aug 2013)
Log Message:
-----------
update DBs
Modified Paths:
--------------
trunk/CustomerTypes.php
trunk/SalesPeople.php
trunk/ShopParameters.php
trunk/build/make_release.sh
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po
trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot
trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo
trunk/locale/en_US.utf8/LC_MESSAGES/messages.po
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.po
trunk/sql/mysql/weberp-demo.sql
trunk/sql/mysql/weberp-new.sql
Modified: trunk/CustomerTypes.php
===================================================================
--- trunk/CustomerTypes.php 2013-08-22 07:47:44 UTC (rev 6287)
+++ trunk/CustomerTypes.php 2013-08-24 00:18:10 UTC (rev 6288)
@@ -186,8 +186,8 @@
echo '<br /><table class="selection">';
echo '<tr>
- <th>' . _('Type ID') . '</th>
- <th>' . _('Type Name') . '</th>
+ <th class="ascending">' . _('Type ID') . '</th>
+ <th class="ascending">' . _('Type Name') . '</th>
</tr>';
$k=0; //row colour counter
@@ -262,7 +262,7 @@
}
echo '<tr>
<td>' . _('Type Name') . ':</td>
- <td><input type="text" name="typename" required="required" title="' . _('The customer type name is required') . '" value="' . $_POST['TypeName'] . '" /></td>
+ <td><input type="text" name="TypeName" required="required" title="' . _('The customer type name is required') . '" value="' . $_POST['TypeName'] . '" /></td>
</tr>
</table>
<br />
@@ -275,4 +275,4 @@
} // end if user wish to delete
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/SalesPeople.php
===================================================================
--- trunk/SalesPeople.php 2013-08-22 07:47:44 UTC (rev 6287)
+++ trunk/SalesPeople.php 2013-08-24 00:18:10 UTC (rev 6288)
@@ -352,6 +352,9 @@
echo '<tr>
<td>' . _('Current?') . ':</td>
<td><select name="Current">';
+ if (!isset($_POST['Current'])){
+ $_POST['Current']=1;
+ }
if ($_POST['Current']==1){
echo '<option selected="selected" value="1">' . _('Yes') . '</option>';
} else {
@@ -375,4 +378,4 @@
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/ShopParameters.php
===================================================================
--- trunk/ShopParameters.php 2013-08-22 07:47:44 UTC (rev 6287)
+++ trunk/ShopParameters.php 2013-08-24 00:18:10 UTC (rev 6288)
@@ -162,7 +162,7 @@
$ErrMsg = _('The shop configuration could not be updated because');
$DbgMsg = _('The SQL that failed was:');
- print_r($SQL);
+ //print_r($SQL);
if (sizeof($SQL) > 0 ) {
$result = DB_Txn_Begin($db);
@@ -212,34 +212,34 @@
//Shop Name
echo '<tr>
<td>' . _('Shop Name') . ':</td>
- <td><input type="text" name="X_ShopName" required size="40" maxlength="40" value="' . $_SESSION['ShopName'] . '" /></td>
+ <td><input type="text" name="X_ShopName" required="required" autofocus="autofocus" size="40" maxlength="40" value="' . $_SESSION['ShopName'] . '" /></td>
<td>' . _('Enter the name of the shop that will be displayed on all the store pages') . '</td>
</tr>';
//Shop Title
echo '<tr>
<td>' . _('Shop Title') . ':</td>
- <td><input type="text" name="X_ShopTitle" required size="40" maxlength="40" value="' . $_SESSION['ShopTitle'] . '" /></td>
+ <td><input type="text" name="X_ShopTitle" required="required" size="40" maxlength="40" value="' . $_SESSION['ShopTitle'] . '" /></td>
<td>' . _('Enter the title of the shop that will be displayed on the main webSHOP page. Useful for SEO purposes.') . '</td>
</tr>';
//Shop Manager Email
echo '<tr>
<td>' . _('Shop Manager Email') . ':</td>
- <td><input type="email" name="X_ShopManagerEmail" required size="50" maxlength="50" value="' . $_SESSION['ShopManagerEmail'] . '" /></td>
+ <td><input type="email" name="X_ShopManagerEmail" required="required" size="50" maxlength="50" value="' . $_SESSION['ShopManagerEmail'] . '" /></td>
<td>' . _('Enter the email address of the webSHOP manager.') . '</td>
</tr>';
// Shop Customer
echo '<tr>
<td>' . _('Default Web Shop Customer Acount') . ':</td>
- <td><input type="text"size="12" maxlength="10" required name="X_ShopDebtorNo" value="' . $_SESSION['ShopDebtorNo'] . '" /></td>
+ <td><input type="text"size="12" maxlength="10" required="required" name="X_ShopDebtorNo" value="' . $_SESSION['ShopDebtorNo'] . '" /></td>
<td>' . _('Select the customer account that is to be used for the web-store sales') . '</td>
</tr>';
// Shop Customer Branch
echo '<tr>
<td>'._('Default Web Shop Branch Code').':</td>
- <td><input type="text" required size="12" maxlength="10" name="X_ShopBranchCode" value="' . $_SESSION['ShopBranchCode'] . '" /></td>
+ <td><input type="text" required="required" size="12" maxlength="10" name="X_ShopBranchCode" value="' . $_SESSION['ShopBranchCode'] . '" /></td>
<td>' . _('The customer branch code that is to be used - a branch of the above custoemr account - for web-store sales') . '</td>
</tr>';
@@ -247,30 +247,30 @@
echo '<tr>
<td>' . _('Privacy Statement') . ':</td>
<td><textarea name="X_ShopPrivacyStatement" rows="8" cols="60">' . stripslashes($_SESSION['ShopPrivacyStatement']) . '</textarea></td>
- <td>' . _('This text will appear on the web-store page that spells out the privacy policy of the web-shop') . '</td>
+ <td>' . _('This text will appear on the web-store page that spells out the privacy policy of the web-shop') . ' ' . _('Enter the raw html without any line breaks') . '</td>
</tr>';
//Terms and Conditions
echo '<tr>
<td>' . _('Terms and Conditions') . ':</td>
<td><textarea name="X_ShopTermsConditions" rows="8" cols="60">' . stripslashes($_SESSION['ShopTermsConditions']) . '</textarea></td>
- <td>' . _('This text will appear on the web-store page that spells out the terms and conditions associated with sales from the web-shop') . '</td>
+ <td>' . _('This text will appear on the web-store page that spells out the terms and conditions associated with sales from the web-shop') . ' ' . _('Enter the raw html without any line breaks') . '</td>
</tr>';
//About Us
echo '<tr>
<td>' . _('About Us') . ':</td>
<td><textarea name="X_ShopAboutUs" rows="8" cols="60">' . stripslashes($_SESSION['ShopAboutUs']) . '</textarea></td>
- <td>' . _('This text will appear on the web-store page that provides information about us to users of the web-store.') . '</td>
+ <td>' . _('This text will appear on the web-store page that provides information about us to users of the web-store.') . ' ' . _('Enter the raw html without any line breaks') .'</td>
</tr>';
echo '<tr>
<td>' . _('Contact Us') . ':</td>
<td><textarea name="X_ShopContactUs" rows="8" cols="60">' . stripslashes($_SESSION['ShopContactUs']) . '</textarea></td>
- <td>' . _('This text will appear on the web-store page that provides contact information to users of the web-store.') . '</td>
+ <td>' . _('This text will appear on the web-store page that provides contact information to users of the web-store.') . ' ' . _('Enter the raw html without any line breaks') . '</td>
</tr>';
//Freight Policy
echo '<tr>
<td>' . _('Freight Policy') . ':</td>
<td><textarea name="X_ShopFreightPolicy" rows="8" cols="60">' . stripslashes($_SESSION['ShopFreightPolicy']) . '</textarea></td>
- <td>' . _('This text will appear on the web-store page that spells out the freight policy of the web-shop') . '</td>
+ <td>' . _('This text will appear on the web-store page that spells out the freight policy of the web-shop') . ' ' . _('Enter the raw html without any line breaks') .'</td>
</tr>';
Modified: trunk/build/make_release.sh
===================================================================
--- trunk/build/make_release.sh 2013-08-22 07:47:44 UTC (rev 6287)
+++ trunk/build/make_release.sh 2013-08-24 00:18:10 UTC (rev 6288)
@@ -1,13 +1,13 @@
#! /bin/bash
-BASE_DIR=/root/Web-Server/webERP;
-OUTPUT_DIR=/root;
+BASE_DIR=/var/www/webERP;
+OUTPUT_DIR=/home/phil/Documents/webERP;
MYSQL_USER=root;
MYSQL_PWD=woofwoof;
cd $BASE_DIR;
-xgettext --no-wrap --from-code=utf-8 --language=PHP -o locale/en_GB.utf8/LC_MESSAGES/messages.pot *php includes/*.php includes/*.inc reportwriter/*.php reportwriter/*.inc reportwriter/forms/*.html reportwriter/admin/*.php reportwriter/admin/*.inc reportwriter/admin/forms/*.html api/*.php ../webshop/*.php ../webshop/includes/*.php
+xgettext --no-wrap --from-code=utf-8 --language=PHP -o locale/en_GB.utf8/LC_MESSAGES/messages.pot *php includes/*.php includes/*.inc reportwriter/*.php reportwriter/*.inc reportwriter/forms/*.html reportwriter/admin/*.php reportwriter/admin/*.inc reportwriter/admin/forms/*.html api/*.php ../webSHOP/*.php ../webSHOP/includes/*.php
msgmerge -U --backup=off locale/ar_EG.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot
msgmerge -U --backup=off locale/cs_CZ.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-08-22 07:47:44 UTC (rev 6287)
+++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-08-24 00:18:10 UTC (rev 6288)
@@ -7,20 +7,18 @@
msgstr ""
"Project-Id-Version: web-erp\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-07-06 15:49+1200\n"
+"POT-Creation-Date: 2013-08-24 10:31+1200\n"
"PO-Revision-Date: 2013-06-01 11:19-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: Arabic <ar...@li...>\n"
+"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: ar\n"
"X-Launchpad-Export-Date: 2012-03-07 23:01+0000\n"
"X-Generator: Poedit 1.5.4\n"
-#: AccountGroups.php:7 includes/MainMenuLinksArray.php:362
-#: includes/MainMenuLinksArray (puppypc32158's conflicted copy
-#: 2013-06-24).php:362
+#: AccountGroups.php:7 includes/MainMenuLinksArray.php:366
msgid "Account Groups"
msgstr "مجموعات العضوية"
@@ -167,20 +165,20 @@
#: Areas.php:115 Areas.php:124 BankAccounts.php:159 CreditStatus.php:125
#: Currencies.php:246 Currencies.php:254 Currencies.php:262
#: CustomerBranches.php:293 CustomerBranches.php:303 CustomerBranches.php:313
-#: CustomerBranches.php:323 Customers.php:295 Customers.php:304
-#: Customers.php:312 Customers.php:320 CustomerTypes.php:147
+#: CustomerBranches.php:323 CustomerBranches.php:333 Customers.php:295
+#: Customers.php:304 Customers.php:312 Customers.php:320 CustomerTypes.php:147
#: CustomerTypes.php:157 Departments.php:141 Factors.php:134
#: FixedAssetCategories.php:137 GLAccounts.php:80 GLAccounts.php:96
#: Locations.php:249 Locations.php:257 Locations.php:268 Locations.php:277
#: Locations.php:286 Locations.php:295 Locations.php:304 Locations.php:313
#: Locations.php:321 Manufacturers.php:154 MRPDemandTypes.php:87
#: PaymentMethods.php:142 PaymentTerms.php:146 PaymentTerms.php:153
-#: PcExpenses.php:161 SalesCategories.php:124 SalesCategories.php:131
+#: PcExpenses.php:161 SalesCategories.php:128 SalesCategories.php:135
#: SalesPeople.php:150 SalesPeople.php:157 SalesPeople.php:163
#: SalesTypes.php:140 SalesTypes.php:150 Shippers.php:81 Shippers.php:93
-#: StockCategories.php:188 Stocks.php:703 Stocks.php:712 Stocks.php:720
-#: Stocks.php:728 Stocks.php:736 Stocks.php:744 Stocks.php:752 Stocks.php:760
-#: Suppliers.php:625 Suppliers.php:634 Suppliers.php:642 SupplierTypes.php:145
+#: StockCategories.php:191 Stocks.php:721 Stocks.php:730 Stocks.php:738
+#: Stocks.php:746 Stocks.php:754 Stocks.php:762 Stocks.php:770 Stocks.php:778
+#: Suppliers.php:629 Suppliers.php:638 Suppliers.php:646 SupplierTypes.php:145
#: TaxCategories.php:131 TaxGroups.php:132 TaxGroups.php:140
#: TaxProvinces.php:129 UnitsOfMeasure.php:135 WorkCentres.php:89
#: WorkCentres.php:95 WWW_Access.php:86
@@ -238,32 +236,32 @@
#: AddCustomerTypeNotes.php:94 AgedDebtors.php:448 AgedSuppliers.php:276
#: Areas.php:144 AuditTrail.php:11 BankReconciliation.php:17
#: BOMExtendedQty.php:252 BOMIndented.php:246 BOMIndentedReverse.php:235
-#: BOMInquiry.php:187 BOMListing.php:109 BOMs.php:231 BOMs.php:860
-#: COGSGLPostings.php:19 CompanyPreferences.php:155 CounterReturns.php:1609
-#: CounterSales.php:2086 CounterSales.php:2212 Credit_Invoice.php:272
+#: BOMInquiry.php:188 BOMListing.php:109 BOMs.php:231 BOMs.php:864
+#: COGSGLPostings.php:19 CompanyPreferences.php:102 CounterReturns.php:1605
+#: CounterSales.php:2092 CounterSales.php:2218 Credit_Invoice.php:272
#: CreditStatus.php:21 Currencies.php:31 CustEDISetup.php:17
#: DailyBankTransactions.php:15 DebtorsAtPeriodEnd.php:129
-#: DiscountCategories.php:12 DiscountCategories.php:136 DiscountMatrix.php:16
+#: DiscountCategories.php:12 DiscountCategories.php:140 DiscountMatrix.php:16
#: EDIMessageFormat.php:105 FixedAssetLocations.php:13
-#: FixedAssetRegister.php:13 FixedAssetRegister.php:253
-#: FixedAssetTransfer.php:14 FormDesigner.php:129 GLBalanceSheet.php:382
+#: FixedAssetRegister.php:16 FixedAssetRegister.php:256
+#: FixedAssetTransfer.php:14 FormDesigner.php:129 GLBalanceSheet.php:387
#: GLBudgets.php:32 GLJournalInquiry.php:11 GLJournal.php:250
#: InternalStockRequest.php:308 InventoryPlanning.php:379
-#: InventoryPlanningPrefSupplier.php:469 MaintenanceTasks.php:10
-#: MaintenanceUserSchedule.php:10 MRPReport.php:516 NoSalesItems.php:89
+#: InventoryPlanningPrefSupplier.php:469 MaintenanceTasks.php:14
+#: MaintenanceUserSchedule.php:16 MRPReport.php:516 NoSalesItems.php:89
#: PcAssignCashToTab.php:59 PcAssignCashToTab.php:133
#: PcAssignCashToTab.php:149 PcAssignCashToTab.php:193 PDFPickingList.php:28
#: PDFStockLocTransfer.php:16 PO_AuthorisationLevels.php:10 POReport.php:60
#: POReport.php:64 POReport.php:68 PO_SelectOSPurchOrder.php:142
#: PricesBasedOnMarkUp.php:8 Prices_Customer.php:35 Prices.php:30
-#: PurchData.php:236 PurchData.php:368 PurchData.php:396
+#: PurchData.php:241 PurchData.php:373 PurchData.php:401
#: RecurringSalesOrders.php:320 SalesAnalReptCols.php:51 SalesAnalRepts.php:14
#: SalesCategories.php:11 SalesGLPostings.php:19 SalesGraph.php:39
#: SalesPeople.php:20 SalesTypes.php:20 SelectAsset.php:48
#: SelectCompletedOrder.php:11 SelectContract.php:69 SelectCreditItems.php:220
-#: SelectCreditItems.php:291 SelectCustomer.php:265 SelectGLAccount.php:70
-#: SelectOrderItems.php:609 SelectOrderItems.php:1530
-#: SelectOrderItems.php:1664 SelectProduct.php:523 SelectSalesOrder.php:563
+#: SelectCreditItems.php:291 SelectCustomer.php:265 SelectGLAccount.php:65
+#: SelectOrderItems.php:609 SelectOrderItems.php:1526
+#: SelectOrderItems.php:1665 SelectProduct.php:525 SelectSalesOrder.php:563
#: SelectSupplier.php:14 SelectSupplier.php:217 SelectWorkOrder.php:9
#: SelectWorkOrder.php:169 SellThroughSupport.php:229 ShipmentCosting.php:11
#: Shipments.php:17 Shippers.php:123 Shippers.php:160 Shipt_Select.php:8
@@ -272,13 +270,13 @@
#: SupplierPriceList.php:217 SupplierPriceList.php:387
#: SupplierPriceList.php:391 SupplierPriceList.php:442
#: SupplierPriceList.php:492 Suppliers.php:305 SupplierTenderCreate.php:546
-#: SupplierTenderCreate.php:652 SupplierTenders.php:322
+#: SupplierTenderCreate.php:654 SupplierTenders.php:322
#: SupplierTenders.php:388 SupplierTransInquiry.php:10 TaxGroups.php:15
#: TaxProvinces.php:11 TopItems.php:114 UnitsOfMeasure.php:10
#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:162
#: WorkOrderCosting.php:22 WorkOrderEntry.php:11 WorkOrderIssue.php:22
#: WorkOrderReceive.php:31 WorkOrderStatus.php:58 WWW_Access.php:11
-#: WWW_Users.php:36 Z_BottomUpCosts.php:57 ../webshop/includes/header.php:171
+#: WWW_Users.php:36 Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:238
msgid "Search"
msgstr "إبحث"
@@ -295,43 +293,43 @@
msgstr ""
#: AccountGroups.php:293 AccountGroups.php:444 GLProfit_Loss.php:6
-#: GLProfit_Loss.php:129 GLProfit_Loss.php:130 GLProfit_Loss.php:181
+#: GLProfit_Loss.php:133 GLProfit_Loss.php:134 GLProfit_Loss.php:185
#: SelectGLAccount.php:23 SelectGLAccount.php:37 SelectGLAccount.php:51
msgid "Profit and Loss"
msgstr ""
#: AccountGroups.php:310 AccountGroups.php:313 AccountGroups.php:448
-#: AccountGroups.php:450 BOMs.php:124 BOMs.php:774 BOMs.php:776
-#: CompanyPreferences.php:479 CompanyPreferences.php:481
-#: CompanyPreferences.php:494 CompanyPreferences.php:496
-#: CompanyPreferences.php:509 CompanyPreferences.php:511
+#: AccountGroups.php:450 BOMs.php:124 BOMs.php:775 BOMs.php:777
+#: CompanyPreferences.php:426 CompanyPreferences.php:428
+#: CompanyPreferences.php:441 CompanyPreferences.php:443
+#: CompanyPreferences.php:456 CompanyPreferences.php:458
#: ContractCosting.php:202 Currencies.php:332 Currencies.php:498
-#: Currencies.php:500 CustomerBranches.php:416 Customers.php:617
-#: Customers.php:1004 Customers.php:1010 Customers.php:1013
-#: DailyBankTransactions.php:145 DeliveryDetails.php:1125
-#: DeliveryDetails.php:1168 DeliveryDetails.php:1171 GLTransInquiry.php:69
-#: GLTransInquiry (puppypc32158's conflicted copy 2013-06-24).php:69
+#: Currencies.php:500 CustomerBranches.php:426 Customers.php:641
+#: Customers.php:1031 Customers.php:1037 Customers.php:1040
+#: DailyBankTransactions.php:145 DeliveryDetails.php:1148
+#: DeliveryDetails.php:1191 DeliveryDetails.php:1194 GLTransInquiry.php:69
#: Labels.php:591 Labels.php:593 Labels.php:618 Locations.php:617
#: Locations.php:619 MRPCalendar.php:224 MRP.php:540 MRP.php:544 MRP.php:548
#: MRP.php:552 PaymentMethods.php:204 PaymentMethods.php:205
#: PaymentMethods.php:206 PaymentMethods.php:207 PaymentMethods.php:273
#: PaymentMethods.php:280 PaymentMethods.php:287 PaymentMethods.php:294
-#: PcAuthorizeExpenses.php:246 PDFChequeListing.php:65
-#: PDFDeliveryDifferences.php:76 PDFDIFOT.php:76
+#: PcAuthorizeExpenses.php:248 PDFChequeListing.php:65
+#: PDFDeliveryDifferences.php:76 PDFDIFOT.php:80
#: PO_AuthorisationLevels.php:134 PO_AuthorisationLevels.php:139
-#: PO_Header.php:782 PO_PDFPurchOrder.php:408 PO_PDFPurchOrder.php:411
-#: PurchData.php:291 PurchData.php:662 PurchData.php:665
+#: PO_Header.php:799 PO_PDFPurchOrder.php:408 PO_PDFPurchOrder.php:411
+#: PurchData.php:296 PurchData.php:667 PurchData.php:670
#: RecurringSalesOrders.php:493 RecurringSalesOrders.php:496
#: SalesAnalReptCols.php:284 SalesAnalReptCols.php:419
#: SalesAnalReptCols.php:422 SalesAnalRepts.php:420 SalesAnalRepts.php:423
#: SalesAnalRepts.php:448 SalesAnalRepts.php:451 SalesAnalRepts.php:476
-#: SalesAnalRepts.php:479 SalesPeople.php:219 SalesPeople.php:356
-#: SalesPeople.php:358 SelectProduct.php:236 SelectProduct.php:379
-#: ShipmentCosting.php:667 ShopParameters.php:270 ShopParameters.php:274
-#: ShopParameters.php:305 ShopParameters.php:309 ShopParameters.php:339
-#: ShopParameters.php:343 ShopParameters.php:361 ShopParameters.php:365
-#: ShopParameters.php:422 ShopParameters.php:426 Stocks.php:1160
-#: Stocks.php:1162 Stocks.php:1185 Stocks.php:1187 SuppContractChgs.php:90
+#: SalesAnalRepts.php:479 SalesCategories.php:264 SalesCategories.php:351
+#: SalesCategories.php:355 SalesPeople.php:219 SalesPeople.php:359
+#: SalesPeople.php:361 SelectProduct.php:238 SelectProduct.php:381
+#: ShipmentCosting.php:667 ShopParameters.php:284 ShopParameters.php:288
+#: ShopParameters.php:332 ShopParameters.php:336 ShopParameters.php:365
+#: ShopParameters.php:369 ShopParameters.php:387 ShopParameters.php:391
+#: ShopParameters.php:448 ShopParameters.php:452 Stocks.php:1199
+#: Stocks.php:1201 Stocks.php:1224 Stocks.php:1226 SuppContractChgs.php:90
#: SystemParameters.php:426 SystemParameters.php:449 SystemParameters.php:486
#: SystemParameters.php:558 SystemParameters.php:566 SystemParameters.php:606
#: SystemParameters.php:682 SystemParameters.php:691 SystemParameters.php:699
@@ -341,44 +339,44 @@
#: SystemParameters.php:1021 SystemParameters.php:1075
#: SystemParameters.php:1087 SystemParameters.php:1089
#: SystemParameters.php:1127 SystemParameters.php:1129 TaxGroups.php:311
-#: TaxGroups.php:314 TaxGroups.php:371 WWW_Users.php:488 WWW_Users.php:490
-#: WWW_Users.php:661 WWW_Users.php:663
+#: TaxGroups.php:314 TaxGroups.php:371 WWW_Users.php:491 WWW_Users.php:493
+#: WWW_Users.php:664 WWW_Users.php:666
msgid "Yes"
msgstr "موافق"
#: AccountGroups.php:316 AccountGroups.php:453 AccountGroups.php:455
#: BankAccounts.php:210 BankAccounts.php:379 BankAccounts.php:381
-#: BankAccounts.php:385 BankAccounts.php:393 BOMs.php:126 BOMs.php:773
-#: BOMs.php:777 CompanyPreferences.php:478 CompanyPreferences.php:482
-#: CompanyPreferences.php:493 CompanyPreferences.php:497
-#: CompanyPreferences.php:508 CompanyPreferences.php:512
+#: BankAccounts.php:385 BankAccounts.php:393 BOMs.php:126 BOMs.php:774
+#: BOMs.php:778 CompanyPreferences.php:425 CompanyPreferences.php:429
+#: CompanyPreferences.php:440 CompanyPreferences.php:444
+#: CompanyPreferences.php:455 CompanyPreferences.php:459
#: ContractCosting.php:200 Currencies.php:334 Currencies.php:503
-#: Currencies.php:505 CustomerBranches.php:416 Customers.php:616
-#: Customers.php:1002 Customers.php:1009 Customers.php:1012
-#: DailyBankTransactions.php:147 DeliveryDetails.php:1126
-#: DeliveryDetails.php:1169 DeliveryDetails.php:1172 GLTransInquiry.php:88
-#: GLTransInquiry (puppypc32158's conflicted copy 2013-06-24).php:88
+#: Currencies.php:505 CustomerBranches.php:426 Customers.php:640
+#: Customers.php:1029 Customers.php:1036 Customers.php:1039
+#: DailyBankTransactions.php:147 DeliveryDetails.php:1149
+#: DeliveryDetails.php:1192 DeliveryDetails.php:1195 GLTransInquiry.php:88
#: Labels.php:590 Labels.php:594 Labels.php:619 Locations.php:622
#: Locations.php:624 MRPCalendar.php:226 MRP.php:538 MRP.php:542 MRP.php:546
#: MRP.php:550 NoSalesItems.php:184 PaymentMethods.php:204
#: PaymentMethods.php:205 PaymentMethods.php:206 PaymentMethods.php:207
#: PaymentMethods.php:274 PaymentMethods.php:281 PaymentMethods.php:288
-#: PaymentMethods.php:295 PcAuthorizeExpenses.php:244 PDFChequeListing.php:64
-#: PDFDeliveryDifferences.php:75 PDFDIFOT.php:75
+#: PaymentMethods.php:295 PcAuthorizeExpenses.php:246 PDFChequeListing.php:64
+#: PDFDeliveryDifferences.php:75 PDFDIFOT.php:79
#: PO_AuthorisationLevels.php:136 PO_AuthorisationLevels.php:141
-#: PO_Header.php:781 PO_PDFPurchOrder.php:409 PO_PDFPurchOrder.php:412
-#: PurchData.php:294 PurchData.php:663 PurchData.php:666
+#: PO_Header.php:798 PO_PDFPurchOrder.php:409 PO_PDFPurchOrder.php:412
+#: PurchData.php:299 PurchData.php:668 PurchData.php:671
#: RecurringSalesOrders.php:492 RecurringSalesOrders.php:495
#: SalesAnalReptCols.php:282 SalesAnalReptCols.php:420
#: SalesAnalReptCols.php:423 SalesAnalRepts.php:419 SalesAnalRepts.php:422
#: SalesAnalRepts.php:447 SalesAnalRepts.php:450 SalesAnalRepts.php:475
-#: SalesAnalRepts.php:478 SalesPeople.php:221 SalesPeople.php:361
-#: SalesPeople.php:363 SelectProduct.php:238 SelectProduct.php:381
-#: ShipmentCosting.php:668 ShopParameters.php:271 ShopParameters.php:273
-#: ShopParameters.php:306 ShopParameters.php:308 ShopParameters.php:340
-#: ShopParameters.php:342 ShopParameters.php:362 ShopParameters.php:364
-#: ShopParameters.php:423 ShopParameters.php:425 Stocks.php:1155
-#: Stocks.php:1157 Stocks.php:1180 Stocks.php:1182 SuppContractChgs.php:92
+#: SalesAnalRepts.php:478 SalesCategories.php:266 SalesCategories.php:352
+#: SalesCategories.php:354 SalesPeople.php:221 SalesPeople.php:364
+#: SalesPeople.php:366 SelectProduct.php:240 SelectProduct.php:383
+#: ShipmentCosting.php:668 ShopParameters.php:285 ShopParameters.php:287
+#: ShopParameters.php:333 ShopParameters.php:335 ShopParameters.php:366
+#: ShopParameters.php:368 ShopParameters.php:388 ShopParameters.php:390
+#: ShopParameters.php:449 ShopParameters.php:451 Stocks.php:1194
+#: Stocks.php:1196 Stocks.php:1219 Stocks.php:1221 SuppContractChgs.php:92
#: SystemParameters.php:427 SystemParameters.php:450 SystemParameters.php:487
#: SystemParameters.php:559 SystemParameters.php:567 SystemParameters.php:607
#: SystemParameters.php:683 SystemParameters.php:692 SystemParameters.php:700
@@ -388,8 +386,8 @@
#: SystemParameters.php:1022 SystemParameters.php:1076
#: SystemParameters.php:1086 SystemParameters.php:1090
#: SystemParameters.php:1126 SystemParameters.php:1130 TaxGroups.php:312
-#: TaxGroups.php:315 TaxGroups.php:373 WWW_Users.php:487 WWW_Users.php:491
-#: WWW_Users.php:660 WWW_Users.php:664 includes/PDFLowGPPageHeader.inc:44
+#: TaxGroups.php:315 TaxGroups.php:373 WWW_Users.php:490 WWW_Users.php:494
+#: WWW_Users.php:663 WWW_Users.php:667 includes/PDFLowGPPageHeader.inc:44
#: includes/PDFTaxPageHeader.inc:35
msgid "No"
msgstr "ﻻ"
@@ -398,24 +396,23 @@
#: AddCustomerNotes.php:137 AddCustomerTypeNotes.php:131 Areas.php:164
#: BankAccounts.php:223 BOMs.php:151 COGSGLPostings.php:112
#: COGSGLPostings.php:216 CreditStatus.php:175 Currencies.php:364
-#: CustomerBranches.php:420 Customers.php:1087 Customers.php:1121
+#: CustomerBranches.php:430 Customers.php:1114 Customers.php:1148
#: CustomerTypes.php:206 Departments.php:186 EDIMessageFormat.php:150
#: Factors.php:334 FixedAssetCategories.php:190 FixedAssetLocations.php:111
-#: FreightCosts.php:242 GeocodeSetup.php:173 GLAccounts.php:316 GLTags.php:96
+#: FreightCosts.php:253 GeocodeSetup.php:173 GLAccounts.php:317 GLTags.php:96
#: ImportBankTransAnalysis.php:224 InternalStockRequest.php:290 Labels.php:323
#: Labels.php:348 Locations.php:403 MailingGroupMaintenance.php:178
-#: MaintenanceTasks.php:114 Manufacturers.php:217 MRPDemands.php:309
+#: MaintenanceTasks.php:118 Manufacturers.php:217 MRPDemands.php:309
#: MRPDemandTypes.php:120 PaymentMethods.php:208 PaymentTerms.php:205
-#: PcAssignCashToTab.php:276 PcClaimExpensesFromTab.php:268 PcExpenses.php:226
-#: PcTabs.php:236 PcTypeTabs.php:177 PO_AuthorisationLevels.php:151
-#: Prices_Customer.php:278 Prices.php:249 PurchData.php:307
-#: SalesCategories.php:259 SalesCategoryDescriptions.php:113
-#: SalesGLPostings.php:137 SalesGLPostings.php:253 SalesPeople.php:232
-#: SalesTypes.php:206 SecurityTokens.php:130 SelectCustomer.php:621
-#: SelectCustomer.php:640 SelectCustomer.php:670 SelectCustomer.php:688
-#: SelectCustomer.php:712 SelectCustomer.php:729 SelectGLAccount.php:106
-#: SelectGLAccount.php:121 SellThroughSupport.php:298 Shippers.php:144
-#: StockCategories.php:264 SupplierContacts.php:165
+#: PcAssignCashToTab.php:277 PcClaimExpensesFromTab.php:276 PcExpenses.php:226
+#: PcTabs.php:236 PcTypeTabs.php:180 PO_AuthorisationLevels.php:151
+#: Prices_Customer.php:280 Prices.php:249 PurchData.php:312
+#: SalesCategories.php:272 SalesGLPostings.php:137 SalesGLPostings.php:253
+#: SalesPeople.php:232 SalesTypes.php:206 SecurityTokens.php:130
+#: SelectCustomer.php:614 SelectCustomer.php:633 SelectCustomer.php:663
+#: SelectCustomer.php:681 SelectCustomer.php:705 SelectCustomer.php:722
+#: SelectGLAccount.php:117 SelectGLAccount.php:1...
[truncated message content] |
|
From: <rc...@us...> - 2013-08-25 23:08:54
|
Revision: 6290
http://sourceforge.net/p/web-erp/reponame/6290
Author: rchacon
Date: 2013-08-25 23:08:50 +0000 (Sun, 25 Aug 2013)
Log Message:
-----------
Adjust to Left and right alignment in relative way.
Modified Paths:
--------------
trunk/PrintCustTransPortrait.php
trunk/includes/PDFTransPageHeaderPortrait.inc
Modified: trunk/PrintCustTransPortrait.php
===================================================================
--- trunk/PrintCustTransPortrait.php 2013-08-25 13:08:04 UTC (rev 6289)
+++ trunk/PrintCustTransPortrait.php 2013-08-25 23:08:50 UTC (rev 6290)
@@ -351,7 +351,7 @@
$LeftOvers = $pdf->addTextWrap($Left_Margin+350,$YPos,36,$FontSize,$DisplayQty,'right');
$LeftOvers = $pdf->addTextWrap($Left_Margin+390,$YPos,26,$FontSize,$myrow2['units'],'center');
$LeftOvers = $pdf->addTextWrap($Left_Margin+420,$YPos,26,$FontSize,$DisplayDiscount,'right');
- $LeftOvers = $pdf->addTextWrap($Left_Margin+450,$YPos,72,$FontSize,$DisplayNet,'right');
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Left_Margin-72, $YPos, 72, $FontSize, $DisplayNet, 'right');
if ($myrow2['controlled']==1){
@@ -460,23 +460,23 @@
$YPos = $Bottom_Margin+(3*$line_height);
/* Print out the payment terms */
- $pdf->addTextWrap($Left_Margin+5,$YPos+3,280,$FontSize,_('Payment Terms') . ': ' . $myrow['terms']);
+ $pdf->addTextWrap($Left_Margin, $YPos+3, 280, $FontSize,_('Payment Terms') . ': ' . $myrow['terms']);
$FontSize =8;
$LeftOvers=explode('\r\n',DB_escape_string($myrow['invtext']));
for ($i=0;$i<sizeOf($LeftOvers);$i++) {
- $pdf->addText($Left_Margin+5, $YPos-8-($i*8), $FontSize, $LeftOvers[$i]);
+ $pdf->addText($Left_Margin, $YPos-8-($i*8), $FontSize, $LeftOvers[$i]);
}
$FontSize = 10;
- $pdf->addText($Page_Width-$Right_Margin-220, $YPos+12,$FontSize, _('Sub Total'));
- $LeftOvers = $pdf->addTextWrap($Left_Margin+450,$YPos+5,72,$FontSize,$DisplaySubTot, 'right');
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-220, $YPos+5, 72, $FontSize, _('Sub Total'));
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Left_Margin-72, $YPos+5, 72, $FontSize, $DisplaySubTot, 'right');
- $pdf->addText($Page_Width-$Right_Margin-220, ($YPos+12)-$line_height+5,$FontSize, _('Freight'));
- $LeftOvers = $pdf->addTextWrap($Left_Margin+450,$YPos-$line_height+5,72,$FontSize,$DisplayFreight, 'right');
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-220, $YPos+5-$line_height, 72, $FontSize, _('Freight'));
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Left_Margin-72, $YPos+5-$line_height, 72, $FontSize, $DisplayFreight, 'right');
- $pdf->addText($Page_Width-$Right_Margin-220, ($YPos+12)-(2*$line_height)+5,$FontSize, _('Tax'));
- $LeftOvers = $pdf->addTextWrap($Left_Margin+450,$YPos-(2*$line_height)+5,72, $FontSize,$DisplayTax, 'right');
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-220, $YPos+5-$line_height*2, 72, $FontSize, _('Tax'));
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Left_Margin-72, $YPos+5-$line_height*2, 72, $FontSize, $DisplayTax, 'right');
/*rule off for total */
$pdf->line($Page_Width-$Right_Margin-222, $YPos-(2*$line_height),$Page_Width-$Right_Margin,$YPos-(2*$line_height));
@@ -486,24 +486,24 @@
$YPos+=10;
if ($InvOrCredit=='Invoice'){
- $pdf->addText($Page_Width-$Right_Margin-220, ($YPos+6) - ($line_height*3),$FontSize, _('TOTAL INVOICE'));
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-220, $Bottom_Margin+5, 144, $FontSize, _('TOTAL INVOICE'));
$FontSize=8;
- $LeftOvers = $pdf->addTextWrap($Left_Margin+5,$YPos-18,280,$FontSize,$_SESSION['RomalpaClause']);
+ $LeftOvers = $pdf->addTextWrap($Left_Margin, $YPos-18,280,$FontSize,$_SESSION['RomalpaClause']);
while (mb_strlen($LeftOvers)>0 AND $YPos > $Bottom_Margin){
$YPos -=10;
- $LeftOvers = $pdf->addTextWrap($Left_Margin+5,$YPos-18,280,$FontSize,$LeftOvers);
+ $LeftOvers = $pdf->addTextWrap($Left_Margin, $YPos-18,280,$FontSize,$LeftOvers);
}
-/* Add Images for Visa / Mastercard / Paypal */
+ /* Add Images for Visa / Mastercard / Paypal */
if (file_exists('companies/' . $_SESSION['DatabaseName'] . '/payment.jpg')) {
$pdf->addJpegFromFile('companies/' . $_SESSION['DatabaseName'] . '/payment.jpg',$Page_Width/2 -60,$YPos-15,0,20);
}
-// Print Bank acount details if available and default for invoices is selected
- $pdf->addText($Page_Width-$Right_Margin-450, $YPos - ($line_height*3)+22,$FontSize, $DefaultBankAccountCode . ' ' . $DefaultBankAccountNumber);
+ // Print Bank acount details if available and default for invoices is selected
+ $pdf->addText($Left_Margin, $YPos+22-$line_height*3, $FontSize, $DefaultBankAccountCode . ' ' . $DefaultBankAccountNumber);
$FontSize=10;
} else {
- $pdf->addText($Page_Width-$Right_Margin-220, ($YPos+6)-($line_height*3),$FontSize, _('TOTAL CREDIT'));
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-220, $Bottom_Margin+5, 144, $FontSize, _('TOTAL CREDIT'));
}
- $LeftOvers = $pdf->addTextWrap($Left_Margin+450,35,72, $FontSize,$DisplayTotal, 'right');
+ $LeftOvers = $pdf->addTextWrap($Page_Width-$Left_Margin-72, $Bottom_Margin+5, 72, $FontSize, $DisplayTotal, 'right');
} /* end of check to see that there was an invoice record to print */
$FromTransNo++;
Modified: trunk/includes/PDFTransPageHeaderPortrait.inc
===================================================================
--- trunk/includes/PDFTransPageHeaderPortrait.inc 2013-08-25 13:08:04 UTC (rev 6289)
+++ trunk/includes/PDFTransPageHeaderPortrait.inc 2013-08-25 23:08:50 UTC (rev 6290)
@@ -19,9 +19,9 @@
$pdf->addText($Page_Width/2 - 60, $YPos, $FontSize, _('TAX CREDIT NOTE') . ' ');
}
+// Prints page number
$FontSize = 10;
-$pdf->addText($Page_Width-128, $YPos, $FontSize, _('Page'));
-$pdf->addText($Page_Width-60, $YPos, $FontSize, $PageNumber);
+$pdf->addTextWrap($Page_Width-$Left_Margin-72, $YPos-$FontSize, 72, $FontSize, _('Page').' '.$PageNumber, 'right');
$XPos = $Page_Width - 265;
@@ -259,13 +259,13 @@
$TopOfColHeadings = $YPos;
-$pdf->addText($Left_Margin+5, $YPos+12, $FontSize, _('Item Code'));
+$pdf->addText($Left_Margin, $YPos+12, $FontSize, _('Item Code'));
$pdf->addText($Left_Margin+80, $YPos+12, $FontSize, _('Description'));
$pdf->addText($Left_Margin+270, $YPos+12, $FontSize, _('Unit Price'));
$pdf->addText($Left_Margin+350, $YPos+12, $FontSize, _('Qty'));
$pdf->addText($Left_Margin+390, $YPos+12, $FontSize, _('UOM'));
$pdf->addText($Left_Margin+420, $YPos+12, $FontSize, _('Disc.'));
-$pdf->addText($Left_Margin+450, $YPos+12, $FontSize, _('Price'));
+$pdf->addTextWrap($Page_Width-$Left_Margin-72, $YPos, 72, $FontSize, _('Price'), 'right');
$YPos-=0;
|
|
From: <ice...@us...> - 2013-08-27 01:45:01
|
Revision: 6294
http://sourceforge.net/p/web-erp/reponame/6294
Author: icedlava
Date: 2013-08-27 01:44:57 +0000 (Tue, 27 Aug 2013)
Log Message:
-----------
Fix rounding error in supplier unit price when less than 1
Modified Paths:
--------------
trunk/GoodsReceived.php
trunk/PO_Items.php
trunk/SuppCreditGRNs.php
trunk/SuppInvGRNs.php
Modified: trunk/GoodsReceived.php
===================================================================
--- trunk/GoodsReceived.php 2013-08-26 11:41:20 UTC (rev 6293)
+++ trunk/GoodsReceived.php 2013-08-27 01:44:57 UTC (rev 6294)
@@ -151,7 +151,11 @@
$DisplayQtyOrd = locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces);
$DisplayQtyRec = locale_number_format($LnItm->QtyReceived,$LnItm->DecimalPlaces);
$DisplayLineTotal = locale_number_format($LineTotal,$_SESSION['PO'.$identifier]->CurrDecimalPlaces);
- $DisplayPrice = locale_number_format($LnItm->Price,$_SESSION['PO'.$identifier]->CurrDecimalPlaces);
+ if ($LnItm->Price > 1) {
+ $DisplayPrice = locale_number_format($LnItm->Price,$_SESSION['PO'.$identifier]->CurrDecimalPlaces);
+ } else {
+ $DisplayPrice = locale_number_format($LnItm->Price,4);
+ }
//Now Display LineItem
@@ -172,7 +176,7 @@
echo '<input type="hidden" name="RecvQty_' . $LnItm->LineNo . '" value="' . locale_number_format($LnItm->ReceiveQty,$LnItm->DecimalPlaces) . '" /><a href="GoodsReceivedControlled.php?identifier=' . $identifier . '&LineNo=' . $LnItm->LineNo . '">' . locale_number_format($LnItm->ReceiveQty,$LnItm->DecimalPlaces) . '</a></td>';
} else {
- echo '<input type="text" class="number" name="RecvQty_' . $LnItm->LineNo . '" pattern="(?:^\d{1,3}(?:\.?\d{3})*(?:,\d{1,})?$)|(?:^\d{1,3}(?:,?\d{3})*(?:\.\d{1,})?$)|(?:^\d{1,3}(?:\s?\d{3})*(?:\.\d{1,})?$)|(?:^\d{1,3}(?:\s?\d{3})*(?:,\d{1,})?$)|(?:^(\d{1,2},)?(\d{2},)*(\d{3})(\.\d+)?|(\d{1,3})(\.\d+)?$)" title="' . _('Enter the quantity to receive against this order line as a number') . '"
+ echo '<input type="text" class="number" name="RecvQty_' . $LnItm->LineNo . '" pattern="(?:^\d{1,3}(?:\.?\d{3})*(?:,\d{1,})?$)|(?:^\d{1,3}(?:,?\d{3})*(?:\.\d{1,})?$)|(?:^\d{1,3}(?:\s?\d{3})*(?:\.\d{1,})?$)|(?:^\d{1,3}(?:\s?\d{3})*(?:,\d{1,})?$)|(?:^(\d{1,2},)?(\d{2},)*(\d{3})(\.\d+)?|(\d{1,3})(\.\d+)?$)" title="' . _('Enter the quantity to receive against this order line as a number') . '"
maxlength="10" size="10" value="' . locale_number_format(round($LnItm->ReceiveQty,$LnItm->DecimalPlaces),$LnItm->DecimalPlaces) . '" /></td>';
}
echo '<td><input type="checkbox" name="Complete_'. $LnItm->LineNo . '"';
@@ -662,12 +666,12 @@
narrative,
amount)
VALUES (
- 25,'" .
- $GRN . "','" .
- $_POST['DefaultReceivedDate'] . "','" .
- $PeriodNo . "','" .
- $OrderLine->GLCode . "','" .
- _('PO') . $_SESSION['PO'.$identifier]->OrderNo . ': ' . $_SESSION['PO'.$identifier]->SupplierID . ' - ' . $OrderLine->StockID . ' - ' . DB_escape_string($OrderLine->ItemDescription) . ' x ' . $OrderLine->ReceiveQty . " @ " . locale_number_format($CurrentStandardCost,$_SESSION['CompanyRecord']['decimalplaces']) . "','" .
+ 25,'" .
+ $GRN . "','" .
+ $_POST['DefaultReceivedDate'] . "','" .
+ $PeriodNo . "','" .
+ $OrderLine->GLCode . "','" .
+ _('PO') . $_SESSION['PO'.$identifier]->OrderNo . ': ' . $_SESSION['PO'.$identifier]->SupplierID . ' - ' . $OrderLine->StockID . ' - ' . DB_escape_string($OrderLine->ItemDescription) . ' x ' . $OrderLine->ReceiveQty . " @ " . locale_number_format($CurrentStandardCost,$_SESSION['CompanyRecord']['decimalplaces']) . "','" .
$CurrentStandardCost * $OrderLine->ReceiveQty . "')";
$ErrMsg = _('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The purchase GL posting could not be inserted because');
@@ -684,12 +688,12 @@
account,
narrative,
amount)
- VALUES (25,'" .
- $GRN . "','" .
- $_POST['DefaultReceivedDate'] . "','" .
- $PeriodNo . "','" .
- $_SESSION['CompanyRecord']['grnact'] . "','" .
- _('PO') . $_SESSION['PO'.$identifier]->OrderNo . ': ' . $_SESSION['PO'.$identifier]->SupplierID . ' - ' . $OrderLine->StockID . ' - ' . DB_escape_string($OrderLine->ItemDescription) . ' x ' . $OrderLine->ReceiveQty . ' @ ' . locale_number_format($UnitCost,$_SESSION['CompanyRecord']['decimalplaces']) . "','" .
+ VALUES (25,'" .
+ $GRN . "','" .
+ $_POST['DefaultReceivedDate'] . "','" .
+ $PeriodNo . "','" .
+ $_SESSION['CompanyRecord']['grnact'] . "','" .
+ _('PO') . $_SESSION['PO'.$identifier]->OrderNo . ': ' . $_SESSION['PO'.$identifier]->SupplierID . ' - ' . $OrderLine->StockID . ' - ' . DB_escape_string($OrderLine->ItemDescription) . ' x ' . $OrderLine->ReceiveQty . ' @ ' . locale_number_format($UnitCost,$_SESSION['CompanyRecord']['decimalplaces']) . "','" .
-$UnitCost * $OrderLine->ReceiveQty . "')";
$ErrMsg = _('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The GRN suspense side of the GL posting could not be inserted because');
Modified: trunk/PO_Items.php
===================================================================
--- trunk/PO_Items.php 2013-08-26 11:41:20 UTC (rev 6293)
+++ trunk/PO_Items.php 2013-08-27 01:44:57 UTC (rev 6294)
@@ -739,8 +739,10 @@
// This should help display where item-price is a fraction
if ($POLine->Price > 1) {
$DisplayPrice = locale_number_format($POLine->Price,$_SESSION['PO'.$identifier]->CurrDecimalPlaces);
+ $SuppPrice = locale_number_format(round(($POLine->Price *$POLine->ConversionFactor),$_SESSION['PO'.$identifier]->CurrDecimalPlaces),$_SESSION['PO'.$identifier]->CurrDecimalPlaces);
} else {
$DisplayPrice = locale_number_format($POLine->Price,4);
+ $SuppPrice = locale_number_format(round(($POLine->Price *$POLine->ConversionFactor),4),4);
}
if ($k==1){
@@ -759,7 +761,7 @@
<td><input type="text" class="number" name="ConversionFactor' . $POLine->LineNo .'" size="8" value="' . locale_number_format($POLine->ConversionFactor,'Variable') . '" /></td>
<td><input type="text" class="number" name="SuppQty' . $POLine->LineNo .'" size="10" value="' . locale_number_format(round($POLine->Quantity/$POLine->ConversionFactor,$POLine->DecimalPlaces),$POLine->DecimalPlaces) . '" /></td>
<td>' . $POLine->SuppliersUnit . '</td>
- <td><input type="text" class="number" name="SuppPrice' . $POLine->LineNo . '" size="10" value="' . locale_number_format(round(($POLine->Price *$POLine->ConversionFactor),$_SESSION['PO'.$identifier]->CurrDecimalPlaces),$_SESSION['PO'.$identifier]->CurrDecimalPlaces) .'" /></td>
+ <td><input type="text" class="number" name="SuppPrice' . $POLine->LineNo . '" size="10" value="' . $SuppPrice .'" /></td>
<td class="number">' . $DisplayLineTotal . '</td>
<td><input type="text" class="date" alt="' .$_SESSION['DefaultDateFormat'].'" name="ReqDelDate' . $POLine->LineNo.'" size="10" value="' .$POLine->ReqDelDate .'" /></td>';
if ($POLine->QtyReceived !=0 AND $POLine->Completed!=1){
Modified: trunk/SuppCreditGRNs.php
===================================================================
--- trunk/SuppCreditGRNs.php 2013-08-26 11:41:20 UTC (rev 6293)
+++ trunk/SuppCreditGRNs.php 2013-08-27 01:44:57 UTC (rev 6294)
@@ -101,13 +101,18 @@
$i=0;
foreach ($_SESSION['SuppTrans']->GRNs as $EnteredGRN){
+ if ($EnteredGRN->ChgPrice > 1) {
+ $DisplayPrice = locale_number_format($EnteredGRN->ChgPrice,$_SESSION['SuppTrans']->CurrDecimalPlaces);
+ } else {
+ $DisplayPrice = locale_number_format($EnteredGRN->ChgPrice,4);
+ }
echo '<tr>
<td>' . $EnteredGRN->GRNNo . '</td>
<td>' . $EnteredGRN->ItemCode . '</td>
<td>' . $EnteredGRN->ItemDescription . '</td>
<td class="number">' . locale_number_format($EnteredGRN->This_QuantityInv,$EnteredGRN->DecimalPlaces) . '</td>
- <td class="number">' . locale_number_format($EnteredGRN->ChgPrice,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
+ <td class="number">' . $DisplayPrice . '</td>
<td class="number">' . locale_number_format($EnteredGRN->ChgPrice * $EnteredGRN->This_QuantityInv,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=' . $EnteredGRN->GRNNo . '">' . _('Delete') . '</a></td>
</tr>';
@@ -215,6 +220,13 @@
if ($myrow['decimalplaces']==''){
$myrow['decimalplaces'] =2;
}
+
+ if ($Price > 1) {
+ $DisplayPrice = locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces);
+ } else {
+ $DisplayPrice = locale_number_format($Price,4);
+ }
+
echo '<tr>
<td><input type="submit" name="GRNNo" value="' . $myrow['grnno'] . '" /></td>
<td>' . $myrow['orderno'] . '</td>
@@ -224,7 +236,7 @@
<td class="number">' . locale_number_format($myrow['qtyrecd'],$myrow['decimalplaces']) . '</td>
<td class="number">' . locale_number_format($myrow['quantityinv'],$myrow['decimalplaces']) . '</td>
<td class="number">' . locale_number_format($myrow['qtyrecd'] - $myrow['quantityinv'],$myrow['decimalplaces']) . '</td>
- <td class="number">' . locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
+ <td class="number">' . $DisplayPrice . '</td>
<td class="number">' . locale_number_format($Price*($myrow['qtyrecd'] - $myrow['quantityinv']),$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
</tr>';
$i++;
@@ -289,12 +301,17 @@
if ($myrow['decimalplaces']==''){
$myrow['decimalplaces'] =2;
}
+ if ($Price > 1) {
+ $DisplayPrice = locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces);
+ } else {
+ $DisplayPrice = locale_number_format($Price,4);
+ }
echo '<tr>
<td>' . $_POST['GRNNo'] . '</td>
<td>' . $myrow['itemcode'] . ' ' . $myrow['itemdescription'] . '</td>
<td class="number">' . locale_number_format($myrow['qtyostdg'],$myrow['decimalplaces']) . '</td>
<td><input type="text" class="number" name="This_QuantityCredited" value="' . locale_number_format($myrow['qtyostdg'],$myrow['decimalplaces']) . '" size="11" maxlength="10" /></td>
- <td class="number">' . locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
+ <td class="number">' . $DisplayPrice . '</td>
<td><input type="text" class="number" name="ChgPrice" value="' . locale_number_format($Price,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" size="11" maxlength="10" /></td>
</tr>
</table>';
Modified: trunk/SuppInvGRNs.php
===================================================================
--- trunk/SuppInvGRNs.php 2013-08-26 11:41:20 UTC (rev 6293)
+++ trunk/SuppInvGRNs.php 2013-08-27 01:44:57 UTC (rev 6294)
@@ -135,13 +135,17 @@
$i=0;
foreach ($_SESSION['SuppTrans']->GRNs as $EnteredGRN){
-
+ if ($EnteredGRN->ChgPrice > 1) {
+ $DisplayPrice = locale_number_format($EnteredGRN->ChgPrice,$_SESSION['SuppTrans']->CurrDecimalPlaces);
+ } else {
+ $DisplayPrice = locale_number_format($EnteredGRN->ChgPrice,4);
+ }
echo '<tr>
<td>' . $EnteredGRN->GRNNo . '</td>
<td>' . $EnteredGRN->ItemCode . '</td>
<td>' . $EnteredGRN->ItemDescription . '</td>
<td class="number">' . locale_number_format($EnteredGRN->This_QuantityInv,'Variable') . '</td>
- <td class="number">' . locale_number_format($EnteredGRN->ChgPrice,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
+ <td class="number">' . $DisplayPrice . '</td>
<td class="number">' . locale_number_format($EnteredGRN->ChgPrice * $EnteredGRN->This_QuantityInv,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Modify=' . $EnteredGRN->GRNNo . '">'. _('Modify') . '</a></td>
<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=' . $EnteredGRN->GRNNo . '">' . _('Delete') . '</a></td>
@@ -149,7 +153,7 @@
$TotalValueCharged = $TotalValueCharged + ($EnteredGRN->ChgPrice * $EnteredGRN->This_QuantityInv);
-
+
}
echo '</tbody><tr>
@@ -341,7 +345,7 @@
<td class="number">' . locale_number_format($GRNTmp->OrderPrice,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
<td class="number">' . locale_number_format($GRNTmp->OrderPrice * ($GRNTmp->QtyRecd - $GRNTmp->Prev_QuantityInv),$_SESSION['SuppTrans']->CurrDecimalPlaces) . '</td>
</tr></tbody>';
-
+
}
echo '</table>';
echo '<br />
|
|
From: <ex...@us...> - 2013-08-28 06:24:09
|
Revision: 6304
http://sourceforge.net/p/web-erp/reponame/6304
Author: exsonqu
Date: 2013-08-28 06:24:06 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
28/8/2013 Exson: Fixed MiscFunctions.js bug which make onclick event failed for tag whose class is date, number or integer. Solution from Tim. And update the sql file in coa directory.
Modified Paths:
--------------
trunk/javascripts/MiscFunctions.js
trunk/sql/mysql/coa/weberp-demo.sql
trunk/sql/mysql/coa/weberp-new.sql
Modified: trunk/javascripts/MiscFunctions.js
===================================================================
--- trunk/javascripts/MiscFunctions.js 2013-08-27 15:45:25 UTC (rev 6303)
+++ trunk/javascripts/MiscFunctions.js 2013-08-28 06:24:06 UTC (rev 6304)
@@ -328,8 +328,9 @@
ds[i].onchange=function(){if(this.origonchange) this.origonchange();this.newonchange();};
}
+ }
var ds=document.getElementsByTagName("th");
- }
+
for (i=0;i<ds.length;i++){
if (ds[i].className=="ascending"){
ds[i].onclick=SortSelect;
Modified: trunk/sql/mysql/coa/weberp-demo.sql
===================================================================
--- trunk/sql/mysql/coa/weberp-demo.sql 2013-08-27 15:45:25 UTC (rev 6303)
+++ trunk/sql/mysql/coa/weberp-demo.sql 2013-08-28 06:24:06 UTC (rev 6304)
@@ -1,11 +1,11 @@
CREATE DATABASE IF NOT EXISTS weberpdemo;
USE weberpdemo;
SET FOREIGN_KEY_CHECKS = 0;
--- MySQL dump 10.13 Distrib 5.5.24, for Linux (i686)
+-- MySQL dump 10.13 Distrib 5.5.32, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: weberpdemo
-- ------------------------------------------------------
--- Server version 5.5.24
+-- Server version 5.5.32-0ubuntu0.13.04.1
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
@@ -460,10 +460,10 @@
`disabletrans` tinyint(4) NOT NULL DEFAULT '0',
`brpostaddr1` varchar(40) NOT NULL DEFAULT '',
`brpostaddr2` varchar(40) NOT NULL DEFAULT '',
- `brpostaddr3` varchar(30) NOT NULL DEFAULT '',
- `brpostaddr4` varchar(20) NOT NULL DEFAULT '',
+ `brpostaddr3` varchar(40) NOT NULL DEFAULT '',
+ `brpostaddr4` varchar(50) NOT NULL DEFAULT '',
`brpostaddr5` varchar(20) NOT NULL DEFAULT '',
- `brpostaddr6` varchar(15) NOT NULL DEFAULT '',
+ `brpostaddr6` varchar(40) NOT NULL DEFAULT '',
`specialinstructions` text NOT NULL,
`custbranchcode` varchar(30) NOT NULL DEFAULT '',
PRIMARY KEY (`branchcode`,`debtorno`),
@@ -515,7 +515,7 @@
`date` date NOT NULL DEFAULT '0000-00-00',
`priority` varchar(20) NOT NULL,
PRIMARY KEY (`noteid`)
-) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
@@ -947,6 +947,7 @@
CREATE TABLE `freightcosts` (
`shipcostfromid` int(11) NOT NULL AUTO_INCREMENT,
`locationfrom` varchar(5) NOT NULL DEFAULT '',
+ `destinationcountry` varchar(40) NOT NULL,
`destination` varchar(40) NOT NULL DEFAULT '',
`shipperid` int(11) NOT NULL DEFAULT '0',
`cubrate` double NOT NULL DEFAULT '0',
@@ -1624,7 +1625,7 @@
`userid` varchar(20) NOT NULL DEFAULT '',
`currabrev` char(3) NOT NULL DEFAULT '',
`cancreate` smallint(2) NOT NULL DEFAULT '0',
- `authlevel` int(11) NOT NULL DEFAULT '0',
+ `authlevel` double NOT NULL DEFAULT '0',
`offhold` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`userid`,`currabrev`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -1999,6 +2000,7 @@
`salescatid` tinyint(4) NOT NULL AUTO_INCREMENT,
`parentcatid` tinyint(4) DEFAULT NULL,
`salescatname` varchar(50) DEFAULT NULL,
+ `active` int(11) NOT NULL DEFAULT '1' COMMENT '1 if active 0 if inactive',
PRIMARY KEY (`salescatid`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -2019,6 +2021,7 @@
KEY `stockid` (`stockid`),
KEY `manufacturer_id` (`manufacturers_id`),
KEY `manufacturers_id` (`manufacturers_id`),
+ KEY `manufacturers_id_2` (`manufacturers_id`),
CONSTRAINT `salescatprod_ibfk_1` FOREIGN KEY (`stockid`) REFERENCES `stockmaster` (`stockid`),
CONSTRAINT `salescatprod_ibfk_2` FOREIGN KEY (`salescatid`) REFERENCES `salescat` (`salescatid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -2333,6 +2336,7 @@
`purchpricevaract` varchar(20) NOT NULL DEFAULT '80000',
`materialuseagevarac` varchar(20) NOT NULL DEFAULT '80000',
`wipact` varchar(20) NOT NULL DEFAULT '0',
+ `defaulttaxcatid` tinyint(4) NOT NULL DEFAULT '1',
PRIMARY KEY (`categoryid`),
KEY `CategoryDescription` (`categorydescription`),
KEY `StockType` (`stocktype`)
@@ -2461,7 +2465,7 @@
`controlled` tinyint(4) NOT NULL DEFAULT '0',
`eoq` double NOT NULL DEFAULT '0',
`volume` decimal(20,4) NOT NULL DEFAULT '0.0000',
- `kgs` decimal(20,4) NOT NULL DEFAULT '0.0000',
+ `grossweight` decimal(20,4) NOT NULL DEFAULT '0.0000',
`barcode` varchar(50) NOT NULL DEFAULT '',
`discountcategory` char(2) NOT NULL DEFAULT '',
`taxcatid` tinyint(4) NOT NULL DEFAULT '1',
@@ -3165,12 +3169,12 @@
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2013-07-06 15:59:42
--- MySQL dump 10.13 Distrib 5.5.24, for Linux (i686)
+-- Dump completed on 2013-08-24 10:33:38
+-- MySQL dump 10.13 Distrib 5.5.32, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: weberpdemo
-- ------------------------------------------------------
--- Server version 5.5.24
+-- Server version 5.5.32-0ubuntu0.13.04.1
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
@@ -3312,6 +3316,27 @@
INSERT INTO `chartdetails` VALUES ('1',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('101',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('101',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('101',2,0,0,0,0);
@@ -3351,6 +3376,27 @@
INSERT INTO `chartdetails` VALUES ('1010',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1010',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1010',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1010',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('102',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('102',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('102',2,0,0,0,0);
@@ -3390,6 +3436,27 @@
INSERT INTO `chartdetails` VALUES ('1020',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1020',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1020',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1020',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('103',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('103',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('103',2,0,0,0,0);
@@ -3429,6 +3496,27 @@
INSERT INTO `chartdetails` VALUES ('1030',19,0,5630.385973437937,50.236109715664,0);
INSERT INTO `chartdetails` VALUES ('1030',20,0,0,5680.6220831536,0);
INSERT INTO `chartdetails` VALUES ('1030',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1030',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('104',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('104',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('104',2,0,0,0,0);
@@ -3468,6 +3556,27 @@
INSERT INTO `chartdetails` VALUES ('1040',19,0,59.52545676,0,0);
INSERT INTO `chartdetails` VALUES ('1040',20,0,0,59.52545676,0);
INSERT INTO `chartdetails` VALUES ('1040',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1040',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1041',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1041',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1041',2,0,0,0,0);
@@ -3541,6 +3650,27 @@
INSERT INTO `chartdetails` VALUES ('1050',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1050',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1050',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1050',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('106',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('106',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('106',2,0,0,0,0);
@@ -3580,6 +3710,27 @@
INSERT INTO `chartdetails` VALUES ('1060',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1060',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1060',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1060',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1061',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1061',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1061',2,0,0,0,0);
@@ -4656,6 +4807,27 @@
INSERT INTO `chartdetails` VALUES ('1070',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1070',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1070',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1070',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1080',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1080',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1080',2,0,0,0,0);
@@ -4678,6 +4850,27 @@
INSERT INTO `chartdetails` VALUES ('1080',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1080',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1080',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1080',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1090',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1090',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1090',2,0,0,0,0);
@@ -4700,6 +4893,27 @@
INSERT INTO `chartdetails` VALUES ('1090',19,0,0,-50.236109715664,0);
INSERT INTO `chartdetails` VALUES ('1090',20,0,0,-50.236109715664,0);
INSERT INTO `chartdetails` VALUES ('1090',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1090',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1100',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1100',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1100',2,0,0,0,0);
@@ -4722,6 +4936,27 @@
INSERT INTO `chartdetails` VALUES ('1100',19,0,-5594.823422481848,4520.74,0);
INSERT INTO `chartdetails` VALUES ('1100',20,0,0,-1074.0834224818482,0);
INSERT INTO `chartdetails` VALUES ('1100',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1100',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('111',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('111',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('111',2,0,0,0,0);
@@ -4829,6 +5064,27 @@
INSERT INTO `chartdetails` VALUES ('1150',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1150',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1150',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1150',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1200',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1200',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1200',2,0,0,0,0);
@@ -4851,6 +5107,27 @@
INSERT INTO `chartdetails` VALUES ('1200',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1200',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1200',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1200',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('121',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('121',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('121',2,0,0,0,0);
@@ -4924,6 +5201,27 @@
INSERT INTO `chartdetails` VALUES ('1250',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1250',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1250',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1250',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('128',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('128',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('128',2,0,0,0,0);
@@ -4963,6 +5261,27 @@
INSERT INTO `chartdetails` VALUES ('1300',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1300',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1300',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1300',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('131',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('131',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('131',2,0,0,0,0);
@@ -5036,6 +5355,27 @@
INSERT INTO `chartdetails` VALUES ('1350',19,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1350',20,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('1350',21,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',22,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',23,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',24,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',25,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',26,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',27,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',28,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',29,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',30,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',31,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',32,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',33,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',34,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',35,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',36,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',37,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',38,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',39,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',40,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',41,0,0,0,0);
+INSERT INTO `chartdetails` VALUES ('1350',42,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('138',0,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('138',1,0,0,0,0);
INSERT INTO `chartdetails` VALUES ('138',2,0,0,0,0);
@@ -5126,6 +5466,27 @@
INSERT INTO `chartd...
[truncated message content] |
|
From: <dai...@us...> - 2013-08-29 10:42:56
|
Revision: 6310
http://sourceforge.net/p/web-erp/reponame/6310
Author: daintree
Date: 2013-08-29 10:42:50 +0000 (Thu, 29 Aug 2013)
Log Message:
-----------
spacing concatenation and autofocusing
Modified Paths:
--------------
trunk/AccountGroups.php
trunk/AccountSections.php
trunk/AddCustomerContacts.php
trunk/AddCustomerNotes.php
trunk/AddCustomerTypeNotes.php
trunk/AgedDebtors.php
trunk/AgedSuppliers.php
trunk/Areas.php
trunk/AuditTrail.php
trunk/BOMExtendedQty.php
trunk/BOMIndented.php
trunk/BOMIndentedReverse.php
trunk/BOMInquiry.php
trunk/BOMs.php
trunk/BankAccounts.php
trunk/BankMatching.php
trunk/BankReconciliation.php
trunk/COGSGLPostings.php
trunk/CompanyPreferences.php
trunk/ConfirmDispatchControlled_Invoice.php
trunk/ConfirmDispatch_Invoice.php
trunk/ContractBOM.php
trunk/ContractCosting.php
trunk/ContractOtherReqts.php
trunk/Contracts.php
trunk/CopyBOM.php
trunk/CounterReturns.php
trunk/CounterSales.php
trunk/CreditItemsControlled.php
trunk/CreditStatus.php
trunk/Credit_Invoice.php
trunk/Currencies.php
trunk/CustEDISetup.php
trunk/CustLoginSetup.php
trunk/CustWhereAlloc.php
trunk/CustomerAllocations.php
trunk/CustomerBranches.php
trunk/CustomerInquiry.php
trunk/CustomerReceipt.php
trunk/Customers.php
trunk/DailyBankTransactions.php
trunk/DebtorsAtPeriodEnd.php
trunk/DeliveryDetails.php
trunk/Departments.php
trunk/DiscountCategories.php
trunk/DiscountMatrix.php
trunk/EDIMessageFormat.php
trunk/EmailConfirmation.php
trunk/EmailCustTrans.php
trunk/Factors.php
trunk/FixedAssetDepreciation.php
trunk/FixedAssetItems.php
trunk/FixedAssetLocations.php
trunk/FixedAssetRegister.php
trunk/FixedAssetTransfer.php
trunk/FormDesigner.php
trunk/FreightCosts.php
trunk/GLAccountCSV.php
trunk/GLAccountInquiry.php
trunk/GLAccountReport.php
trunk/GLBalanceSheet.php
trunk/GLBudgets.php
trunk/GLJournal.php
trunk/GLJournalInquiry.php
trunk/GLProfit_Loss.php
trunk/GLTagProfit_Loss.php
trunk/GLTags.php
trunk/GLTransInquiry.php
trunk/GLTrialBalance.php
trunk/GeocodeSetup.php
trunk/GetStockImage.php
trunk/GoodsReceived.php
trunk/GoodsReceivedControlled.php
trunk/ImportBankTrans.php
trunk/ImportBankTransAnalysis.php
trunk/InternalStockRequest.php
trunk/InternalStockRequestAuthorisation.php
trunk/InternalStockRequestFulfill.php
trunk/InventoryPlanning.php
trunk/InventoryPlanningPrefSupplier.php
trunk/Locations.php
trunk/MRP.php
trunk/MRPCalendar.php
trunk/MRPCreateDemands.php
trunk/MRPDemandTypes.php
trunk/MRPDemands.php
trunk/MRPPlannedPurchaseOrders.php
trunk/MRPPlannedWorkOrders.php
trunk/MRPReport.php
trunk/MRPReschedules.php
trunk/MRPShortages.php
trunk/MailingGroupMaintenance.php
trunk/MaintenanceTasks.php
trunk/MaintenanceUserSchedule.php
trunk/Manufacturers.php
trunk/NoSalesItems.php
trunk/OffersReceived.php
trunk/OrderDetails.php
trunk/PDFBankingSummary.php
trunk/PDFCustomerList.php
trunk/PDFGLJournal.php
trunk/PDFGrn.php
trunk/PDFPeriodStockTransListing.php
trunk/PDFPickingList.php
trunk/PDFPriceList.php
trunk/PDFPrintLabel.php
trunk/PDFQuotation.php
trunk/PDFQuotationPortrait.php
trunk/PDFRemittanceAdvice.php
trunk/PDFStockCheckComparison.php
trunk/PDFStockLocTransfer.php
trunk/PDFStockTransfer.php
trunk/PDFSuppTransListing.php
trunk/POReport.php
trunk/PO_AuthorisationLevels.php
trunk/PO_AuthoriseMyOrders.php
trunk/PO_Items.php
trunk/PO_OrderDetails.php
trunk/PageSecurity.php
trunk/PaymentAllocations.php
trunk/PaymentMethods.php
trunk/PaymentTerms.php
trunk/Payments.php
trunk/PcAssignCashToTab.php
trunk/PcAuthorizeExpenses.php
trunk/PcClaimExpensesFromTab.php
trunk/PcExpenses.php
trunk/PcReportTab.php
trunk/PricesBasedOnMarkUp.php
trunk/PricesByCost.php
trunk/Prices_Customer.php
trunk/PrintCustOrder.php
trunk/PrintCustOrder_generic.php
trunk/PrintCustStatements.php
trunk/PrintCustTrans.php
trunk/PurchData.php
trunk/RecurringSalesOrders.php
trunk/ReorderLevelLocation.php
trunk/ReverseGRN.php
trunk/SMTPServer.php
trunk/SalesCategories.php
trunk/SalesGLPostings.php
trunk/SalesGraph.php
trunk/SalesPeople.php
trunk/SalesTopItemsInquiry.php
trunk/SalesTypes.php
trunk/SecurityTokens.php
trunk/SelectAsset.php
trunk/SelectCreditItems.php
trunk/SelectGLAccount.php
trunk/SelectOrderItems.php
trunk/SelectProduct.php
trunk/SelectSalesOrder.php
trunk/SelectSupplier.php
trunk/SelectWorkOrder.php
trunk/ShipmentCosting.php
trunk/Shipments.php
trunk/Shippers.php
trunk/Shipt_Select.php
trunk/ShiptsList.php
trunk/ShopParameters.php
trunk/SpecialOrder.php
trunk/StockAdjustments.php
trunk/StockAdjustmentsControlled.php
trunk/StockCheck.php
trunk/StockCostUpdate.php
trunk/StockCounts.php
trunk/StockLocMovements.php
trunk/StockLocTransfer.php
trunk/StockLocTransferReceive.php
trunk/StockSerialItemResearch.php
trunk/StockSerialItems.php
trunk/StockStatus.php
trunk/StockTransferControlled.php
trunk/StockTransfers.php
trunk/StockUsage.php
trunk/Stocks.php
trunk/SuppFixedAssetChgs.php
trunk/SuppInvGRNs.php
trunk/SuppLoginSetup.php
trunk/SuppPriceList.php
trunk/SuppShiptChgs.php
trunk/SupplierAllocations.php
trunk/SupplierBalsAtPeriodEnd.php
trunk/SupplierInquiry.php
trunk/SupplierInvoice.php
trunk/SupplierPriceList.php
trunk/SupplierTenderCreate.php
trunk/SupplierTenders.php
trunk/Suppliers.php
trunk/SystemParameters.php
trunk/TaxCategories.php
trunk/TaxGroups.php
trunk/TaxProvinces.php
trunk/UnitsOfMeasure.php
trunk/UpgradeDatabase.php
trunk/UserSettings.php
trunk/WOSerialNos.php
trunk/WWW_Access.php
trunk/WWW_Users.php
trunk/WorkCentres.php
trunk/WorkOrderCosting.php
trunk/WorkOrderEntry.php
trunk/WorkOrderIssue.php
trunk/WorkOrderReceive.php
trunk/WorkOrderStatus.php
trunk/Z_BottomUpCosts.php
trunk/Z_CheckDebtorsControl.php
trunk/Z_DataExport.php
trunk/Z_DescribeTable.php
trunk/Z_ImportChartOfAccounts.php
trunk/Z_ImportGLAccountGroups.php
trunk/Z_ImportGLAccountSections.php
trunk/Z_ImportPartCodes.php
trunk/Z_MakeNewCompany.php
trunk/Z_SalesIntegrityCheck.php
trunk/Z_Upgrade_3.10-3.11.php
trunk/Z_Upgrade_3.11-4.00.php
trunk/Z_poAdmin.php
trunk/Z_poEditLangHeader.php
trunk/Z_poEditLangRemaining.php
trunk/geocode.php
trunk/includes/Add_SerialItems.php
trunk/includes/ConnectDB_mysql.inc
trunk/includes/ConnectDB_mysqli.inc
trunk/includes/ConnectDB_postgres.inc
trunk/includes/ConstructSQLForUserDefinedSalesReport.inc
trunk/includes/InputSerialItems.php
trunk/includes/InputSerialItemsExisting.php
trunk/includes/InputSerialItemsFile.php
trunk/includes/InputSerialItemsKeyed.php
trunk/includes/InputSerialItemsSequential.php
trunk/includes/Login.php
trunk/includes/MiscFunctions.php
trunk/includes/OutputSerialItems.php
trunk/includes/PDFSalesAnalysis.inc
trunk/includes/RFC822.php
trunk/includes/header.inc
trunk/index.php
trunk/install/index.php
Modified: trunk/AccountGroups.php
===================================================================
--- trunk/AccountGroups.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AccountGroups.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -230,7 +230,7 @@
if (isset($_POST['ParentGroupName']) AND $_POST['ParentGroupName']==$RroupRow['groupname']) {
echo '<option selected="selected" value="'.htmlentities($GroupRow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlentities($GroupRow['groupname'], ENT_QUOTES,'UTF-8'). '</option>';
} else {
- echo '<option value="'.htmlentities($GroupRow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlentities($GroupRow['groupname'], ENT_QUOTES,'UTF-8').'</option>';
+ echo '<option value="'.htmlentities($GroupRow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlentities($GroupRow['groupname'], ENT_QUOTES,'UTF-8') . '</option>';
}
}
echo '</select>';
@@ -283,7 +283,7 @@
$DbgMsg = _('The sql that was used to retrieve the account group information was ');
$ErrMsg = _('Could not get account groups because');
$result = DB_query($sql,$db,$ErrMsg,$DbgMsg);
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'<br /></p>';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '<br /></p>';
echo '<table class="selection">
<tr>
@@ -323,7 +323,7 @@
<td>' . $PandLText . '</td>
<td>' . $myrow['parentgroupname'] . '</td>';
echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedAccountGroup=' . urlencode($myrow['groupname']), ENT_QUOTES,'UTF-8') . '">' . _('Edit') . '</a></td>';
- echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedAccountGroup=' . urlencode($myrow['groupname']), ENT_QUOTES,'UTF-8') . '&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this account group?') . '\');">' . _('Delete') .'</a></td></tr>';
+ echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedAccountGroup=' . urlencode($myrow['groupname']), ENT_QUOTES,'UTF-8') . '&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this account group?') . '\');">' . _('Delete') . '</a></td></tr>';
} //END WHILE LIST LOOP
echo '</table>';
@@ -410,17 +410,17 @@
$sql = "SELECT groupname FROM accountgroups";
$groupresult = DB_query($sql, $db,$ErrMsg,$DbgMsg);
if (!isset($_POST['ParentGroupName'])){
- echo '<option selected="selected" value="">' ._('Top Level Group').'</option>';
+ echo '<option selected="selected" value="">' ._('Top Level Group') . '</option>';
} else {
- echo '<option value="">' ._('Top Level Group').'</option>';
+ echo '<option value="">' ._('Top Level Group') . '</option>';
}
while ( $grouprow = DB_fetch_array($groupresult) ) {
if (isset($_POST['ParentGroupName']) AND $_POST['ParentGroupName']==$grouprow['groupname']) {
- echo '<option selected="selected" value="'.htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8').'</option>';
+ echo '<option selected="selected" value="'.htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8') . '</option>';
} else {
- echo '<option value="'.htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8').'</option>';
+ echo '<option value="'.htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8').'">' .htmlspecialchars($grouprow['groupname'], ENT_QUOTES,'UTF-8') . '</option>';
}
}
echo '</select></td>
@@ -433,9 +433,9 @@
$secresult = DB_query($sql, $db,$ErrMsg,$DbgMsg);
while( $secrow = DB_fetch_array($secresult) ) {
if ($_POST['SectionInAccounts']==$secrow['sectionid']) {
- echo '<option selected="selected" value="'.$secrow['sectionid'].'">'.$secrow['sectionname'].' ('.$secrow['sectionid'].')</option>';
+ echo '<option selected="selected" value="'.$secrow['sectionid'].'">' . $secrow['sectionname'].' ('.$secrow['sectionid'].')</option>';
} else {
- echo '<option value="'.$secrow['sectionid'].'">'.$secrow['sectionname'].' ('.$secrow['sectionid'].')</option>';
+ echo '<option value="'.$secrow['sectionid'].'">' . $secrow['sectionname'].' ('.$secrow['sectionid'].')</option>';
}
}
echo '</select></td>
@@ -445,14 +445,14 @@
<td><select tabindex="4" name="PandL" title="' . _('Select YES if this account group will contain accounts that will consist of only profit and loss accounts or NO if the group will contain balance sheet account') . '">';
if ($_POST['PandL']!=0 ) {
- echo '<option selected="selected" value="1">' . _('Yes').'</option>';
+ echo '<option selected="selected" value="1">' . _('Yes') . '</option>';
} else {
- echo '<option value="1">' . _('Yes').'</option>';
+ echo '<option value="1">' . _('Yes') . '</option>';
}
if ($_POST['PandL']==0) {
- echo '<option selected="selected" value="0">' . _('No').'</option>';
+ echo '<option selected="selected" value="0">' . _('No') . '</option>';
} else {
- echo '<option value="0">' . _('No').'</option>';
+ echo '<option value="0">' . _('No') . '</option>';
}
echo '</select></td>
Modified: trunk/AccountSections.php
===================================================================
--- trunk/AccountSections.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AccountSections.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -169,7 +169,7 @@
$ErrMsg = _('Could not get account group sections because');
$result = DB_query($sql,$db,$ErrMsg);
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'<br /></p>';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '<br /></p>';
echo '<table class="selection">
<tr>
@@ -191,9 +191,9 @@
echo '<td>' . $myrow['sectionid'] . '</td><td>' . $myrow['sectionname'] . '</td>';
echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedSectionID=' . urlencode($myrow['sectionid']), ENT_QUOTES, 'UTF-8') . '">' . _('Edit') . '</a></td>';
if ( $myrow['sectionid'] == '1' or $myrow['sectionid'] == '2' ) {
- echo '<td><b>'._('Restricted').'</b></td>';
+ echo '<td><b>' . _('Restricted') . '</b></td>';
} else {
- echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedSectionID=' . urlencode($myrow['sectionid']) . '&delete=1', ENT_QUOTES, 'UTF-8') . '">' . _('Delete') .'</a></td>';
+ echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?SelectedSectionID=' . urlencode($myrow['sectionid']) . '&delete=1', ENT_QUOTES, 'UTF-8') . '">' . _('Delete') . '</a></td>';
}
echo '</tr>';
} //END WHILE LIST LOOP
Modified: trunk/AddCustomerContacts.php
===================================================================
--- trunk/AddCustomerContacts.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AddCustomerContacts.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -76,7 +76,7 @@
if ($InputError !=1) {
$result = DB_query($sql,$db);
- //echo '<br />'.$sql;
+ //echo '<br />' . $sql;
echo '<br />';
prnMsg($msg, 'success');
@@ -119,7 +119,7 @@
WHERE debtorno='".$DebtorNo."'
ORDER BY contid";
$result = DB_query($sql,$db);
- //echo '<br />'.$sql;
+ //echo '<br />' . $sql;
echo '<table class="selection">';
echo '<tr>
@@ -146,7 +146,7 @@
<td><a href="mailto:%s">%s</a></td>
<td>%s</td>
<td><a href="%sId=%s&DebtorNo=%s">' . _('Edit') . '</a></td>
- <td><a href="%sId=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this contact?') . '\');">'. _('Delete'). '</a></td></tr>',
+ <td><a href="%sId=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this contact?') . '\');">' . _('Delete'). '</a></td></tr>',
$myrow['contactname'],
$myrow['role'],
$myrow['phoneno'],
@@ -203,7 +203,7 @@
echo '<br />
<table class="selection">
<tr>
- <td>'. _('Contact Code').':</td>
+ <td>' . _('Contact Code').':</td>
<td>' . $_POST['Con_ID'] . '</td>
</tr>';
} else {
@@ -211,7 +211,7 @@
}
echo '<tr>
- <td>'. _('Contact Name') . '</td>';
+ <td>' . _('Contact Name') . '</td>';
if (isset($_POST['ContactName'])) {
echo '<td><input type="text" autofocus="autofocus" required="required" name="ContactName" value="' . $_POST['ContactName']. '" size="35" maxlength="40" /></td>
</tr>';
@@ -249,7 +249,7 @@
echo '<tr>
<td>' . _('Notes') . '</td>';
if (isset($_POST['ContactNotes'])) {
- echo '<td><textarea name="ContactNotes" rows="3" cols="40">'. $_POST['ContactNotes'] . '</textarea></td>';
+ echo '<td><textarea name="ContactNotes" rows="3" cols="40">' . $_POST['ContactNotes'] . '</textarea></td>';
} else {
echo '<td><textarea name="ContactNotes" rows="3" cols="40"></textarea></td>';
}
Modified: trunk/AddCustomerNotes.php
===================================================================
--- trunk/AddCustomerNotes.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AddCustomerNotes.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -66,7 +66,7 @@
if ($InputError !=1) {
$result = DB_query($sql,$db);
- //echo '<br />'.$sql;
+ //echo '<br />' . $sql;
echo '<br />';
prnMsg($msg, 'success');
@@ -98,7 +98,7 @@
WHERE debtorno='".$DebtorNo."'";
$Result = DB_query($SQLname,$db);
$row = DB_fetch_array($Result);
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . _('Notes for Customer').': <b>' .$row['name'].'</b></p>
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . _('Notes for Customer').': <b>' .$row['name'] . '</b></p>
<br />';
$sql = "SELECT noteid,
@@ -134,8 +134,8 @@
<td>%s</td>
<td><a href="%s">%s</a></td>
<td>%s</td>
- <td><a href="%sId=%s&DebtorNo=%s">'. _('Edit').' </td>
- <td><a href="%sId=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer note?') . '\');">'. _('Delete'). '</td></tr>',
+ <td><a href="%sId=%s&DebtorNo=%s">' . _('Edit').' </td>
+ <td><a href="%sId=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer note?') . '\');">' . _('Delete'). '</td></tr>',
ConvertSQLDate($myrow['date']),
$myrow['note'],
$myrow['href'],
@@ -154,7 +154,7 @@
}
if (isset($Id)) {
echo '<div class="centre">
- <a href="'.htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?DebtorNo='.$DebtorNo.'">'._('Review all notes for this Customer').'</a>
+ <a href="'.htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?DebtorNo='.$DebtorNo.'">' . _('Review all notes for this Customer') . '</a>
</div>';
}
echo '<br />';
@@ -193,7 +193,7 @@
echo '<input type="hidden" name="DebtorNo" value="' . $_POST['debtorno'] . '" />';
echo '<table class="selection">
<tr>
- <td>'. _('Note ID').':</td>
+ <td>' . _('Note ID').':</td>
<td>' . $_POST['Noteid'] . '</td>
</tr>';
} else {
@@ -210,7 +210,7 @@
</tr>';
}
echo '<tr>
- <td>'. _('WWW').'</td>';
+ <td>' . _('WWW') . '</td>';
if (isset($_POST['Href'])) {
echo '<td><input type="url" name="Href" value="'.$_POST['Href'].'" size="35" maxlength="100" /></td>
</tr>';
@@ -219,7 +219,7 @@
</tr>';
}
echo '<tr>
- <td>' . _('Date') .'</td>';
+ <td>' . _('Date') . '</td>';
if (isset($_POST['NoteDate'])) {
echo '<td><input type="date" required name="NoteDate" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" value="'.ConvertSQLDate($_POST['NoteDate']).'" size="10" maxlength="10" /></td>
</tr>';
@@ -228,7 +228,7 @@
</tr>';
}
echo '<tr>
- <td>'. _('Priority'). '</td>';
+ <td>' . _('Priority'). '</td>';
if (isset($_POST['Priority'])) {
echo '<td><input type="number" required min="1" name="Priority" class="number" value="' . $_POST['Priority']. '" size="1" maxlength="3" /></td>
</tr>';
Modified: trunk/AddCustomerTypeNotes.php
===================================================================
--- trunk/AddCustomerTypeNotes.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AddCustomerTypeNotes.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -91,7 +91,7 @@
$SQLname="SELECT typename from debtortype where typeid='".$DebtorType."'";
$result = DB_query($SQLname,$db);
$myrow = DB_fetch_array($result);
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/customer.png" title="' . _('Search') . '" alt="" />' . _('Notes for Customer Type').': <b>' .$myrow['typename'].'</b></p>
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/customer.png" title="' . _('Search') . '" alt="" />' . _('Notes for Customer Type').': <b>' .$myrow['typename'] . '</b></p>
<br />';
$sql = "SELECT noteid,
@@ -104,7 +104,7 @@
WHERE typeid='".$DebtorType."'
ORDER BY date DESC";
$result = DB_query($sql,$db);
- //echo '<br />'.$sql;
+ //echo '<br />' . $sql;
echo '<table class="selection">';
echo '<tr>
@@ -128,8 +128,8 @@
<td>%s</td>
<td>%s</td>
<td>%s</td>
- <td><a href="%sId=%s&DebtorType=%s">'. _('Edit') . '</a></td>
- <td><a href="%sId=%s&DebtorType=%s&delete=1">'. _('Delete') . '</a></td></tr>',
+ <td><a href="%sId=%s&DebtorType=%s">' . _('Edit') . '</a></td>
+ <td><a href="%sId=%s&DebtorType=%s&delete=1">' . _('Delete') . '</a></td></tr>',
$myrow['date'],
$myrow['note'],
$myrow['href'],
@@ -147,7 +147,7 @@
}
if (isset($Id)) {
echo '<div class="centre">
- <a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorType=' . $DebtorType . '">' . _('Review all notes for this Customer Type') .'</a>
+ <a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorType=' . $DebtorType . '">' . _('Review all notes for this Customer Type') . '</a>
</div>';
}
@@ -171,7 +171,7 @@
AND typeid='".$DebtorType."'";
$result = DB_query($sql, $db);
- //echo '<br />'.$sql;
+ //echo '<br />' . $sql;
$myrow = DB_fetch_array($result);
@@ -186,7 +186,7 @@
echo '<input type="hidden" name="DebtorType" value="' . $_POST['typeid'] . '" />';
echo '<table class="selection">
<tr>
- <td>'. _('Note ID').':</td>
+ <td>' . _('Note ID').':</td>
<td>' . $_POST['NoteID'] . '</td>
</tr>';
} else {
@@ -200,19 +200,19 @@
}
echo '<tr>
- <td>'._('Contact Group Note').':</td>
- <td><textarea name="Note" autofocus required rows="3" cols="32">'. $_POST['Note'].'</textarea></td>
+ <td>' . _('Contact Group Note').':</td>
+ <td><textarea name="Note" autofocus required rows="3" cols="32">' . $_POST['Note'] . '</textarea></td>
</tr>
<tr>
- <td>'. _('Web site').':</td>
+ <td>' . _('Web site').':</td>
<td><input type="url" name="Href" value="'. $_POST['Href'].'" size="35" maxlength="100" /></td>
</tr>
<tr>
- <td>'. _('Date').':</td>
+ <td>' . _('Date').':</td>
<td><input type="date" required name="NoteDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['NoteDate']. '" size="10" maxlength="10" /></td>
</tr>
<tr>
- <td>'. _('Priority').':</td>
+ <td>' . _('Priority').':</td>
<td><input type="number" required min="1" class="number" name="Priority" value="'. $_POST['Priority'] .'" size="1" maxlength="3" /></td>
</tr>
</table>
Modified: trunk/AgedDebtors.php
===================================================================
--- trunk/AgedDebtors.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AgedDebtors.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -445,7 +445,7 @@
include('includes/header.inc');
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />';
if ((!isset($_POST['FromCriteria']) or !isset($_POST['ToCriteria']))) {
Modified: trunk/AgedSuppliers.php
===================================================================
--- trunk/AgedSuppliers.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AgedSuppliers.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -273,7 +273,7 @@
$Title = _('Aged Supplier Analysis');
include('includes/header.inc');
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />';
if (!isset($_POST['FromCriteria']) or !isset($_POST['ToCriteria'])) {
Modified: trunk/Areas.php
===================================================================
--- trunk/Areas.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/Areas.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -141,7 +141,7 @@
FROM areas";
$result = DB_query($sql,$db);
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />';
echo '<table class="selection">
<tr>
Modified: trunk/AuditTrail.php
===================================================================
--- trunk/AuditTrail.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/AuditTrail.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -8,7 +8,7 @@
include('includes/header.inc');
-echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p>';
+echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p>';
if (!isset($_POST['FromDate'])){
$_POST['FromDate'] = Date($_SESSION['DefaultDateFormat'],mktime(0,0,0, Date('m')-$_SESSION['MonthsAuditTrail']));
@@ -40,17 +40,17 @@
echo '<table class="selection">';
echo '<tr>
- <td>'. _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td>
+ <td>' . _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] . '</td>
<td><input tabindex="1" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" autofocus="autofocus" required="required" value="' .$_POST['FromDate']. '" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')"/></td>
</tr>
<tr>
- <td>'. _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td>
+ <td>' . _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] . '</td>
<td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" required="required" value="' . $_POST['ToDate'] . '" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')"/></td>
</tr>';
// Show user selections
echo '<tr>
- <td>'. _('User ID'). '</td>
+ <td>' . _('User ID'). '</td>
<td><select tabindex="3" name="SelectedUser">
<option value="ALL">' . _('All') . '</option>';
while ($Users = DB_fetch_row($UserResult)) {
@@ -64,7 +64,7 @@
// Show table selections
echo '<tr>
- <td>'. _('Table '). '</td>
+ <td>' . _('Table '). '</td>
<td><select tabindex="4" name="SelectedTable">
<option value="ALL">' . _('All') . '</option>';
while ($Tables = DB_fetch_row($TableResult)) {
@@ -213,8 +213,8 @@
<td></td>
<td></td>
<td></td>';
- echo '<td>'.$_SESSION['SQLString']['fields'][$i].'</td>
- <td>'. trim(str_replace("'","",$_SESSION['SQLString']['values'][$i])) .'</td>';
+ echo '<td>' . $_SESSION['SQLString']['fields'][$i] . '</td>
+ <td>' . trim(str_replace("'","",$_SESSION['SQLString']['values'][$i])) . '</td>';
echo '</tr>';
}
}
Modified: trunk/BOMExtendedQty.php
===================================================================
--- trunk/BOMExtendedQty.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/BOMExtendedQty.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -249,7 +249,7 @@
$Title=_('Quantity Extended BOM Listing');
include('includes/header.inc');
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />';
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">
<div>
Modified: trunk/BOMIndented.php
===================================================================
--- trunk/BOMIndented.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/BOMIndented.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -243,7 +243,7 @@
$Title=_('Indented BOM Listing');
include('includes/header.inc');
- echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />';
+ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />';
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">
<div>
Modified: trunk/BOMIndentedReverse.php
===================================================================
--- trunk/BOMIndentedReverse.php 2013-08-29 01:32:47 UTC (rev 6309)
+++ trunk/BOMIndentedReverse.php 2013-08-29 10:42:50 UTC (rev 6310)
@@ -232,7 +232,7 @@
include('includes/header.inc');
echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' .
- _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />';
+ _('Search') . '" alt="" />' . ' ' . $T...
[truncated message content] |
|
From: <dai...@us...> - 2013-08-30 21:08:40
|
Revision: 6312
http://sourceforge.net/p/web-erp/reponame/6312
Author: daintree
Date: 2013-08-30 21:08:37 +0000 (Fri, 30 Aug 2013)
Log Message:
-----------
autofocusing
Modified Paths:
--------------
trunk/AccountSections.php
trunk/CounterReturns.php
trunk/FixedAssetLocations.php
trunk/GetStockImage.php
trunk/SelectCustomer.php
trunk/SelectOrderItems.php
trunk/StockLocTransfer.php
trunk/SupplierPriceList.php
trunk/SupplierTenderCreate.php
trunk/WhereUsedInquiry.php
Modified: trunk/AccountSections.php
===================================================================
--- trunk/AccountSections.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/AccountSections.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -263,16 +263,10 @@
<td colspan="2"><div class="centre"><input tabindex="3" type="submit" name="submit" value="' . _('Enter Information') . '" /></div></td>
</tr>
</table>
- <br />';
+ <br />
+ </div>
+ </form>';
- if (!isset($_GET['SelectedSectionID']) or $_GET['SelectedSectionID']=='') {
- echo '<script type="text/javascript">defaultControl(document.AccountSections.SectionID);</script>';
- } else {
- echo '<script type="text/javascript">defaultControl(document.AccountSections.SectionName);</script>';
- }
- echo '</div>';
- echo '</form>';
-
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
Modified: trunk/CounterReturns.php
===================================================================
--- trunk/CounterReturns.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/CounterReturns.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -1633,7 +1633,7 @@
</select></td>
<td><b><?php echo _('Enter partial Description'); ?>:</b>
- <input tabindex="2" type="text" name="Keywords" autofocus="autofocus" size="20" maxlength="25" value="<?php if (isset($_POST['Keywords'])) echo $_POST['Keywords']; ?>" /></td>
+ <input tabindex="2" type="text" name="Keywords" <?php isset($SearchResult)? '': 'autofocus="autofocus"' ?> size="20" maxlength="25" value="<?php if (isset($_POST['Keywords'])) echo $_POST['Keywords']; ?>" /></td>
<td align="right"><b><?php echo _('OR'); ?> </b><b><?php echo _('Enter extract of the Stock Code'); ?>:</b>
<input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="<?php if (isset($_POST['StockCode'])) echo $_POST['StockCode']; ?>" /></td>
@@ -1757,7 +1757,7 @@
<td class="number">%s</td>
<td class="number">%s</td>
<td class="number">%s</td>
- <td><input class="number" tabindex="'.strval($j+7).'" type="number" required="required" size="6" name="ReturnQty%s" value="0" /></font><input type="hidden" name="StockID%s" value="%s" /></td>
+ <td><input class="number" tabindex="'.strval($j+7).'" type="text" required="required" ' . ($i==0?'autofocus="autofocus"':'') . ' size="6" name="ReturnQty%s" value="0" /><input type="hidden" name="StockID%s" value="%s" /></td>
</tr>',
$myrow['stockid'],
$myrow['longdescription'],
@@ -1770,26 +1770,26 @@
$i,
$i,
$myrow['stockid']);
- if ($j==1) {
- $jsCall = '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.itm'.$myrow['stockid'].');}</script>';
- }
$j++;
$i++;
#end of page full new headings if
}
#end of while loop
- echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items' . $identifier]->CustRef.'" />';
- echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items' . $identifier]->Comments.'" />';
- echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items' . $identifier]->DeliverTo.'" />';
- echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items' . $identifier]->PhoneNo.'" />';
- echo '<input type="hidden" name="Email" value="'.$_SESSION['Items' . $identifier]->Email.'" />';
-
- echo '<tr><td><input type="hidden" name="previous" value="'.strval($Offset-1).'" /><input tabindex="'.strval($j+7).'" type="submit" name="Prev" value="'._('Prev').'" /></td>';
- echo '<td style="text-align:center" colspan="6"><input type="hidden" name="SelectingReturnItems" value="1" /><input tabindex="'.strval($j+8).'" type="submit" value="'._('Add to Sale').'" /></td>';
- echo '<td><input type="hidden" name="NextList" value="'.strval($Offset+1).'" /><input tabindex="'.strval($j+9).'" type="submit" name="Next" value="'._('Next').'" /></td></tr>';
- echo '</table></form>';
- echo $jsCall;
-
+ echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items' . $identifier]->CustRef.'" />
+ <input type="hidden" name="Comments" value="'.$_SESSION['Items' . $identifier]->Comments.'" />
+ <input type="hidden" name="DeliverTo" value="'.$_SESSION['Items' . $identifier]->DeliverTo.'" />
+ <input type="hidden" name="PhoneNo" value="'.$_SESSION['Items' . $identifier]->PhoneNo.'" />
+ <input type="hidden" name="Email" value="'.$_SESSION['Items' . $identifier]->Email.'" />
+ <tr>
+ <td><input type="hidden" name="previous" value="'.strval($Offset-1).'" />
+ <input tabindex="'.strval($j+7).'" type="submit" name="Prev" value="'._('Prev').'" /></td>
+ <td style="text-align:center" colspan="6"><input type="hidden" name="SelectingReturnItems" value="1" />
+ <input tabindex="'.strval($j+8).'" type="submit" value="'._('Add to Sale').'" /></td>
+ <td><input type="hidden" name="NextList" value="'.strval($Offset+1).'" />
+ <input tabindex="'.strval($j+9).'" type="submit" name="Next" value="'._('Next').'" /></td>
+ </tr>
+ </table>
+ </form>';
}#end if SearchResults to show
} /*end of PartSearch options to be displayed */
else { /* show the quick entry form variable */
@@ -1803,11 +1803,11 @@
</tr>';
$ReturnDate = Date($_SESSION['DefaultDateFormat']);
if (count($_SESSION['Items' . $identifier]->LineItems)==0) {
- echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items' . $identifier]->CustRef.'" />';
- echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items' . $identifier]->Comments.'" />';
- echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items' . $identifier]->DeliverTo.'" />';
- echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items' . $identifier]->PhoneNo.'" />';
- echo '<input type="hidden" name="Email" value="'.$_SESSION['Items' . $identifier]->Email.'" />';
+ echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items' . $identifier]->CustRef.'" />
+ <input type="hidden" name="Comments" value="'.$_SESSION['Items' . $identifier]->Comments.'" />
+ <input type="hidden" name="DeliverTo" value="'.$_SESSION['Items' . $identifier]->DeliverTo.'" />
+ <input type="hidden" name="PhoneNo" value="'.$_SESSION['Items' . $identifier]->PhoneNo.'" />
+ <input type="hidden" name="Email" value="'.$_SESSION['Items' . $identifier]->Email.'" />';
}
for ($i=1;$i<=$_SESSION['QuickEntries'];$i++){
@@ -1835,4 +1835,4 @@
}
echo '</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/FixedAssetLocations.php
===================================================================
--- trunk/FixedAssetLocations.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/FixedAssetLocations.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -25,9 +25,9 @@
}
if ($InputError==0) {
$sql="INSERT INTO fixedassetlocations
- VALUES ('".$_POST['LocationID']."',
- '".$_POST['LocationDescription']."',
- '".$_POST['ParentLocationID']."')";
+ VALUES ('".$_POST['LocationID']."',
+ '".$_POST['LocationDescription']."',
+ '".$_POST['ParentLocationID']."')";
$result=DB_query($sql, $db);
}
}
@@ -95,9 +95,9 @@
if (DB_num_rows($result) > 0) {
echo '<table class="selection">
<tr>
- <th>' . _('Location ID') . '</th>
- <th>' . _('Location Description') . '</th>
- <th>' . _('Parent Location') . '</th>
+ <th class="ascending">' . _('Location ID') . '</th>
+ <th class="ascending">' . _('Location Description') . '</th>
+ <th class="ascending">' . _('Parent Location') . '</th>
</tr>';
}
while ($myrow=DB_fetch_array($result)) {
@@ -165,4 +165,4 @@
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/GetStockImage.php
===================================================================
--- trunk/GetStockImage.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/GetStockImage.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -147,7 +147,7 @@
$Title = _('Stock Image Retrieval ....');
include('includes/header.inc');
prnMsg( _('The Image could not be retrieved because it does not exist'), 'error');
- echo '<br /><a href="' .$RootPath .'/index.php?' . SID . '">' . _('Back to the menu'). '</a>';
+ echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu'). '</a>';
include('includes/footer.inc');
exit;
}
@@ -352,4 +352,4 @@
$func($im);
// Destroy image
imagedestroy($im);
-?>
\ No newline at end of file
+?>
Modified: trunk/SelectCustomer.php
===================================================================
--- trunk/SelectCustomer.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/SelectCustomer.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -732,6 +732,5 @@
}
} //end if Extended_CustomerInfo is turned on
} //end if isset($_SESSION['CustomerID']) AND $_SESSION['CustomerID'] != ''
-echo '<script type="text/javascript">defaultControl(document.forms[0].CustCode);</script>';
include('includes/footer.inc');
?>
Modified: trunk/SelectOrderItems.php
===================================================================
--- trunk/SelectOrderItems.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/SelectOrderItems.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -1369,8 +1369,8 @@
if($_SESSION['Items'.$identifier]->DefaultPOLine == 1){
echo '<th>' . _('PO Line') . '</th>';
}
- echo '<th class="ascending" >' . _('Item Code') . '</th>
- <th class="ascending" >' . _('Item Description') . '</th>
+ echo '<th>' . _('Item Code') . '</th>
+ <th>' . _('Item Description') . '</th>
<th>' . _('Quantity') . '</th>
<th>' . _('QOH') . '</th>
<th>' . _('Unit') . '</th>
@@ -1378,10 +1378,10 @@
if (in_array($_SESSION['PageSecurityArray']['OrderEntryDiscountPricing'], $_SESSION['AllowedPageSecurityTokens'])){
echo '<th>' . _('Discount') . '</th>
- <th>' . _('GP %') . '</th>';
+ <th>' . _('GP %') . '</th>';
}
echo '<th>' . _('Total') . '</th>
- <th>' . _('Due Date') . '</th></tr>';
+ <th>' . _('Due Date') . '</th></tr>';
$_SESSION['Items'.$identifier]->total = 0;
$_SESSION['Items'.$identifier]->totalVolume = 0;
@@ -1453,7 +1453,8 @@
if ($_SESSION['AllowOrderLineItemNarrative'] == 1){
echo $RowStarter;
- echo '<td colspan="10">' . _('Narrative') . ':<textarea name="Narrative_' . $OrderLine->LineNumber . '" cols="100%" rows="1" title="' . _('Enter any narrative to describe to the customer the nature of the charge for this line') . '" >' . stripslashes(AddCarriageReturns($OrderLine->Narrative)) . '</textarea><br /></td></tr>';
+ echo '<td colspan="10">' . _('Narrative') . ':<textarea name="Narrative_' . $OrderLine->LineNumber . '" cols="100%" rows="1" title="' . _('Enter any narrative to describe to the customer the nature of the charge for this line') . '" >' . stripslashes(AddCarriageReturns($OrderLine->Narrative)) . '</textarea><br /></td>
+ </tr>';
} else {
echo '<tr>
<td><input type="hidden" name="Narrative" value="" /></td>
@@ -1480,18 +1481,17 @@
$DisplayVolume = locale_number_format($_SESSION['Items'.$identifier]->totalVolume,2);
$DisplayWeight = locale_number_format($_SESSION['Items'.$identifier]->totalWeight,2);
- echo '<table><tr class="EvenTableRows"><td>' . _('Total Weight') . ':</td>
+ echo '<table>
+ <tr class="EvenTableRows"><td>' . _('Total Weight') . ':</td>
<td>' . $DisplayWeight . '</td>
<td>' . _('Total Volume') . ':</td>
<td>' . $DisplayVolume . '</td>
</tr>
- </table>';
-
-
- echo '<br />
+ </table>
+ <br />
<div class="centre">
- <input type="submit" name="Recalculate" value="' . _('Re-Calculate') . '" />
- <input type="submit" name="DeliveryDetails" value="' . _('Enter Delivery Details and Confirm Order') . '" />
+ <input type="submit" name="Recalculate" value="' . _('Re-Calculate') . '" />
+ <input type="submit" name="DeliveryDetails" value="' . _('Enter Delivery Details and Confirm Order') . '" />
</div>
<br />';
} # end of if lines
@@ -1530,18 +1530,17 @@
<div class="page_help_text">' . _('Frequently Ordered Items') . _(', shows the most frequently ordered items in the last 6 months. You can choose from this list, or search further for other items') .
'.</div>
<br />
- <table class="table1">';
-
- echo '<tr>
- <th class="ascending" >' . _('Code') . '</th>
- <th class="ascending" >' . _('Description') . '</th>
- <th>' . _('Units') . '</th>
- <th class="ascending" >' . _('On Hand') . '</th>
- <th class="ascending" >' . _('On Demand') . '</th>
- <th class="ascending" >' . _('On Order') . '</th>
- <th class="ascending" >' . _('Available') . '</th>
- <th class="ascending" >' . _('Quantity') . '</th>
- </tr>';
+ <table class="table1">
+ <tr>
+ <th class="ascending" >' . _('Code') . '</th>
+ <th class="ascending" >' . _('Description') . '</th>
+ <th>' . _('Units') . '</th>
+ <th class="ascending" >' . _('On Hand') . '</th>
+ <th class="ascending" >' . _('On Demand') . '</th>
+ <th class="ascending" >' . _('On Order') . '</th>
+ <th class="ascending" >' . _('Available') . '</th>
+ <th class="ascending" >' . _('Quantity') . '</th>
+ </tr>';
$i=0;
$j=1;
$k=0; //row colour counter
@@ -1628,7 +1627,7 @@
<td class="number">%s</td>
<td class="number">%s</td>
<td class="number">%s</td>
- <td><input class="number" tabindex="%s" type="text" required="required" size="6" name="OrderQty%s" value="0" />
+ <td><input class="number" ' . ($i==0 ? 'autofocus="autofocus"':'') . ' tabindex="%s" type="text" required="required" size="6" name="OrderQty%s" value="0" />
<input type="hidden" name="StockID%s" value="%s" />
</td>
</tr>',
@@ -1645,16 +1644,7 @@
$i,
$i,
$myrow['stockid']);
-
- if ($j==1) {
- $jsCall = '<script type="text/javascript">
- if (document.getElementById("SelectParts")!=null {
- defaultControl(document.SelectParts.itm'.$myrow['stockid'].');
- }
- </script>';
- }
$i++;
- $j++;
#end of page full new headings if
}
#end of while loop for Frequently Ordered Items
@@ -1698,7 +1688,7 @@
}
echo '" /></td>';
- echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="text" autofocus="autofocus" name="StockCode" size="15" maxlength="18" value="';
+ echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="text" ' . (!isset($_POST['PartSearch']) ? 'autofocus="autofocus"' :'') . ' name="StockCode" size="15" maxlength="18" value="';
if (isset($_POST['StockCode'])) {
echo $_POST['StockCode'];
}
@@ -1713,13 +1703,10 @@
echo '<td style="text-align:center" colspan="1"><input tabindex="6" type="submit" name="ChangeCustomer" value="' . _('Change Customer') . '" /></td>
<td style="text-align:center" colspan="1"><input tabindex="7" type="submit" name="SelectAsset" value="' . _('Fixed Asset Disposal') . '" /></td>';
}
- echo '</tr></table><br />';
- echo '</div>';
- if (!isset($_POST['PartSearch'])) {
- echo '<script type="text/javascript">
- defaultControl(document.forms[0].Keywords);
- </script>';
- }
+ echo '</tr>
+ </table>
+ <br />
+ </div>';
if (isset($SearchResult)) {
echo '<br />';
echo '<div class="page_help_text">' . _('Select an item by entering the quantity required. Click Order when ready.') . '</div>';
@@ -1830,7 +1817,7 @@
<td class="number">%s</td>
<td class="number">%s</td>
<td class="number">%s</td>
- <td><input class="number" tabindex="%s" type="text" size="6" name="OrderQty%s" value="0" min="0"/>
+ <td><input class="number" tabindex="%s" type="text" size="6" name="OrderQty%s" ' . ($i==0 ? 'autofocus="autofocus"':'') . ' value="0" min="0"/>
<input type="hidden" name="StockID%s" value="%s" />
</td>
</tr>',
@@ -1847,9 +1834,6 @@
$i,
$myrow['stockid'] );
$i++;
- if ($j==1) {
- $jsCall = '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.itm'.$myrow['stockid'].');}</script>';
- }
$j++;
#end of page full new headings if
}
@@ -1889,46 +1873,59 @@
echo '<td><input type="text" name="part_' . $i . '" size="21" maxlength="20" title="' . _('Enter the item code ordered') . '" /></td>
<td><input class="number" type="text" name="qty_' . $i . '" size="6" maxlength="6" title="' . _('Enter the quantity of the item ordered by the customer') . '" /></td>
<td><input type="text" class="date" name="itemdue_' . $i . '" size="25" maxlength="25"
- alt="'.$_SESSION['DefaultDateFormat'].'" value="' . $DefaultDeliveryDate . '" title="' . _('Enter the date that the customer requires delivery by') . '" /></td></tr>';
+ alt="'.$_SESSION['DefaultDateFormat'].'" value="' . $DefaultDeliveryDate . '" title="' . _('Enter the date that the customer requires delivery by') . '" /></td>
+ </tr>';
}
echo '</table>
- <script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.part_1);}</script>';
-
- echo '<br /><div class="centre"><input type="submit" name="QuickEntry" value="' . _('Quick Entry') . '" />
- <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" /></div>';
-
- echo '</div>
+ <br />
+ <div class="centre">
+ <input type="submit" name="QuickEntry" value="' . _('Quick Entry') . '" />
+ <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" />
+ </div>
+ </div>
</form>';
} elseif (isset($_POST['SelectAsset'])){
- echo '<div class="page_help_text"><b>' . _('Use this screen to select an asset to dispose of to this customer') . '</b></div><br />
+ echo '<div class="page_help_text"><b>' . _('Use this screen to select an asset to dispose of to this customer') . '</b></div>
+ <br />
<table border="1">';
/*do not display colum unless customer requires po line number by sales order line*/
if($_SESSION['Items'.$identifier]->DefaultPOLine ==1){
- echo '<tr><td>' . _('PO Line') . '</td>
- <td><input type="text" name="poline" size="21" maxlength="20" title="' . _('Enter the customer\'s purchase order reference') . '" /></td></tr>';
+ echo '<tr>
+ <td>' . _('PO Line') . '</td>
+ <td><input type="text" name="poline" size="21" maxlength="20" title="' . _('Enter the customer\'s purchase order reference') . '" /></td>
+ </tr>';
}
- echo '<tr><td>' . _('Asset to Dispose Of') . ':</td>
- <td><select name="AssetToDisposeOf">';
+ echo '<tr>
+ <td>' . _('Asset to Dispose Of') . ':</td>
+ <td><select name="AssetToDisposeOf">';
$AssetsResult = DB_query("SELECT assetid, description FROM fixedassets WHERE disposaldate='0000-00-00'",$db);
echo '<option selected="selected" value="NoAssetSelected">' . _('Select Asset To Dispose of From the List Below') . '</option>';
while ($AssetRow = DB_fetch_array($AssetsResult)){
echo '<option value="' . $AssetRow['assetid'] . '">' . $AssetRow['assetid'] . ' - ' . $AssetRow['description'] . '</option>';
}
- echo '</select></td></tr></table>
- <br /><div class="centre"><input type="submit" name="AssetDisposalEntered" value="' . _('Add Asset To Order') . '" />
- <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" /></div>';
+ echo '</select></td>
+ </tr>
+ </table>
+ <br />
+ <div class="centre">
+ <input type="submit" name="AssetDisposalEntered" value="' . _('Add Asset To Order') . '" />
+ <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" />
+ </div>
+ </form>';
- echo '</div></form>';
-
} //end of if it is a Quick Entry screen/part search or asset selection form to display
if ($_SESSION['Items'.$identifier]->ItemsOrdered >=1){
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier .
'" method="post" name="deleteform">';
echo '<div>';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
- echo '<br /><div class="centre"><input type="submit" name="CancelOrder" value="' . _('Cancel Whole Order') . '" onclick="return confirm(\'' . _('Are you sure you wish to cancel this entire order?') . '\');" /></div></form>';
+ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <br />
+ <div class="centre">
+ <input type="submit" name="CancelOrder" value="' . _('Cancel Whole Order') . '" onclick="return confirm(\'' . _('Are you sure you wish to cancel this entire order?') . '\');" />
+ </div>
+ </form>';
}
}#end of else not selecting a customer
Modified: trunk/StockLocTransfer.php
===================================================================
--- trunk/StockLocTransfer.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/StockLocTransfer.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -298,18 +298,15 @@
<td>' . _('Upload CSV file of Transfer Items and Quantites') . ':</td>
<td><input name="SelectedTransferFile" type="file" /></td>
</tr>
- </table>';
+ </table>
+ <br />
+ <table class="selection">
+ <tr>
+ <th>' . _('Item Code'). '</th>
+ <th>' . _('Quantity'). '</th>
+ <th>' . _('Clear All') . ':<input type="checkbox" name="ClearAll" /></th>
+ </tr>';
- echo '<br /><table class="selection">';
-
- $TableHeader = '<tr>
- <th>' . _('Item Code'). '</th>
- <th>' . _('Quantity'). '</th>
- <th>' . _('Clear All') . ':<input type="checkbox" name="ClearAll" /></th>
- </tr>';
- echo $TableHeader;
-
- $k=0; /* page heading row counter */
$j=0; /* row counter for reindexing */
if(isset($_POST['LinesCounter'])){
@@ -320,20 +317,15 @@
if ($_POST['StockID' . $i] ==''){
break;
}
- if ($k==18){
- echo $TableHeader;
- $k=0;
- }
- $k++;
echo '<tr>
- <td><input type="text" name="StockID' . $j .'" size="21" maxlength="20" value="' . $_POST['StockID' . $i] . '" /></td>
- <td><input type="text" name="StockQTY' . $j .'" size="10" maxlength="10" class="number" value="' . locale_number_format($_POST['StockQTY' . $i],'Variable') . '" /></td>
- <td>' . _('Delete') . '<input type="checkbox" name="Delete' . $j .'" /></td>
- </tr>';
+ <td><input type="text" name="StockID' . $j .'" size="21" maxlength="20" value="' . $_POST['StockID' . $i] . '" /></td>
+ <td><input type="text" name="StockQTY' . $j .'" size="10" maxlength="10" class="number" value="' . locale_number_format($_POST['StockQTY' . $i],'Variable') . '" /></td>
+ <td>' . _('Delete') . '<input type="checkbox" name="Delete' . $j .'" /></td>
+ </tr>';
$j++;
}
- }else {
+ } else {
$j = 0;
}
// $i is incremented an extra time, so 9 to get 10...
@@ -347,9 +339,9 @@
$_POST['StockQTY' . $j]=0;
}
echo '<tr>
- <td><input type="text" name="StockID' . $j .'" size="21" maxlength="20" value="' . $_POST['StockID' . $j] . '" /></td>
- <td><input type="text" name="StockQTY' . $j .'" size="10" maxlength="10" class="number" value="' . locale_number_format($_POST['StockQTY' . $j]) . '" /></td>
- </tr>';
+ <td><input type="text" name="StockID' . $j .'" ' . ($j==0 OR $j==$z-9 ? 'autofocus="autofocus"' : '') . ' size="21" maxlength="20" value="' . $_POST['StockID' . $j] . '" /></td>
+ <td><input type="text" name="StockQTY' . $j .'" size="10" maxlength="10" class="number" value="' . locale_number_format($_POST['StockQTY' . $j]) . '" /></td>
+ </tr>';
$j++;
}
@@ -359,13 +351,10 @@
<input type="hidden" name="LinesCounter" value="'. $j .'" />
<input type="submit" name="EnterMoreItems" value="'. _('Add More Items'). '" />
<input type="submit" name="Submit" value="'. _('Create Transfer Shipment'). '" />
- <br />';
-
- echo '<script type="text/javascript">defaultControl(document.forms[0].StockID' . (int)($j-9) . ');</script>';
-
- echo '</div>
- </div>
- </form>';
+ <br />
+ </div>
+ </div>
+ </form>';
include('includes/footer.inc');
}
-?>
\ No newline at end of file
+?>
Modified: trunk/SupplierPriceList.php
===================================================================
--- trunk/SupplierPriceList.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/SupplierPriceList.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -7,15 +7,14 @@
include ('includes/header.inc');
if (isset($_POST['StockSearch'])) {
- echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">';
- echo '<div>';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
- echo '<input type="hidden" value="' . $_POST['SupplierID'] . '" name="SupplierID" />';
-
- echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items'). '</p>';
- echo '<table class="selection"><tr>';
- echo '<td>' . _('In Stock Category') . ':';
- echo '<select name="StockCat">';
+ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">
+ <div>
+ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <input type="hidden" value="' . $_POST['SupplierID'] . '" name="SupplierID" />
+ <p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items'). '</p>
+ <table class="selection">
+ <tr>
+ <td>' . _('In Stock Category') . ':<select name="StockCat">';
if (!isset($_POST['StockCat'])) {
$_POST['StockCat'] = '';
}
@@ -39,23 +38,31 @@
echo '</select></td>';
echo '<td>' . _('Enter partial') . '<b> ' . _('Description') . '</b>:</td><td>';
if (isset($_POST['Keywords'])) {
- echo '<input type="search" name="Keywords" value="' . $_POST['Keywords'] . '" size="34" maxlength="25" />';
+ echo '<input type="search" name="Keywords" value="' . $_POST['Keywords'] . '" autofocus="autofocus" size="34" maxlength="25" />';
} else {
- echo '<input type="search" name="Keywords" size="34" maxlength="25" placeholder="Enter part of the item description" />';
+ echo '<input type="search" name="Keywords" size="34" maxlength="25" autofocus="autofocus" placeholder="Enter part of the item description" />';
}
- echo '</td></tr><tr><td></td>';
- echo '<td><b>' . _('OR') . ' ' . '</b>' . _('Enter partial') . ' <b>' . _('Stock Code') . '</b>:</td>';
- echo '<td>';
+ echo '</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>' . _('OR') . ' ' . '</b>' . _('Enter partial') . ' <b>' . _('Stock Code') . '</b>:</td>
+ <td>';
if (isset($_POST['StockCode'])) {
echo '<input type="text" name="StockCode" value="' . $_POST['StockCode'] . '" size="15" maxlength="18" />';
} else {
echo '<input type="text" name="StockCode" size="15" maxlength="18" />';
}
- echo '</td></tr></table><br />';
- echo '<div class="centre"><input type="submit" name="Search" value="' . _('Search Now') . '" /></div><br />';
- echo '<script type="text/javascript">defaultControl(document.forms[0].StockCode);</script>';
- echo '</div>
- </form>';
+ echo '</td>
+ </tr>
+ </table>
+ <br />
+ <div class="centre">
+ <input type="submit" name="Search" value="' . _('Search Now') . '" />
+ </div>
+ <br />
+ </div>
+ </form>';
include('includes/footer.inc');
exit;
}
@@ -215,10 +222,10 @@
/* display list if there is more than one record */
if (isset($searchresult) AND !isset($_POST['Select'])) {
echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items'). '</p>';
- echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">';
- echo '<div>';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
- echo '<input type="hidden" value="' . $_POST['SupplierID'] . '" name="SupplierID" />';
+ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">
+ <div>
+ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <input type="hidden" value="' . $_POST['SupplierID'] . '" name="SupplierID" />';
$ListCount = DB_num_rows($searchresult);
if ($ListCount > 0) {
// If the user hit the search button and there is more than one item to show
@@ -260,8 +267,8 @@
}
echo '<table class="selection">';
echo'<tr>
- <th>' . _('Code') . '</th>
- <th>' . _('Description') . '</th>
+ <th class="ascending">' . _('Code') . '</th>
+ <th class="ascending">' . _('Description') . '</th>
<th>' . _('Units') . '</th>
</tr>';
$j = 1;
@@ -602,4 +609,4 @@
exit;
}
-?>
\ No newline at end of file
+?>
Modified: trunk/SupplierTenderCreate.php
===================================================================
--- trunk/SupplierTenderCreate.php 2013-08-29 10:43:46 UTC (rev 6311)
+++ trunk/SupplierTenderCreate.php 2013-08-30 21:08:37 UTC (rev 6312)
@@ -421,11 +421,13 @@
/* Item Details
*/
echo '<td valign="top"><table class="selection">';
- echo '<tr><th colspan="6"><h3>' . _('Items in Tender') . '</h3></th></tr>';
echo '<tr>
- ...
[truncated message content] |
|
From: <dai...@us...> - 2013-09-01 10:33:05
|
Revision: 6314
http://sourceforge.net/p/web-erp/reponame/6314
Author: daintree
Date: 2013-09-01 10:32:58 +0000 (Sun, 01 Sep 2013)
Log Message:
-----------
autofocusing
Modified Paths:
--------------
trunk/WorkCentres.php
trunk/Z_MakeNewCompany.php
trunk/build/make_release.sh
trunk/doc/INSTALL.txt
trunk/doc/Manual/ManualInventory.html
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po
trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot
trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo
trunk/locale/en_US.utf8/LC_MESSAGES/messages.po
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.po
trunk/sql/mysql/coa/weberp-demo.sql
trunk/sql/mysql/coa/weberp-new.sql
Removed Paths:
-------------
trunk/sql/mysql/weberp-demo.sql
trunk/sql/mysql/weberp-new.sql
Modified: trunk/WorkCentres.php
===================================================================
--- trunk/WorkCentres.php 2013-08-31 14:49:20 UTC (rev 6313)
+++ trunk/WorkCentres.php 2013-09-01 10:32:58 UTC (rev 6314)
@@ -203,7 +203,7 @@
echo '<table class="selection">
<tr>
<td>' . _('Work Centre Code') . ':</td>
- <td><input type="text" name="Code" pattern="[^&+-]{2,}" required="required" title="'._('The code should be at least 2 characters and no illegal characters allowed').'" size="6" maxlength="5" value="' . $_POST['Code'] . '" placeholder="'._('More than 2 legal characters').'" /></td>
+ <td><input type="text" name="Code" pattern="[^&+-]{2,}" required="required" autofocus="autofocus" title="'._('The code should be at least 2 characters and no illegal characters allowed').'" size="6" maxlength="5" value="' . $_POST['Code'] . '" placeholder="'._('More than 2 legal characters').'" /></td>
</tr>';
}
@@ -217,9 +217,10 @@
}
echo '<tr>
<td>' . _('Work Centre Description') . ':</td>
- <td><input type="text" pattern="[^&+-]{3,}" required="required" title="'._('The Work Center should be more than 3 characters and no illegal characters allowed').'" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" placeholder="'._('More than 3 legal characters').'" /></td>
+ <td><input type="text" pattern="[^&+-]{3,}" required="required" title="'._('The Work Center should be more than 3 characters and no illegal characters allowed').'" name="Description" ' . (isset($SelectedWC)? 'autofocus="autofocus"': '') . ' size="21" maxlength="20" value="' . $_POST['Description'] . '" placeholder="'._('More than 3 legal characters').'" /></td>
</tr>
- <tr><td>' . _('Location') . ':</td>
+ <tr>
+ <td>' . _('Location') . ':</td>
<td><select name="Location">';
while ($myrow = DB_fetch_array($result)) {
@@ -273,20 +274,12 @@
echo '</td>
</tr>
- </table>';
-
-echo '<br />
+ </table>
+ <br />
<div class="centre">
<input type="submit" name="submit" value="' . _('Enter Information') . '" />
- </div>';
-
-if (!isset($_GET['SelectedWC']) or $_GET['SelectedWC']=='') {
- echo '<script type="text/javascript">defaultControl(document.forms[0].Code);</script>';
-} else {
- echo '<script type="text/javascript">defaultControl(document.forms[0].Description);</script>';
-}
-
-echo '</div>
+ </div>
+ </div>
</form>';
include('includes/footer.inc');
?>
Modified: trunk/Z_MakeNewCompany.php
===================================================================
--- trunk/Z_MakeNewCompany.php 2013-08-31 14:49:20 UTC (rev 6313)
+++ trunk/Z_MakeNewCompany.php 2013-09-01 10:32:58 UTC (rev 6314)
@@ -81,14 +81,14 @@
}
}
$db = pg_connect( $PgConnStr );
- $SQLScriptFile = file('./sql/pg/weberp-new.psql');
+ $SQLScriptFile = file('./sql/pg/coa/weberp-new.psql');
} elseif ($DBType =='mysql') { //its a mysql db < 4.1
mysql_select_db($_POST['NewDatabase'],$db);
- $SQLScriptFile = file('./sql/mysql/weberp-new.sql');
+ $SQLScriptFile = file('./sql/mysql/coa/weberp-new.sql');
} elseif ($DBType =='mysqli') { //its a mysql db using the >4.1 library functions
mysqli_select_db($db,$_POST['NewDatabase']);
- $SQLScriptFile = file('./sql/mysql/weberp-new.sql');
+ $SQLScriptFile = file('./sql/mysql/coa/weberp-new.sql');
}
$ScriptFileEntries = sizeof($SQLScriptFile);
@@ -250,4 +250,4 @@
echo '</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/build/make_release.sh
===================================================================
--- trunk/build/make_release.sh 2013-08-31 14:49:20 UTC (rev 6313)
+++ trunk/build/make_release.sh 2013-09-01 10:32:58 UTC (rev 6314)
@@ -75,9 +75,9 @@
mysql -u$MYSQL_USER -p$MYSQL_PWD < $BASE_DIR/build/TruncateAuditTrail.sql
-echo "SET FOREIGN_KEY_CHECKS = 0;" > $BASE_DIR/sql/mysql/weberp-new.sql
+echo "SET FOREIGN_KEY_CHECKS = 0;" > $BASE_DIR/sql/mysql/coa/weberp-new.sql
-mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --create-options --skip-set-charset --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --ignore-table=weberpdemo.buckets --no-data weberpdemo >> $BASE_DIR/sql/mysql/weberp-new.sql
+mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --create-options --skip-set-charset --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --ignore-table=weberpdemo.buckets --no-data weberpdemo >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --no-create-info weberpdemo \
accountgroups \
@@ -108,26 +108,26 @@
securitytokens \
securityroles \
accountsection \
- > $BASE_DIR/sql/mysql/weberp-base.sql
+ > $BASE_DIR/sql/mysql/coa/weberp-base.sql
-mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --no-create-info weberpdemo > $BASE_DIR/sql/mysql/weberp-demo_data.sql
+mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --no-create-info weberpdemo > $BASE_DIR/sql/mysql/coa/weberp-demo_data.sql
-rm $BASE_DIR/sql/mysql/weberp-demo.sql
-echo "CREATE DATABASE IF NOT EXISTS weberpdemo;" > $BASE_DIR/sql/mysql/weberp-demo.sql
-echo "USE weberpdemo;" >> $BASE_DIR/sql/mysql/weberp-demo.sql
+rm $BASE_DIR/sql/mysql/coa/weberp-demo.sql
+echo "CREATE DATABASE IF NOT EXISTS weberpdemo;" > $BASE_DIR/sql/mysql/coa/weberp-demo.sql
+echo "USE weberpdemo;" >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
-cat $BASE_DIR/sql/mysql/weberp-new.sql >> $BASE_DIR/sql/mysql/weberp-demo.sql
+cat $BASE_DIR/sql/mysql/coa/weberp-new.sql >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
-cat $BASE_DIR/sql/mysql/weberp-base.sql >> $BASE_DIR/sql/mysql/weberp-new.sql
-cat $BASE_DIR/sql/mysql/weberp-demo_data.sql >> $BASE_DIR/sql/mysql/weberp-demo.sql
-rm $BASE_DIR/sql/mysql/weberp-demo_data.sql
-rm $BASE_DIR/sql/mysql/weberp-base.sql
+cat $BASE_DIR/sql/mysql/coa/weberp-base.sql >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
+cat $BASE_DIR/sql/mysql/coa/weberp-demo_data.sql >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
+rm $BASE_DIR/sql/mysql/coa/weberp-demo_data.sql
+rm $BASE_DIR/sql/mysql/coa/weberp-base.sql
-echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/weberp-new.sql
-echo "UPDATE systypes SET typeno=0;" >> $BASE_DIR/sql/mysql/weberp-new.sql
-echo "INSERT INTO shippers VALUES (1,'Default Shipper',0);" >> $BASE_DIR/sql/mysql/weberp-new.sql
-echo "UPDATE config SET confvalue='1' WHERE confname='Default_Shipper';" >> $BASE_DIR/sql/mysql/weberp-new.sql
-echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/weberp-demo.sql
+echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
+echo "UPDATE systypes SET typeno=0;" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
+echo "INSERT INTO shippers VALUES (1,'Default Shipper',0);" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
+echo "UPDATE config SET confvalue='1' WHERE confname='Default_Shipper';" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
+echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
rm $OUTPUT_DIR/webERP.zip
Modified: trunk/doc/INSTALL.txt
===================================================================
--- trunk/doc/INSTALL.txt 2013-08-31 14:49:20 UTC (rev 6313)
+++ trunk/doc/INSTALL.txt 2013-09-01 10:32:58 UTC (rev 6314)
@@ -251,7 +251,7 @@
config.php contains a series of user defined variables that determine how the system behaves. Critically it contains the user and password of the database connection and the type of database server being used. There is no going forward without the system being provided with this data. It is important to ensure there are no trailing characters at the end of this file - this is a common installation pitfall since some editors add a character at the end of the file.
-The contents of the config.php file appears as follows for reference purposes. The actual file config.php under the webERP directory with all the other scripts must be edited and saved. As you can see the file is well commented, the critical items are the computer $host, the $DBType, the $DBUser and the $DBPassword - other variables can in most cases be left at their defaults. Note that the sha1 encryption requires the PHP version 4.3 or greater - if you are using a prior version of php - not recommended - you could try md5 encryption. Lines commencing with // are comments and not interpreted by PHP. (Note: In prior versions a variable $DatabaseName used to be required in config.php this is no longer required as the webERP database names available are derived from the directory names under webERP/companies/ - when you create a new database using weberp-new.sql you must also copy the directory structure for the company weberp to another directory under webERP/companies with the same name as the database created. If you are using the demo data and the webERP/sql/mysql/weberp-demo.sql script then the database is created as weberp and the company directory weberp already exists under webERP/companies)
+The contents of the config.php file appears as follows for reference purposes. The actual file config.php under the webERP directory with all the other scripts must be edited and saved. As you can see the file is well commented, the critical items are the computer $host, the $DBType, the $DBUser and the $DBPassword - other variables can in most cases be left at their defaults. Note that the sha1 encryption requires the PHP version 4.3 or greater - if you are using a prior version of php - not recommended - you could try md5 encryption. Lines commencing with // are comments and not interpreted by PHP. (Note: In prior versions a variable $DatabaseName used to be required in config.php this is no longer required as the webERP database names available are derived from the directory names under webERP/companies/ - when you create a new database using weberp-new.sql you must also copy the directory structure for the company weberp to another directory under webERP/companies with the same name as the database created. If you are using the demo data and the webERP/sql/mysql/coa/weberp-demo.sql script then the database is created as weberp and the company directory weberp already exists under webERP/companies)
// User configurable variables
@@ -358,4 +358,4 @@
A copy of the GNU General Public License is included in the doc directory along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-Copyright weberp.org 2010 - Contact: in...@we...
\ No newline at end of file
+Copyright weberp.org 2010 - Contact: in...@we...
Modified: trunk/doc/Manual/ManualInventory.html
===================================================================
--- trunk/doc/Manual/ManualInventory.html 2013-08-31 14:49:20 UTC (rev 6313)
+++ trunk/doc/Manual/ManualInventory.html 2013-09-01 10:32:58 UTC (rev 6314)
@@ -53,6 +53,8 @@
<li>Any number of custom fields can be added specific to each inventory category</li>
<li>Internal stock requests with departmental authorisation</li>
+
+ <li>The languages for which item descriptions are to be maintained can be configured. Invoices and credit notes can be produced in the language preferred by the customer</li>
</ul><!-- Help Begin: Stocks -->
<div class="floatright">
@@ -131,6 +133,7 @@
<h3>Part Descriptions</h3>
<p>A description of the stock item - can be up to 50 characters long. A description is required for each stock item. This description is used in the look up boxes provided each time the stock item is invoiced, credited or adjusted. There is also the facility to enter long descriptions for each part which show on the screens that customers could access to place orders. This field allows very long descriptions or even features and benefits to be described for the item. The intention for this field is that it could be used for producing a company catalogue or for online ordering by customers who may need more information about a product. It is only the description (short) that displays on invoices and credit notes.</p>
+ <p>The description translations can be maintained within the same parameters above. The translations that can be maintained are set in the system configuration screen. Any number of translations can be maintained. These translations are used to print on customer invoices if the customer is set up to use one of the languages for which translations are maintained. If not translation is available then the fall back is to the default description.</p>
<h3>Categories</h3>
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-08-31 14:49:20 UTC (rev 6313)
+++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-09-01 10:32:58 UTC (rev 6314)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: web-erp\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-08-24 10:31+1200\n"
+"POT-Creation-Date: 2013-09-01 19:22+1200\n"
"PO-Revision-Date: 2013-06-01 11:19-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: Arabic <ar...@li...>\n"
@@ -236,9 +236,9 @@
#: AddCustomerTypeNotes.php:94 AgedDebtors.php:448 AgedSuppliers.php:276
#: Areas.php:144 AuditTrail.php:11 BankReconciliation.php:17
#: BOMExtendedQty.php:252 BOMIndented.php:246 BOMIndentedReverse.php:235
-#: BOMInquiry.php:188 BOMListing.php:109 BOMs.php:231 BOMs.php:864
+#: BOMInquiry.php:188 BOMListing.php:109 BOMs.php:231 BOMs.php:862
#: COGSGLPostings.php:19 CompanyPreferences.php:102 CounterReturns.php:1605
-#: CounterSales.php:2092 CounterSales.php:2218 Credit_Invoice.php:272
+#: CounterSales.php:2092 CounterSales.php:2215 Credit_Invoice.php:272
#: CreditStatus.php:21 Currencies.php:31 CustEDISetup.php:17
#: DailyBankTransactions.php:15 DebtorsAtPeriodEnd.php:129
#: DiscountCategories.php:12 DiscountCategories.php:140 DiscountMatrix.php:16
@@ -261,22 +261,22 @@
#: SelectCompletedOrder.php:11 SelectContract.php:69 SelectCreditItems.php:220
#: SelectCreditItems.php:291 SelectCustomer.php:265 SelectGLAccount.php:65
#: SelectOrderItems.php:609 SelectOrderItems.php:1526
-#: SelectOrderItems.php:1665 SelectProduct.php:525 SelectSalesOrder.php:563
+#: SelectOrderItems.php:1655 SelectProduct.php:525 SelectSalesOrder.php:563
#: SelectSupplier.php:14 SelectSupplier.php:217 SelectWorkOrder.php:9
#: SelectWorkOrder.php:169 SellThroughSupport.php:229 ShipmentCosting.php:11
#: Shipments.php:17 Shippers.php:123 Shippers.php:160 Shipt_Select.php:8
#: StockLocMovements.php:14 StockLocStatus.php:28
-#: StockSerialItemResearch.php:30 SupplierPriceList.php:15
-#: SupplierPriceList.php:217 SupplierPriceList.php:387
-#: SupplierPriceList.php:391 SupplierPriceList.php:442
-#: SupplierPriceList.php:492 Suppliers.php:305 SupplierTenderCreate.php:546
-#: SupplierTenderCreate.php:654 SupplierTenders.php:322
+#: StockSerialItemResearch.php:30 SupplierPriceList.php:14
+#: SupplierPriceList.php:224 SupplierPriceList.php:394
+#: SupplierPriceList.php:398 SupplierPriceList.php:449
+#: SupplierPriceList.php:499 Suppliers.php:305 SupplierTenderCreate.php:551
+#: SupplierTenderCreate.php:659 SupplierTenders.php:322
#: SupplierTenders.php:388 SupplierTransInquiry.php:10 TaxGroups.php:15
#: TaxProvinces.php:11 TopItems.php:114 UnitsOfMeasure.php:10
#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:162
#: WorkOrderCosting.php:22 WorkOrderEntry.php:11 WorkOrderIssue.php:22
#: WorkOrderReceive.php:31 WorkOrderStatus.php:58 WWW_Access.php:11
-#: WWW_Users.php:36 Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:238
+#: WWW_Users.php:36 Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:236
msgid "Search"
msgstr "إبحث"
@@ -299,7 +299,7 @@
msgstr ""
#: AccountGroups.php:310 AccountGroups.php:313 AccountGroups.php:448
-#: AccountGroups.php:450 BOMs.php:124 BOMs.php:775 BOMs.php:777
+#: AccountGroups.php:450 BOMs.php:124 BOMs.php:774 BOMs.php:776
#: CompanyPreferences.php:426 CompanyPreferences.php:428
#: CompanyPreferences.php:441 CompanyPreferences.php:443
#: CompanyPreferences.php:456 CompanyPreferences.php:458
@@ -346,8 +346,8 @@
#: AccountGroups.php:316 AccountGroups.php:453 AccountGroups.php:455
#: BankAccounts.php:210 BankAccounts.php:379 BankAccounts.php:381
-#: BankAccounts.php:385 BankAccounts.php:393 BOMs.php:126 BOMs.php:774
-#: BOMs.php:778 CompanyPreferences.php:425 CompanyPreferences.php:429
+#: BankAccounts.php:385 BankAccounts.php:393 BOMs.php:126 BOMs.php:773
+#: BOMs.php:777 CompanyPreferences.php:425 CompanyPreferences.php:429
#: CompanyPreferences.php:440 CompanyPreferences.php:444
#: CompanyPreferences.php:455 CompanyPreferences.php:459
#: ContractCosting.php:200 Currencies.php:334 Currencies.php:503
@@ -444,7 +444,7 @@
#: PaymentMethods.php:209 Payments.php:1093 PaymentTerms.php:206
#: PcAssignCashToTab.php:281 PcClaimExpensesFromTab.php:277 PcExpenses.php:227
#: PcExpensesTypeTab.php:187 PcTabs.php:237 PcTypeTabs.php:181
-#: PO_AuthorisationLevels.php:153 PO_Items.php:768 Prices_Customer.php:281
+#: PO_AuthorisationLevels.php:153 PO_Items.php:770 Prices_Customer.php:281
#: Prices.php:250 PurchData.php:314 PurchData.php:721
#: SalesAnalReptCols.php:299 SalesAnalRepts.php:307 SalesCategories.php:273
#: SalesGLPostings.php:138 SalesGLPostings.php:254 SalesPeople.php:233
@@ -453,10 +453,10 @@
#: SelectCustomer.php:682 SelectCustomer.php:706 SelectCustomer.php:723
#: SelectOrderItems.php:1441 SellThroughSupport.php:299 Shipments.php:440
#: Shippers.php:145 SpecialOrder.php:667 StockCategories.php:268
-#: StockCategories.php:613 StockLocTransfer.php:332 SuppContractChgs.php:99
-#: SuppCreditGRNs.php:112 SuppFixedAssetChgs.php:90 SuppInvGRNs.php:147
+#: StockCategories.php:613 StockLocTransfer.php:324 SuppContractChgs.php:99
+#: SuppCreditGRNs.php:117 SuppFixedAssetChgs.php:90 SuppInvGRNs.php:151
#: SupplierContacts.php:166 SupplierTenderCreate.php:417
-#: SupplierTenderCreate.php:445 SupplierTypes.php:191 SuppShiptChgs.php:90
+#: SupplierTenderCreate.php:447 SupplierTypes.php:191 SuppShiptChgs.php:90
#: SuppTransGLAnalysis.php:126 TaxAuthorities.php:175 TaxCategories.php:183
#: TaxGroups.php:189 TaxProvinces.php:181 UnitsOfMeasure.php:186
#: WorkCentres.php:142 WOSerialNos.php:326 WWW_Access.php:127
@@ -530,7 +530,7 @@
#: AccountGroups.php:465 AccountSections.php:263 AddCustomerContacts.php:260
#: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:229
-#: BankAccounts.php:399 BOMs.php:791 COGSGLPostings.php:365
+#: BankAccounts.php:399 BOMs.php:790 COGSGLPostings.php:365
#: CreditStatus.php:259 Currencies.php:513 CustLoginSetup.php:273
#: Departments.php:258 DiscountMatrix.php:142 EDIMessageFormat.php:248
#: FixedAssetCategories.php:350 FixedAssetLocations.php:161
@@ -693,7 +693,7 @@
#: SupplierContacts.php:156 SupplierContacts.php:277 UserSettings.php:185
#: WWW_Users.php:283 includes/PDFPickingListHeader.inc:25
#: includes/PDFStatementPageHeader.inc:67 includes/PDFTransPageHeader.inc:82
-#: includes/PDFTransPageHeaderPortrait.inc:109
+#: includes/PDFTransPageHeaderPortrait.inc:111
#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:296
#: ../webSHOP/Register.php:595
msgid "Email"
@@ -731,7 +731,7 @@
#: SelectCustomer.php:425 SelectOrderItems.php:646
#: SupplierTenderCreate.php:390 includes/PDFStatementPageHeader.inc:63
#: includes/PDFTransPageHeader.inc:81
-#: includes/PDFTransPageHeaderPortrait.inc:105 ../webSHOP/Checkout.php:387
+#: includes/PDFTransPageHeaderPortrait.inc:107 ../webSHOP/Checkout.php:387
#: ../webSHOP/Register.php:255 ../webSHOP/Register.php:723
msgid "Phone"
msgstr ""
@@ -772,8 +772,8 @@
#: AddCustomerNotes.php:117 AddCustomerNotes.php:222
#: AddCustomerTypeNotes.php:111 AddCustomerTypeNotes.php:211
#: BankMatching.php:278 BankReconciliation.php:212 BankReconciliation.php:289
-#: ContractCosting.php:177 CustomerAllocations.php:340
-#: CustomerAllocations.php:370 CustomerInquiry.php:204
+#: ContractCosting.php:177 CustomerAllocations.php:334
+#: CustomerAllocations.php:364 CustomerInquiry.php:204
#: CustomerTransInquiry.php:106 GLAccountInquiry.php:174
#: GLAccountReport.php:343 GLTransInquiry.php:42 MRPCalendar.php:219
#: PaymentAllocations.php:66 PcAssignCashToTab.php:238
@@ -789,7 +789,7 @@
#: includes/PDFQuotationPortraitPageHeader.inc:88
#: includes/PDFStatementPageHeader.inc:169 includes/PDFTaxPageHeader.inc:36
#: includes/PDFTransPageHeader.inc:48
-#: includes/PDFTransPageHeaderPortrait.inc:58
+#: includes/PDFTransPageHeaderPortrait.inc:60
msgid "Date"
msgstr ""
@@ -916,7 +916,7 @@
#: PDFSellThroughSupportClaim.php:17 PDFStockCheckComparison.php:33
#: PDFStockCheckComparison.php:59 PDFStockCheckComparison.php:264
#: ReorderLevel.php:60 SelectAsset.php:39 SelectProduct.php:43
-#: StockCheck.php:65 StockCheck.php:139 SupplierTenderCreate.php:661
+#: StockCheck.php:65 StockCheck.php:139 SupplierTenderCreate.php:666
#: SupplierTenders.php:397 SuppPriceList.php:138
#: includes/PDFPaymentRun_PymtFooter.php:152
msgid "Problem Report"
@@ -1008,9 +1008,9 @@
#: SellThroughSupport.php:97 SMTPServer.php:62 StockCheck.php:224
#: StockCostUpdate.php:78 StockCostUpdate.php:88 StockLocStatus.php:164
#: StockMovements.php:91 StockQuantityByDate.php:97 StockReorderLevel.php:41
-#: StockStatus.php:310 StockTransfers.php:203 StockUsageGraph.php:53
+#: StockStatus.php:312 StockTransfers.php:203 StockUsageGraph.php:53
#: StockUsage.php:139 SupplierInquiry.php:78 SupplierInquiry.php:100
-#: SupplierInquiry.php:136 SupplierInquiry.php:192 SupplierPriceList.php:375
+#: SupplierInquiry.php:136 SupplierInquiry.php:192 SupplierPriceList.php:382
#: SupplierTransInquiry.php:97 SuppPaymentRun.php:114 SuppPaymentRun.php:188
#: SuppPaymentRun.php:219 WorkOrderCosting.php:429 WorkOrderReceive.php:292
#: WOSerialNos.php:49 Z_ChangeBranchCode.php:105 Z_ChangeCustomerCode.php:91
@@ -1292,8 +1292,8 @@
msgstr ""
#: AuditTrail.php:55 AuditTrail.php:69 ContractBOM.php:306
-#: CounterReturns.php:1613 CounterReturns.php:1616 CounterSales.php:2224
-#: CounterSales.php:2227 CustomerTransInquiry.php:36
+#: CounterReturns.php:1613 CounterReturns.php:1616 CounterSales.php:2223
+#: CounterSales.php:2226 CustomerTransInquiry.php:36
#: DailyBankTransactions.php:72 DailySalesInquiry.php:46
#: DailySalesInquiry.php:48 FixedAssetRegister.php:59
#: FixedAssetRegister.php:68 InventoryQuantities.php:168
@@ -1301,23 +1301,23 @@
#: MRPReport.php:524 MRPReport.php:526 MRPReschedules.php:145
#: NoSalesItems.php:22 NoSalesItems.php:48 NoSalesItems.php:68
#: NoSalesItems.php:70 PDFPeriodStockTransListing.php:58 PDFPriceList.php:198
-#: PO_Items.php:1106 POReport.php:1586 ReorderLevel.php:212
+#: PO_Items.php:1108 POReport.php:1586 ReorderLevel.php:212
#: ReorderLevel.php:214 ReorderLevel.php:244 ReorderLevel.php:246
#: SalesGraph.php:102 SalesGraph.php:104 SalesGraph.php:124 SalesGraph.php:126
#: SalesGraph.php:148 SalesGraph.php:150 SalesGraph.php:184
#: SalesInquiry.php:1091 SalesInquiry.php:1154 SelectCreditItems.php:986
-#: SelectOrderItems.php:1673 SelectOrderItems.php:1676 SelectProduct.php:533
+#: SelectOrderItems.php:1663 SelectOrderItems.php:1666 SelectProduct.php:533
#: SelectProduct.php:535 StockDispatch.php:82 StockDispatch.php:393
#: StockDispatch.php:395 StockLocStatus.php:71 StockLocStatus.php:73
#: StockLocStatus.php:91 StockLocStatus.php:96 StockLocStatus.php:101
-#: StockLocStatus.php:106 StockQuantityByDate.php:25 SupplierPriceList.php:23
-#: SupplierPriceList.php:25 SupplierTenderCreate.php:673
-#: SupplierTenderCreate.php:675 SupplierTenders.php:409
+#: StockLocStatus.php:106 StockQuantityByDate.php:25 SupplierPriceList.php:22
+#: SupplierPriceList.php:24 SupplierTenderCreate.php:678
+#: SupplierTenderCreate.php:680 SupplierTenders.php:409
#: SupplierTenders.php:411 SupplierTransInquiry.php:31
#: SystemParameters.php:1038 SystemParameters.php:1044
#: SystemParameters.php:1050 SystemParameters.php:1056
#: SystemParameters.php:1062 TopItems.php:29 TopItems.php:45 TopItems.php:67
-#: TopItems.php:69 WorkOrderEntry.php:604 WorkOrderEntry.php:607
+#: TopItems.php:69 WorkOrderEntry.php:603 WorkOrderEntry.php:606
#: WorkOrderIssue.php:662 WorkOrderIssue.php:665
msgid "All"
msgstr ""
@@ -1330,7 +1330,7 @@
msgid "Containing text"
msgstr ""
-#: AuditTrail.php:90 InternalStockRequest.php:591 MRPReport.php:778
+#: AuditTrail.php:90 InternalStockRequest.php:590 MRPReport.php:779
#: PO_SelectPurchOrder.php:432 SelectContract.php:184 SelectProduct.php:806
msgid "View"
msgstr ""
@@ -1344,7 +1344,7 @@
msgstr ""
#: AuditTrail.php:177 BankReconciliation.php:213 BankReconciliation.php:290
-#: CustomerAllocations.php:368 CustomerInquiry.php:202
+#: CustomerAllocations.php:362 CustomerInquiry.php:202
#: CustomerPurchases.php:68 CustomerTransInquiry.php:25
#: CustomerTransInquiry.php:104 CustWhereAlloc.php:21 CustWhereAlloc.php:111
#: DailyBankTransactions.php:127 GLAccountInquiry.php:172
@@ -1536,7 +1536,7 @@
msgid "Bank Address"
msgstr ""
-#: BankAccounts.php:196 Currencies.php:446 CustomerAllocations.php:343
+#: BankAccounts.php:196 Currencies.php:446 CustomerAllocations.php:337
#: CustomerReceipt.php:803 CustomerTransInquiry.php:114 OffersReceived.php:112
#: PcReportTab.php:276 PcTabs.php:208 PcTabs.php:355
#: PO_AuthorisationLevels.php:126 PO_AuthorisationLevels.php:210
@@ -1545,8 +1545,8 @@
#: PricesByCost.php:282 Prices.php:220 Prices.php:296 PurchData.php:276
#: PurchData.php:471 PurchData.php:612 SelectSupplier.php:279
#: Sell...
[truncated message content] |
|
From: <ice...@us...> - 2013-09-01 15:13:11
|
Revision: 6316
http://sourceforge.net/p/web-erp/reponame/6316
Author: icedlava
Date: 2013-09-01 15:13:06 +0000 (Sun, 01 Sep 2013)
Log Message:
-----------
Update from 'inc tax' to 'ex tax' values in confirmation and invoice page.
Fix typos.
Modified Paths:
--------------
trunk/ConfirmDispatch_Invoice.php
trunk/DeliveryDetails.php
trunk/includes/GetSalesTransGLCodes.inc
Modified: trunk/ConfirmDispatch_Invoice.php
===================================================================
--- trunk/ConfirmDispatch_Invoice.php 2013-09-01 10:47:27 UTC (rev 6315)
+++ trunk/ConfirmDispatch_Invoice.php 2013-09-01 15:13:06 UTC (rev 6316)
@@ -213,7 +213,7 @@
} else { /*end if the order was returned sucessfully */
- echo '<br />' .
+ echo '<br />' .
prnMsg( _('This order item could not be retrieved. Please select another order'), 'warn');
include ('includes/footer.inc');
exit;
@@ -489,11 +489,11 @@
AND (!isset($_SESSION['Items'.$identifier]->FreightCost)
OR $_POST['ChargeFreightCost']==0)) {
- echo '<td colspan="2" class="number">' . _('Charge Freight Cost inc Tax') . '</td>
+ echo '<td colspan="2" class="number">' . _('Charge Freight Cost ex Tax') . '</td>
<td><input tabindex="'.$j.'" type="text" required="required" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0" /></td>';
$_SESSION['Items'.$identifier]->FreightCost=0;
} else {
- echo '<td colspan="2" class="number">' . _('Charge Freight Cost inc Tax') . '</td>';
+ echo '<td colspan="2" class="number">' . _('Charge Freight Cost ex Tax') . '</td>';
if (isset($_POST['ProcessInvoice'])) {
echo '<td class="number">' . locale_number_format($_SESSION['Items'.$identifier]->FreightCost,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>';
} else {
@@ -1668,7 +1668,7 @@
<td>' . _('No Of Packages in Delivery'). ':</td>
<td><input tabindex="'.$j.'" type="number" maxlength="6" size="6" class="integer" name="Packages" value="' . $_POST['Packages'] . '" /></td>
</tr>';
-
+
$j++;
echo '<tr>
<td>' . _('Action For Balance'). ':</td>
Modified: trunk/DeliveryDetails.php
===================================================================
--- trunk/DeliveryDetails.php 2013-09-01 10:47:27 UTC (rev 6315)
+++ trunk/DeliveryDetails.php 2013-09-01 15:13:06 UTC (rev 6316)
@@ -118,15 +118,15 @@
if ($InputErrors==0){
if ($_SESSION['DoFreightCalc']==True){
- list ($_POST['FreightCost'], $BestShipper) = CalcFreightCost($_SESSION['Items'.$identifier]->total,
- $_POST['BrAdd2'],
- $_POST['BrAdd3'],
- $_POST['BrAdd4'],
- $_POST['BrAdd5'],
- $_POST['BrAdd6'],
- $_SESSION['Items'.$identifier]->totalVolume,
- $_SESSION['Items'.$identifier]->totalWeight,
- $_SESSION['Items'.$identifier]->Location,
+ list ($_POST['FreightCost'], $BestShipper) = CalcFreightCost($_SESSION['Items'.$identifier]->total,
+ $_POST['BrAdd2'],
+ $_POST['BrAdd3'],
+ $_POST['BrAdd4'],
+ $_POST['BrAdd5'],
+ $_POST['BrAdd6'],
+ $_SESSION['Items'.$identifier]->totalVolume,
+ $_SESSION['Items'.$identifier]->totalWeight,
+ $_SESSION['Items'.$identifier]->Location,
$_SESSION['Items'.$identifier]->DefaultCurrency,
$db);
if ( !empty($BestShipper) ){
@@ -571,14 +571,14 @@
//Send email to the Factory Manager
if($_SESSION['SmtpSetting']==0){
mail($_SESSION['FactoryManagerEmail'],$EmailSubject,$FactoryManagerEmail);
-
+
}else{
include('includes/htmlMimeMail.php');
$mail = new htmlMimeMail();
$mail->setSubject($EmailSubject);
$result = SendmailBySmtp($mail,array($_SESSION['FactoryManagerEmail']));
}
-
+
} //end if with this sales order there is a shortfall of stock - need to create the WO
}//end if auto create WOs in on
} /* end inserted line items into sales order details */
@@ -1081,7 +1081,7 @@
}
echo '</select></td>
</tr>';
-
+
echo' <tr>
<td>' . _('Contact Phone Number') .':</td>
<td><input type="tel" size="25" maxlength="25" required="required" name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" title="' . _('Enter the telephone number of the contact at the delivery address.') . '" /></td>
@@ -1153,7 +1153,7 @@
}
echo '<tr>
- <td>' . _('Charge Freight Cost inc tax') .':</td>
+ <td>' . _('Charge Freight Cost ex tax') .':</td>
<td><input type="text" class="number" size="10" maxlength="12" name="FreightCost" value="' . $_SESSION['Items'.$identifier]->FreightCost . '" /></td>';
if ($_SESSION['DoFreightCalc']==true){
Modified: trunk/includes/GetSalesTransGLCodes.inc
===================================================================
--- trunk/includes/GetSalesTransGLCodes.inc 2013-09-01 10:47:27 UTC (rev 6315)
+++ trunk/includes/GetSalesTransGLCodes.inc 2013-09-01 15:13:06 UTC (rev 6316)
@@ -14,7 +14,7 @@
/*Get the StockCategory for this item */
- $SQL = "SELECT categoryid` FROM stockmaster WHERE stockid='" . $StockID . "'";
+ $SQL = "SELECT categoryid FROM stockmaster WHERE stockid='" . $StockID . "'";
$Result=DB_query($SQL,$db);
$myrow = DB_fetch_row($Result);
$StockCategory = $myrow[0];
@@ -69,7 +69,7 @@
DB_free_result($Result);
$SQL = "SELECT glcode FROM cogsglpostings
WHERE area = 'AN'
- AND stkcat = = '" . $StockCategory . "'
+ AND stkcat = '" . $StockCategory . "'
AND salestype = '" . $SalesType . "'";
$Result = DB_query($SQL,$db,$ErrMsg,$DbgMsg);
|
|
From: <ice...@us...> - 2013-09-01 17:02:24
|
Revision: 6318
http://sourceforge.net/p/web-erp/reponame/6318
Author: icedlava
Date: 2013-09-01 17:02:21 +0000 (Sun, 01 Sep 2013)
Log Message:
-----------
Remove entities in company name print out. Fix page number for summary only.
Modified Paths:
--------------
trunk/Tax.php
trunk/includes/PDFTaxPageHeader.inc
Modified: trunk/Tax.php
===================================================================
--- trunk/Tax.php 2013-09-01 16:39:05 UTC (rev 6317)
+++ trunk/Tax.php 2013-09-01 17:02:21 UTC (rev 6318)
@@ -228,11 +228,11 @@
$pdf->newPage();
}
/*OK and now the summary */
-
+ if ($PageNumber ==0) $PageNumber=1; //when only summary is run.
$FontSize=8;
$YPos= $Page_Height-$Top_Margin;
- $pdf->addText($Left_Margin, $YPos,$FontSize, $_SESSION['CompanyRecord']['coyname']);
+ $pdf->addText($Left_Margin, $YPos,$FontSize, html_entity_decode($_SESSION['CompanyRecord']['coyname']));
$YPos -=$line_height;
Modified: trunk/includes/PDFTaxPageHeader.inc
===================================================================
--- trunk/includes/PDFTaxPageHeader.inc 2013-09-01 16:39:05 UTC (rev 6317)
+++ trunk/includes/PDFTaxPageHeader.inc 2013-09-01 17:02:21 UTC (rev 6318)
@@ -10,7 +10,7 @@
$FontSize=8;
$YPos= $Page_Height-$Top_Margin;
-$pdf->addText($Left_Margin, $YPos,$FontSize, $_SESSION['CompanyRecord']['coyname']);
+$pdf->addText($Left_Margin, $YPos,$FontSize, html_entity_decode($_SESSION['CompanyRecord']['coyname']));
$YPos -=$line_height;
|
|
From: <dai...@us...> - 2013-09-04 08:08:05
|
Revision: 6324
http://sourceforge.net/p/web-erp/reponame/6324
Author: daintree
Date: 2013-09-04 08:08:02 +0000 (Wed, 04 Sep 2013)
Log Message:
-----------
change name coa to country_sql
Modified Paths:
--------------
trunk/Z_MakeNewCompany.php
trunk/build/make_release.sh
trunk/doc/INSTALL.txt
trunk/install/index.php
trunk/javascripts/MiscFunctions.js
Added Paths:
-----------
trunk/sql/mysql/country_sql/
Removed Paths:
-------------
trunk/sql/mysql/coa/
Property Changed:
----------------
trunk/
Index: trunk
===================================================================
--- trunk 2013-09-04 01:46:43 UTC (rev 6323)
+++ trunk 2013-09-04 08:08:02 UTC (rev 6324)
Property changes on: trunk
___________________________________________________________________
Modified: svn:externals
## -1 +1 ##
-xmlrpc https://phpxmlrpc.svn.sourceforge.net/svnroot/phpxmlrpc/trunk/xmlrpc
+xmlrpc http://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc
Modified: trunk/Z_MakeNewCompany.php
===================================================================
--- trunk/Z_MakeNewCompany.php 2013-09-04 01:46:43 UTC (rev 6323)
+++ trunk/Z_MakeNewCompany.php 2013-09-04 08:08:02 UTC (rev 6324)
@@ -81,14 +81,14 @@
}
}
$db = pg_connect( $PgConnStr );
- $SQLScriptFile = file('./sql/pg/coa/weberp-new.psql');
+ $SQLScriptFile = file('./sql/pg/country_sql/weberp-new.psql');
} elseif ($DBType =='mysql') { //its a mysql db < 4.1
mysql_select_db($_POST['NewDatabase'],$db);
- $SQLScriptFile = file('./sql/mysql/coa/weberp-new.sql');
+ $SQLScriptFile = file('./sql/mysql/country_sql/default.sql');
} elseif ($DBType =='mysqli') { //its a mysql db using the >4.1 library functions
mysqli_select_db($db,$_POST['NewDatabase']);
- $SQLScriptFile = file('./sql/mysql/coa/weberp-new.sql');
+ $SQLScriptFile = file('./sql/mysql/country_sql/default.sql');
}
$ScriptFileEntries = sizeof($SQLScriptFile);
Modified: trunk/build/make_release.sh
===================================================================
--- trunk/build/make_release.sh 2013-09-04 01:46:43 UTC (rev 6323)
+++ trunk/build/make_release.sh 2013-09-04 08:08:02 UTC (rev 6324)
@@ -75,9 +75,9 @@
mysql -u$MYSQL_USER -p$MYSQL_PWD < $BASE_DIR/build/TruncateAuditTrail.sql
-echo "SET FOREIGN_KEY_CHECKS = 0;" > $BASE_DIR/sql/mysql/coa/weberp-new.sql
+echo "SET FOREIGN_KEY_CHECKS = 0;" > $BASE_DIR/sql/mysql/country_sql/default.sql
-mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --create-options --skip-set-charset --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --ignore-table=weberpdemo.buckets --no-data weberpdemo >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
+mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --create-options --skip-set-charset --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --ignore-table=weberpdemo.buckets --no-data weberpdemo >> $BASE_DIR/sql/mysql/country_sql/default.sql
mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --no-create-info weberpdemo \
accountgroups \
@@ -108,26 +108,26 @@
securitytokens \
securityroles \
accountsection \
- > $BASE_DIR/sql/mysql/coa/weberp-base.sql
+ > $BASE_DIR/sql/mysql/country_sql/weberp-base.sql
-mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --no-create-info weberpdemo > $BASE_DIR/sql/mysql/coa/weberp-demo_data.sql
+mysqldump -u$MYSQL_USER -p$MYSQL_PWD --skip-opt --skip-set-charset --quick --ignore-table=weberpdemo.mrpsupplies --ignore-table=weberpdemo.mrpplanedorders --ignore-table=weberpdemo.mrpparameters --ignore-table=weberpdemo.levels --ignore-table=weberpdemo.mrprequirements --no-create-info weberpdemo > $BASE_DIR/sql/mysql/country_sql/weberp-demo_data.sql
-rm $BASE_DIR/sql/mysql/coa/weberp-demo.sql
-echo "CREATE DATABASE IF NOT EXISTS weberpdemo;" > $BASE_DIR/sql/mysql/coa/weberp-demo.sql
-echo "USE weberpdemo;" >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
+rm $BASE_DIR/sql/mysql/country_sql/demo.sql
+echo "CREATE DATABASE IF NOT EXISTS weberpdemo;" > $BASE_DIR/sql/mysql/country_sql/demo.sql
+echo "USE weberpdemo;" >> $BASE_DIR/sql/mysql/country_sql/demo.sql
-cat $BASE_DIR/sql/mysql/coa/weberp-new.sql >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
+cat $BASE_DIR/sql/mysql/country_sql/default.sql >> $BASE_DIR/sql/mysql/country_sql/demo.sql
-cat $BASE_DIR/sql/mysql/coa/weberp-base.sql >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
-cat $BASE_DIR/sql/mysql/coa/weberp-demo_data.sql >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
-rm $BASE_DIR/sql/mysql/coa/weberp-demo_data.sql
-rm $BASE_DIR/sql/mysql/coa/weberp-base.sql
+cat $BASE_DIR/sql/mysql/country_sql/weberp-base.sql >> $BASE_DIR/sql/mysql/country_sql/default.sql
+cat $BASE_DIR/sql/mysql/country_sql/weberp-demo_data.sql >> $BASE_DIR/sql/mysql/country_sql/demo.sql
+rm $BASE_DIR/sql/mysql/country_sql/weberp-demo_data.sql
+rm $BASE_DIR/sql/mysql/country_sql/weberp-base.sql
-echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
-echo "UPDATE systypes SET typeno=0;" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
-echo "INSERT INTO shippers VALUES (1,'Default Shipper',0);" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
-echo "UPDATE config SET confvalue='1' WHERE confname='Default_Shipper';" >> $BASE_DIR/sql/mysql/coa/weberp-new.sql
-echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/coa/weberp-demo.sql
+echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/country_sql/default.sql
+echo "UPDATE systypes SET typeno=0;" >> $BASE_DIR/sql/mysql/country_sql/default.sql
+echo "INSERT INTO shippers VALUES (1,'Default Shipper',0);" >> $BASE_DIR/sql/mysql/country_sql/default.sql
+echo "UPDATE config SET confvalue='1' WHERE confname='Default_Shipper';" >> $BASE_DIR/sql/mysql/country_sql/default.sql
+echo "SET FOREIGN_KEY_CHECKS = 1;" >> $BASE_DIR/sql/mysql/country_sql/demo.sql
rm $OUTPUT_DIR/webERP.zip
Modified: trunk/doc/INSTALL.txt
===================================================================
--- trunk/doc/INSTALL.txt 2013-09-04 01:46:43 UTC (rev 6323)
+++ trunk/doc/INSTALL.txt 2013-09-04 08:08:02 UTC (rev 6324)
@@ -194,10 +194,10 @@
WebERP expects each company that it manages to have a separate database. For example, if you have a company called MyCompany, then it will expect a database called mycompany (note that it must all be lower case). Before you start, ensure that you have no such database on your system, if you do then you will either have to remove it, rename it, or choose a different name for your
company for the purposes of WebERP. The simplest tool is webmin, or you could use phpMyAdmin.
-Once you have confirmed that you are ready to create a database you are now ready to go ahead, two scripts are provided to ease the database creation.
+Once you have confirmed that you are ready to create a database you are now ready to go ahead, two scripts are provided to ease the database creation under the directory sql/mysql/country_sql:
-1. weberp-demo.sql This has a minimal amount of demonstration data in a bogus company set up so that transactions can be tried to see how the system works.
-2. weberp-new.sql This script has only the basic data necessary to start a new company system off. If you wish to set up your company on webERP then this is the script to use. weberp-new.sql you will need to create a database first (using phpMyAdmin for example) or add the following sql commands to this script
+1. demo.sql This has a minimal amount of demonstration data in a bogus company set up so that transactions can be tried to see how the system works.
+2. default.sql This script has only the basic data necessary to start a new company system off. If you wish to set up your company on webERP then this is the script to use. weberp-new.sql you will need to create a database first (using phpMyAdmin for example) or add the following sql commands to this script
CREATE DATABASE mycompanyname DEFAULT CHARACTER SET utf8 DEFAULT
COLLATE utf8_unicode_ci;
USE mycompanyname
@@ -205,13 +205,12 @@
Instead of mycompanyname use the name of your company. Note that the name of the database must all be in lower case.
This creates a weberp database and populates it with only the very basic data to start off.
-The files weberp-demo.sql and weberp-new.sql should be in webERP/sql/mysql directory.
-shell > mysql --user=weberp_db_user -p mysql < /path_to_the_sql_script/weberp-demo.sql
+shell > mysql --user=weberp_db_user -p mysql < /path_to_the_sql_script/demo.sql
or
-shell > mysql --user=weberp_db_user --p mysql < /path_to_the_sql_script/weberp-new.sql
+shell > mysql --user=weberp_db_user --p mysql < /path_to_the_sql_script/default.sql
as required. You will be prompted for the mysql password that you created earlier.
@@ -358,4 +357,4 @@
A copy of the GNU General Public License is included in the doc directory along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-Copyright weberp.org 2010 - Contact: in...@we...
+Copyright weberp.org 2003-2013 - Contact: in...@we...
Modified: trunk/install/index.php
===================================================================
--- trunk/install/index.php 2013-09-04 01:46:43 UTC (rev 6323)
+++ trunk/install/index.php 2013-09-04 08:08:02 UTC (rev 6324)
@@ -280,16 +280,16 @@
}
}
- if(!empty($_POST['COA'])){
- if(preg_match('/[a-zA-Z_-]+(\.sql)/',$_POST['COA'])){
- $COA = $_POST['COA'];
+ if(!empty($_POST['CountrySQL'])){
+ if(preg_match('/[a-zA-Z_-]+(\.sql)/',$_POST['CountrySQL'])){
+ $CountrySQL = $_POST['CountrySQL'];
}else{
$InputError = 1;
- prnMsg(_('The COA file name must only contain letters,"-","_"'),'error');
+ prnMsg(_('The country SQL file name must only contain letters,"-","_"'),'error');
}
}else{
$InputError = 1;
- prnMsg(_('There is no COA file selected. Please select a file.'),'error');
+ prnMsg(_('There is no country SQL file selected. Please select a file.'),'error');
}
if($InputError == 1){//return to the company configuration stage
@@ -403,7 +403,7 @@
fclose($zp);
}
//Now it is the time to create the mysql data
- //Just get the data from $COA and read data from this file
+ //Just get the data from $CountrySQL and read data from this file
//At the mean time, we should check the user need demo database or not
if($DBConnectType == 'mysqli'){
$Db = mysqli_connect($HostName,$UserName,$Password);
@@ -416,8 +416,8 @@
prnMsg(_('Failed to connect the database, the error is ').mysql_connect_error(),'error');
}
}
- $NewSQLFile = $Path_To_Root.'/sql/mysql/coa/'.$COA;
- $DemoSQLFile = $Path_To_Root.'/sql/mysql/coa/weberp-demo.sql';
+ $NewSQLFile = $Path_To_Root.'/sql/mysql/country_sql/'.$CountrySQL;
+ $DemoSQLFile = $Path_To_Root.'/sql/mysql/country_sql/demo.sql';
if(!empty($DualCompany) and $DualCompany == 1){
//we should install the production data and demo data
$sql = 'CREATE DATABASE IF NOT EXISTS `'.$DatabaseName.'`';
@@ -1020,13 +1020,13 @@
<span><?php echo _('The name of your company'); ?></span>
</li>
<li>
- <label for="COA"><?php echo _("Chart of Accounts"); ?>: </label>
- <select name="COA">
+ <label for="CountrySQL"><?php echo _("Chart of Accounts"); ?>: </label>
+ <select name="CountrySQL">
<?php
- $COAs = scandir('../sql/mysql/coa');
- $COAs = array_diff($COAs,array('.','..'));
- if(!empty($COAs)){
- foreach($COAs as $Value){
+ $CountrySQLs = scandir('../sql/mysql/coa');
+ $CountrySQLs = array_diff($CountrySQLs,array('.','..'));
+ if(!empty($CountrySQLs)){
+ foreach($CountrySQLs as $Value){
if($Value == 'weberp-new.sql'){
echo '<option value="'.$Value.'" selected="true">' . $Value . '</option>';
}elseif($Value != 'weberp-demo.sql'){// the demo sql selection is not necessary so not allowed
@@ -1110,7 +1110,7 @@
<?php
}
-//@para $NewSQL is the weberp new sql file which contains the COA file
+//@para $NewSQL is the weberp new sql file which contains the CountrySQL file
//@para $Demo is the weberp demo sql file
//@para $db refer to the database connection reference
//@para $DBType refer to the database connection type mysqli or mysql
Modified: trunk/javascripts/MiscFunctions.js
===================================================================
--- trunk/javascripts/MiscFunctions.js 2013-09-04 01:46:43 UTC (rev 6323)
+++ trunk/javascripts/MiscFunctions.js 2013-09-04 08:08:02 UTC (rev 6324)
@@ -325,7 +325,11 @@
ds[i].origonchange=ds[i].onchange;
ds[i].newonchange=rLocaleNumber;
- ds[i].onchange=function(){if(this.origonchange) this.origonchange();this.newonchange();};
+ ds[i].onchange=function(){
+ if(this.origonchange)
+ this.origonchange();
+ this.newonchange();
+ };
}
}
|
|
From: <ice...@us...> - 2013-09-05 02:24:16
|
Revision: 6325
http://sourceforge.net/p/web-erp/reponame/6325
Author: icedlava
Date: 2013-09-05 02:24:13 +0000 (Thu, 05 Sep 2013)
Log Message:
-----------
Email not required, not all suppliers have email - add email regex pattern to cope with browsers that can not do appropriate validation.
Modified Paths:
--------------
trunk/Suppliers.php
trunk/doc/Change.log
Modified: trunk/Suppliers.php
===================================================================
--- trunk/Suppliers.php 2013-09-04 08:08:02 UTC (rev 6324)
+++ trunk/Suppliers.php 2013-09-05 02:24:13 UTC (rev 6325)
@@ -714,7 +714,7 @@
<td><input type="tel" pattern="[\s\d+)(-]{1,40}" title="'._('The input should be fax number').'" placeholder="'._('only number + - ( and ) allowed').'" name="Fax" size="30" maxlength="40" /></td>
</tr>';
echo '<tr><td>' . _('Email Address') . ':</td>
- <td><input type="email" name="Email" required="true" title="'._('Only email address are allowed').'" placeholder="'._('email format such as xx...@ma...').'" size="30" maxlength="40" /></td>
+ <td><input type="email" name="Email" title="'._('Only email address are allowed').'" placeholder="'._('email format such as xx...@ma...').'" size="30" maxlength="40" pattern="[a-z0-9!#$%&\'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*" /></td>
</tr>';
echo '<tr><td>' . _('Supplier Type') . ':</td>
<td><select name="SupplierType">';
@@ -916,7 +916,7 @@
echo '<tr><td>' . _('Facsimile') . ':</td>
<td><input '.(in_array('Name',$Errors) ? 'class="inputerror"' : '').' type="tel" pattern="[\s\d+()-]{1,40}" placeholder="'._('Only digit blank ( ) and - allowed').'" name="Fax" value="' . $_POST['Fax'] . '" size="42" maxlength="40" /></td></tr>';
echo '<tr><td>' . _('Email Address') . ':</td>
- <td><input '.(in_array('Name',$Errors) ? 'class="inputerror"' : '').' type="email" title="'._('The input must be in email format').'" name="Email" value="' . $_POST['Email'] . '" size="42" maxlength="40" /></td></tr>';
+ <td><input '.(in_array('Name',$Errors) ? 'class="inputerror"' : '').' type="email" title="'._('The input must be in email format').'" name="Email" value="' . $_POST['Email'] . '" size="42" maxlength="40" placeholder="'._('email format such as xx...@ma...').'" pattern="[a-z0-9!#$%&\'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*" /></td></tr>';
echo '<tr><td>' . _('Supplier Type') . ':</td>
<td><select name="SupplierType">';
$result=DB_query("SELECT typeid, typename FROM suppliertype", $db);
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-04 08:08:02 UTC (rev 6324)
+++ trunk/doc/Change.log 2013-09-05 02:24:13 UTC (rev 6325)
@@ -1,49 +1,55 @@
webERP Change Log
+5/9/2013 icedlava: Suppliers.php regex pattern for email, also not all suppliers have email.
4/9/2013 Exson: Fixed the undefined StockID error and make it html5 compatible and table sorting in StockReorderLevel.php
+2/9/2013 icedlava: SelectOrderItems.php fix frequently ordered items to accept entry as was not working.
+2/9/2013 icedlava: inc tax corrected to ex tax on ConfirmDespatch.php and DeliveryDetails.php
1/9/13 Version 4.11.0
29/8/2013 Exson: Fixed the pattern typo error in StockCategories.php.
28/8/2013 Exson: Fixed html tag mark error and make it html5 compatible and table sortable in StockStatus.php
-28/8/2013 Exson: Fixed MiscFunctions.js bug which make onclick event failed for tag whose class is date, number or integer. Solution from Tim. And update the sql file in coa directory.
-27/8/2013 Exson: Remove the option of weberp-demo.sql to avoid installation error. Reported by icedlava.
-26/8/2013 Exson Add A default company name to make the installation as dummy as possible.
-21/8/2013 Thumb: Fixed the object no definition error in StockTransfers.php.
-21/8/2013 Exson: Fixed the notice error of undefined index Status and and space for some string.
+28/8/2013 Exson: Fixed MiscFunctions.js bug which make onclick event failed for tag whose class is date, number or integer. Solution from Tim. And update the sql file in coa directory.
+27/8/2013 Exson: Remove the option of weberp-demo.sql to avoid installation error. Reported by icedlava.
+27/8/2013 icedlava: Allow display of BOM component entry screen after deletion of component in BOM.php
+27/8/2013 icedlava: Fix rounding error in supplier unit price when less than 1
+26/8/2013 Exson Add A default company name to make the installation as dummy as possible.
+26/8/2013 icedlava: Fix COGS and Sales GL interface to include AN area and specific Sales Type and Stock Category.
+21/8/2013 Thumb: Fixed the object no definition error in StockTransfers.php.
+21/8/2013 Exson: Fixed the notice error of undefined index Status and and space for some string.
21/8/2013 Exson: Fixed the sortable not workable bug in Prices.php.
21/8/2013 Exson: Change sortable block from table to tbody. Reported by Tim.
-20/8/2013 Exson: make StockUsage.php html5 compatible and table sortable.
+20/8/2013 Exson: make StockUsage.php html5 compatible and table sortable.
20/8/2013 Exson: html5 compatible and table sortable for SuppContractChgs.php,SuppCreditGRNs.php,SuppFixedAssetChgs.php,SuppInvGRNs.php, SupplierAllocations.php
20/8/2013 Exson: Make SupplierInquiry.php table sortable
20/8/2013 Exson: SupplierContacts.php html5 compatible and table sortable.
20/8/2013 Exson: Make SupplierCredit.php html5 compatible.
20/8/2013 Exson: Use manually instead of manual to make distinguish translation possible and make it html5 compatible in SupplierInvoice.php.
19/9/2013 Exson: Fixed the typo that should be class integer instead of type integer. Reported by Tim.
-19/8/2013 Exson: Fixed the account code pattern to make it compatible with the definition in GLAccounts.php
-19/8/2013 Exson: Fixed the type error to class is integer. Reported by Tim.
+19/8/2013 Exson: Fixed the account code pattern to make it compatible with the definition in GLAccounts.php
+19/8/2013 Exson: Fixed the type error to class is integer. Reported by Tim.
19/8/2013 Exson: Fixed blank validation error in Suppliers.php and make it html5 compatible.
19/8/2013 Exson: Add warning messages for no suppliers returned in SupplierTenderCreate.php and make it html5 compatible and table sortable.
19/8/2013 Exson: Make SupplierTenders.php html5 compatible and sortable.
-19/8/2013 Exson: Fixed the validation error which allow blank supplier type and make it html5 compatible and sortable.
+19/8/2013 Exson: Fixed the validation error which allow blank supplier type and make it html5 compatible and sortable.
19/8/2013 Exson: Make SuppLoginSetup.php html5 compatible.
16/8/2013 Exson: Remove redundant Ref no and make SuppPaymentRun.php html5 compatible.
16/08/2013 Exson: Make the SuppShiptChgs.php html5 compatible.
-16/08/2013 Exson: Fixed the account code max length in SuppTransGLAnalysis.php and make it html5 compatible.
+16/08/2013 Exson: Fixed the account code max length in SuppTransGLAnalysis.php and make it html5 compatible.
15/8/2013 Exson: Modify 'manual' to 'manually' in SystemParameters.php to remove the translation frustration and make it html5 compatible.
15/8/2013 Exson: Make TaxAuthorities.php html5 compatible and table columns sortable.
15/8/2013 Exson: Make TaxAuthorityRates.php html5 compatible.
15/8/2013 Exson: Make the tax category 'Freight' undeleted in TaxCategories.php and make it html5 compatible and table sortable.
15/8/2013 Exson: Make TaxGroups.php html5 compatible.
-15/8/2013 Exson: Make TaxProvinces.php html5 compatible.
+15/8/2013 Exson: Make TaxProvinces.php html5 compatible.
15/8/2013 Exson: Fixed the no-number warning in TopItems.php and make it html5 compatible.
14/8/2012 Exson: make UnitsOfMeasure.php html5 compatible.
14/08/2013 Exson: html5 compatible for UserSettings.php
-14/8/2013 Exson: Make table in WorkCentres.php sortable.
+14/8/2013 Exson: Make table in WorkCentres.php sortable.
14/8/2013 Exson: make WhereUsedInquiry.php Html5 compatible.
14/08/2013 Exson: Make WorkCentres.php html5 compatible.
14/8/2013 Exson: HTML5 compatible for WorkOrderEntry.php.
14/8/2013 Exson: fixed the in_array() warning in WorkOrderIssue.php and make it html5 compatible.
14/8/2013 Exson: html5 compatible for WorkOrderReceive.php
-14/08/2013 Exson: Html5 compatible
+14/08/2013 Exson: Html5 compatible
2013/08/14 Exson: Fixed INSERT sql errors and href link error and make it html5 compatible in WOSerialNos.php.
04/8/13 icedlava: Update Manual - Using the webERP Installer - rework of some text due to new installer, and updated screen shots
03/8/13 icedlava: Obfuscate database name in login, do not show company in login if directory/company not wanted.
|
|
From: <ice...@us...> - 2013-09-05 06:03:53
|
Revision: 6326
http://sourceforge.net/p/web-erp/reponame/6326
Author: icedlava
Date: 2013-09-05 06:03:50 +0000 (Thu, 05 Sep 2013)
Log Message:
-----------
Stocks.php Clear image for new items. Add error message for upload failure when no tmp directory set in PHP.
Modified Paths:
--------------
trunk/Stocks.php
trunk/doc/Change.log
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2013-09-05 02:24:13 UTC (rev 6325)
+++ trunk/Stocks.php 2013-09-05 06:03:50 UTC (rev 6326)
@@ -80,6 +80,9 @@
} elseif ( $_FILES['ItemPicture']['type'] == 'text/plain' ) { //File Type Check
prnMsg( _('Only graphics files can be uploaded'),'warn');
$UploadTheFile ='No';
+ } elseif ( $_FILES['ItemPicture']['error'] == 6 ) { //upload temp directory check
+ prnMsg( _('No tmp directory set. You must have a tmp directory set in your PHP for upload of files. '),'warn');
+ $UploadTheFile ='No';
} elseif (file_exists($filename)){
prnMsg(_('Attempting to overwrite an existing item image'),'warn');
$result = unlink($filename);
@@ -989,7 +992,7 @@
<br /><input type="checkbox" name="ClearImage" id="ClearImage" value="1" > '._('Clear Image').'
</td>';
- if (function_exists('imagecreatefromjpg')){
+if (function_exists('imagecreatefromjpg') && isset($StockID) && !empty($StockID)){
$StockImgLink = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC'.
'&StockID='.urlencode($StockID).
'&text='.
@@ -997,7 +1000,7 @@
'&height=100'.
'" alt="" />';
} else {
- if( isset($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) {
+ if( isset($StockID) AND !empty($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) {
$StockImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg" height="100" width="100" />';
if (isset($_POST['ClearImage']) ) {
//workaround for many variations of permission issues that could cause unlink fail
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-05 02:24:13 UTC (rev 6325)
+++ trunk/doc/Change.log 2013-09-05 06:03:50 UTC (rev 6326)
@@ -1,4 +1,6 @@
webERP Change Log
+5/9/2013 icedlava: Stocks.php Set error message for upload image failure when no upload tmp directory set in php.
+5/9/2013 icedlava: Stocks.php Clear item image for new item creation.
5/9/2013 icedlava: Suppliers.php regex pattern for email, also not all suppliers have email.
4/9/2013 Exson: Fixed the undefined StockID error and make it html5 compatible and table sorting in StockReorderLevel.php
2/9/2013 icedlava: SelectOrderItems.php fix frequently ordered items to accept entry as was not working.
|
|
From: <dai...@us...> - 2013-09-06 08:44:16
|
Revision: 6327
http://sourceforge.net/p/web-erp/reponame/6327
Author: daintree
Date: 2013-09-06 08:44:09 +0000 (Fri, 06 Sep 2013)
Log Message:
-----------
fixed typos - also patterns
Modified Paths:
--------------
trunk/ConfirmDispatch_Invoice.php
trunk/CustomerBranches.php
trunk/SelectCustomer.php
trunk/SelectProduct.php
trunk/Stocks.php
trunk/Z_MakeNewCompany.php
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po
trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot
trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo
trunk/locale/en_US.utf8/LC_MESSAGES/messages.po
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.po
Modified: trunk/ConfirmDispatch_Invoice.php
===================================================================
--- trunk/ConfirmDispatch_Invoice.php 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/ConfirmDispatch_Invoice.php 2013-09-06 08:44:09 UTC (rev 6327)
@@ -1133,7 +1133,7 @@
'" . -$OrderLine->QtyDispatched . "',
'" . $OrderLine->DiscountPercent . "',
'" . $OrderLine->StandardCost . "',
- '" . DB_escape_striing($OrderLine->Narrative) . "')";
+ '" . DB_escape_string($OrderLine->Narrative) . "')";
}
Modified: trunk/CustomerBranches.php
===================================================================
--- trunk/CustomerBranches.php 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/CustomerBranches.php 2013-09-06 08:44:09 UTC (rev 6327)
@@ -793,7 +793,7 @@
<tr>
<td>' . _('Phone Number').':</td>';
if (!isset($_POST['PhoneNo'])) {$_POST['PhoneNo']='';}
- echo '<td><input tabindex="16" type="tel" name="PhoneNo" size="22" maxlength="20" value="'. $_POST['PhoneNo'].'" /></td>
+ echo '<td><input tabindex="16" type="tel" name="PhoneNo" pattern="[0-9+()\s]*" size="22" maxlength="20" value="'. $_POST['PhoneNo'].'" /></td>
</tr>';
echo '<tr>
@@ -801,7 +801,7 @@
if (!isset($_POST['FaxNo'])) {
$_POST['FaxNo']='';
}
- echo '<td><input tabindex="17" type="tel" name="FaxNo" size="22" maxlength="20" value="'. $_POST['FaxNo'].'" /></td>
+ echo '<td><input tabindex="17" type="tel" name="FaxNo" pattern="[0-9+()\s]*" size="22" maxlength="20" value="'. $_POST['FaxNo'].'" /></td>
</tr>';
if (!isset($_POST['Email'])) {
Modified: trunk/SelectCustomer.php
===================================================================
--- trunk/SelectCustomer.php 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/SelectCustomer.php 2013-09-06 08:44:09 UTC (rev 6327)
@@ -274,9 +274,9 @@
<td><b>' . _('OR') . '</b></td><td>' . _('Enter a partial Code') . ':</td>
<td>';
if (isset($_POST['CustCode'])) {
- echo '<input type="text" name="CustCode" value="' . $_POST['CustCode'] . '" size="15" maxlength="18" />';
+ echo '<input type="text" name="CustCode" pattern="[0-9+()\s]*" value="' . $_POST['CustCode'] . '" size="15" maxlength="18" />';
} else {
- echo '<input type="text" name="CustCode" size="15" maxlength="18" />';
+ echo '<input type="text" name="CustCode" pattern="[0-9+()\s]*" size="15" maxlength="18" />';
}
echo '</td>
</tr>
@@ -285,9 +285,9 @@
<td>' . _('Enter a partial Phone Number') . ':</td>
<td>';
if (isset($_POST['CustPhone'])) {
- echo '<input type="text" name="CustPhone" value="' . $_POST['CustPhone'] . '" size="15" maxlength="18" />';
+ echo '<input type="tel" name="CustPhone" pattern="[0-9a-zA-Z_]*" value="' . $_POST['CustPhone'] . '" size="15" maxlength="18" />';
} else {
- echo '<input type="text" name="CustPhone" size="15" maxlength="18" />';
+ echo '<input type="tel" name="CustPhone" pattern="[0-9\-\s()+]*"size="15" maxlength="18" />';
}
echo '</td>';
echo '<td><b>' . _('OR') . '</b></td>
Modified: trunk/SelectProduct.php
===================================================================
--- trunk/SelectProduct.php 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/SelectProduct.php 2013-09-06 08:44:09 UTC (rev 6327)
@@ -544,9 +544,9 @@
echo '</select></td>';
echo '<td>' . _('Enter partial') . '<b> ' . _('Description') . '</b>:</td><td>';
if (isset($_POST['Keywords'])) {
- echo '<input type="text" autofocus="autofocus" name="Keywords" value="' . $_POST['Keywords'] . '" pattern="[a-zA-Z0-9_\-\ ]*" title="' . _('Enter text that you wish to search for in the item description') . '" size="20" maxlength="25" />';
+ echo '<input type="text" autofocus="autofocus" name="Keywords" value="' . $_POST['Keywords'] . '" title="' . _('Enter text that you wish to search for in the item description') . '" size="20" maxlength="25" />';
} else {
- echo '<input type="text" autofocus="autofocus" name="Keywords" pattern="[a-zA-Z0-9_\-\ ]*" title="' . _('Enter text that you wish to search for in the item description') . '" size="20" maxlength="25" />';
+ echo '<input type="text" autofocus="autofocus" name="Keywords" title="' . _('Enter text that you wish to search for in the item description') . '" size="20" maxlength="25" />';
}
echo '</td></tr><tr><td></td>';
echo '<td><b>' . _('OR') . ' ' . '</b>' . _('Enter partial') . ' <b>' . _('Stock Code') . '</b>:</td>';
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/Stocks.php 2013-09-06 08:44:09 UTC (rev 6327)
@@ -872,7 +872,7 @@
if ($New==1) {
echo '<tr>
<td>' . _('Item Code'). ':</td>
- <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" pattern="[0-9a-zA-Z_]*{1,20}" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" /></td>
+ <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" pattern="[0-9a-zA-Z_]*" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" /></td>
</tr>';
} else {
echo '<tr>
Modified: trunk/Z_MakeNewCompany.php
===================================================================
--- trunk/Z_MakeNewCompany.php 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/Z_MakeNewCompany.php 2013-09-06 08:44:09 UTC (rev 6327)
@@ -81,7 +81,7 @@
}
}
$db = pg_connect( $PgConnStr );
- $SQLScriptFile = file('./sql/pg/country_sql/weberp-new.psql');
+ $SQLScriptFile = file('./sql/pg/country_sql/default.psql');
} elseif ($DBType =='mysql') { //its a mysql db < 4.1
mysql_select_db($_POST['NewDatabase'],$db);
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-09-05 06:03:50 UTC (rev 6326)
+++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-09-06 08:44:09 UTC (rev 6327)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: web-erp\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-09-01 19:22+1200\n"
+"POT-Creation-Date: 2013-09-06 20:40+1200\n"
"PO-Revision-Date: 2013-06-01 11:19-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: Arabic <ar...@li...>\n"
@@ -176,8 +176,8 @@
#: PcExpenses.php:161 SalesCategories.php:128 SalesCategories.php:135
#: SalesPeople.php:150 SalesPeople.php:157 SalesPeople.php:163
#: SalesTypes.php:140 SalesTypes.php:150 Shippers.php:81 Shippers.php:93
-#: StockCategories.php:191 Stocks.php:721 Stocks.php:730 Stocks.php:738
-#: Stocks.php:746 Stocks.php:754 Stocks.php:762 Stocks.php:770 Stocks.php:778
+#: StockCategories.php:191 Stocks.php:724 Stocks.php:733 Stocks.php:741
+#: Stocks.php:749 Stocks.php:757 Stocks.php:765 Stocks.php:773 Stocks.php:781
#: Suppliers.php:629 Suppliers.php:638 Suppliers.php:646 SupplierTypes.php:145
#: TaxCategories.php:131 TaxGroups.php:132 TaxGroups.php:140
#: TaxProvinces.php:129 UnitsOfMeasure.php:135 WorkCentres.php:89
@@ -261,7 +261,7 @@
#: SelectCompletedOrder.php:11 SelectContract.php:69 SelectCreditItems.php:220
#: SelectCreditItems.php:291 SelectCustomer.php:265 SelectGLAccount.php:65
#: SelectOrderItems.php:609 SelectOrderItems.php:1526
-#: SelectOrderItems.php:1655 SelectProduct.php:525 SelectSalesOrder.php:563
+#: SelectOrderItems.php:1654 SelectProduct.php:525 SelectSalesOrder.php:563
#: SelectSupplier.php:14 SelectSupplier.php:217 SelectWorkOrder.php:9
#: SelectWorkOrder.php:169 SellThroughSupport.php:229 ShipmentCosting.php:11
#: Shipments.php:17 Shippers.php:123 Shippers.php:160 Shipt_Select.php:8
@@ -276,7 +276,7 @@
#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:162
#: WorkOrderCosting.php:22 WorkOrderEntry.php:11 WorkOrderIssue.php:22
#: WorkOrderReceive.php:31 WorkOrderStatus.php:58 WWW_Access.php:11
-#: WWW_Users.php:36 Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:236
+#: WWW_Users.php:36 Z_BottomUpCosts.php:57 ../webSHOP/includes/header.php:251
msgid "Search"
msgstr "إبحث"
@@ -328,8 +328,8 @@
#: ShipmentCosting.php:667 ShopParameters.php:284 ShopParameters.php:288
#: ShopParameters.php:332 ShopParameters.php:336 ShopParameters.php:365
#: ShopParameters.php:369 ShopParameters.php:387 ShopParameters.php:391
-#: ShopParameters.php:448 ShopParameters.php:452 Stocks.php:1199
-#: Stocks.php:1201 Stocks.php:1224 Stocks.php:1226 SuppContractChgs.php:90
+#: ShopParameters.php:448 ShopParameters.php:452 Stocks.php:1202
+#: Stocks.php:1204 Stocks.php:1227 Stocks.php:1229 SuppContractChgs.php:90
#: SystemParameters.php:426 SystemParameters.php:449 SystemParameters.php:486
#: SystemParameters.php:558 SystemParameters.php:566 SystemParameters.php:606
#: SystemParameters.php:682 SystemParameters.php:691 SystemParameters.php:699
@@ -375,8 +375,8 @@
#: ShipmentCosting.php:668 ShopParameters.php:285 ShopParameters.php:287
#: ShopParameters.php:333 ShopParameters.php:335 ShopParameters.php:366
#: ShopParameters.php:368 ShopParameters.php:388 ShopParameters.php:390
-#: ShopParameters.php:449 ShopParameters.php:451 Stocks.php:1194
-#: Stocks.php:1196 Stocks.php:1219 Stocks.php:1221 SuppContractChgs.php:92
+#: ShopParameters.php:449 ShopParameters.php:451 Stocks.php:1197
+#: Stocks.php:1199 Stocks.php:1222 Stocks.php:1224 SuppContractChgs.php:92
#: SystemParameters.php:427 SystemParameters.php:450 SystemParameters.php:487
#: SystemParameters.php:559 SystemParameters.php:567 SystemParameters.php:607
#: SystemParameters.php:683 SystemParameters.php:692 SystemParameters.php:700
@@ -648,7 +648,7 @@
#: FixedAssetItems.php:250 MRPCalendar.php:176 PcAssignCashToTab.php:91
#: PcClaimExpensesFromTab.php:82 PcExpenses.php:98 PcTabs.php:104
#: PcTypeTabs.php:63 PO_Items.php:379 SalesAnalReptCols.php:129
-#: SalesPeople.php:97 SalesTypes.php:66 Stocks.php:558 Suppliers.php:524
+#: SalesPeople.php:97 SalesTypes.php:66 Stocks.php:561 Suppliers.php:524
#: SupplierTypes.php:67
msgid "has been updated"
msgstr ""
@@ -694,7 +694,7 @@
#: WWW_Users.php:283 includes/PDFPickingListHeader.inc:25
#: includes/PDFStatementPageHeader.inc:67 includes/PDFTransPageHeader.inc:82
#: includes/PDFTransPageHeaderPortrait.inc:111
-#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:296
+#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:298
#: ../webSHOP/Register.php:595
msgid "Email"
msgstr ""
@@ -722,7 +722,7 @@
msgstr ""
#: AddCustomerContacts.php:214 Factors.php:234 SupplierContacts.php:239
-#: ../webSHOP/Checkout.php:377 ../webSHOP/Register.php:610
+#: ../webSHOP/Checkout.php:379 ../webSHOP/Register.php:610
msgid "Contact Name"
msgstr ""
@@ -731,7 +731,7 @@
#: SelectCustomer.php:425 SelectOrderItems.php:646
#: SupplierTenderCreate.php:390 includes/PDFStatementPageHeader.inc:63
#: includes/PDFTransPageHeader.inc:81
-#: includes/PDFTransPageHeaderPortrait.inc:107 ../webSHOP/Checkout.php:387
+#: includes/PDFTransPageHeaderPortrait.inc:107 ../webSHOP/Checkout.php:389
#: ../webSHOP/Register.php:255 ../webSHOP/Register.php:723
msgid "Phone"
msgstr ""
@@ -794,7 +794,7 @@
msgstr ""
#: AddCustomerNotes.php:118 AddCustomerTypeNotes.php:112 PcReportTab.php:181
-#: SelectCustomer.php:660 SelectCustomer.php:702 Stocks.php:1203
+#: SelectCustomer.php:660 SelectCustomer.php:702 Stocks.php:1206
#: UpgradeDatabase.php:229 UpgradeDatabase.php:232 UpgradeDatabase.php:235
#: UpgradeDatabase.php:238 UpgradeDatabase.php:241 UpgradeDatabase.php:244
#: UpgradeDatabase.php:247 UpgradeDatabase.php:250 UpgradeDatabase.php:253
@@ -1007,7 +1007,7 @@
#: SelectSalesOrder.php:372 SellThroughSupport.php:81
#: SellThroughSupport.php:97 SMTPServer.php:62 StockCheck.php:224
#: StockCostUpdate.php:78 StockCostUpdate.php:88 StockLocStatus.php:164
-#: StockMovements.php:91 StockQuantityByDate.php:97 StockReorderLevel.php:41
+#: StockMovements.php:91 StockQuantityByDate.php:97 StockReorderLevel.php:43
#: StockStatus.php:312 StockTransfers.php:203 StockUsageGraph.php:53
#: StockUsage.php:139 SupplierInquiry.php:78 SupplierInquiry.php:100
#: SupplierInquiry.php:136 SupplierInquiry.php:192 SupplierPriceList.php:382
@@ -1024,7 +1024,7 @@
#: includes/PDFPaymentRun_PymtFooter.php:189 includes/ConnectDB_mysqli.inc:76
#: includes/ConnectDB_mysql.inc:66
#: ../webSHOP/includes/DatabaseFunctions.php:60
-#: ../webSHOP/includes/Functions.php:438 ../webSHOP/includes/PlaceOrder.php:67
+#: ../webSHOP/includes/Functions.php:438 ../webSHOP/includes/PlaceOrder.php:70
msgid "The SQL that failed was"
msgstr ""
@@ -1306,7 +1306,7 @@
#: SalesGraph.php:102 SalesGraph.php:104 SalesGraph.php:124 SalesGraph.php:126
#: SalesGraph.php:148 SalesGraph.php:150 SalesGraph.php:184
#: SalesInquiry.php:1091 SalesInquiry.php:1154 SelectCreditItems.php:986
-#: SelectOrderItems.php:1663 SelectOrderItems.php:1666 SelectProduct.php:533
+#: SelectOrderItems.php:1662 SelectOrderItems.php:1665 SelectProduct.php:533
#: SelectProduct.php:535 StockDispatch.php:82 StockDispatch.php:393
#: StockDispatch.php:395 StockLocStatus.php:71 StockLocStatus.php:73
#: StockLocStatus.php:91 StockLocStatus.php:96 StockLocStatus.php:101
@@ -1436,7 +1436,7 @@
msgstr ""
#: BankAccounts.php:12 TaxAuthorities.php:150
-#: ../webSHOP/includes/Functions.php:756
+#: ../webSHOP/includes/Functions.php:755
msgid "Bank"
msgstr ""
@@ -1672,7 +1672,7 @@
#: PrintCustTrans.php:63 PrintCustTrans.php:66 PrintCustTransPortrait.php:62
#: PrintCustTransPortrait.php:65 SalesGraph.php:218 SalesGraph.php:247
#: SalesGraph.php:251 StockLocTransferReceive.php:306
-#: StockLocTransferReceive.php:444 Stocks.php:300 Stocks.php:305
+#: StockLocTransferReceive.php:444 Stocks.php:303 Stocks.php:308
#: StockStatus.php:353 StockStatus.php:394 StockTransfers.php:448
#: includes/PDFAgedDebtorsPageHeader.inc:18
#: includes/PDFAgedSuppliersPageHeader.inc:17
@@ -1797,7 +1797,7 @@
#: Z_CheckAllocs.php:66 includes/PDFBankingSummaryPageHeader.inc:55
#: includes/PDFChequeListingPageHeader.inc:37
#: includes/PDFGLJournalHeader.inc:22 ../webSHOP/CreditCardPayFlowPro.php:276
-#: ../webSHOP/CreditCardPayPalPro.php:337
+#: ../webSHOP/CreditCardPayPalPro.php:338
msgid "Amount"
msgstr ""
@@ -1942,7 +1942,7 @@
#: includes/PDFPeriodStockTransListingPageHeader.inc:52
#: includes/PDFStockComparisonPageHeader.inc:36
#: includes/PDFSuppTransListingPageHeader.inc:49
-#: ../webSHOP/includes/Functions.php:765
+#: ../webSHOP/includes/Functions.php:764
msgid "Reference"
msgstr ""
@@ -1986,7 +1986,7 @@
msgstr ""
#: BankReconciliation.php:361 CounterReturns.php:740 CounterSales.php:832
-#: Customers.php:1177 SelectOrderItems.php:1452 Stocks.php:1392
+#: Customers.php:1177 SelectOrderItems.php:1452 Stocks.php:1395
#: WorkOrderCosting.php:551 WorkOrderEntry.php:589
msgid "Are You Sure?"
msgstr ""
@@ -2074,7 +2074,7 @@
#: SalesGraph.php:276 SalesInquiry.php:993 SalesTopItemsInquiry.php:225
#: SelectCreditItems.php:688 SelectCreditItems.php:1068
#: SelectOrderItems.php:1374 SelectOrderItems.php:1542
-#: SelectOrderItems.php:1730 SelectOrderItems.php:1862 ShipmentCosting.php:149
+#: SelectOrderItems.php:1729 SelectOrderItems.php:1861 ShipmentCosting.php:149
#: ShipmentCosting.php:150 Shipments.php:401 Shipments.php:403
#: Shipments.php:404 Shipments.php:488 Shipments.php:490 SpecialOrder.php:628
#: StockCounts.php:114 StockLocMovements.php:93 StockLocTransfer.php:306
@@ -2105,7 +2105,7 @@
#: includes/PO_PDFOrderPageHeader.inc:77 api/api_xml-rpc.php:2533
#: api/api_xml-rpc.php:2579 api/api_xml-rpc.php:2775
#: ../webSHOP/includes/DisplayShoppingCart.php:8
-#: ../webSHOP/includes/PlaceOrder.php:234
+#: ../webSHOP/includes/PlaceOrder.php:237
msgid "Quantity"
msgstr ""
@@ -2250,7 +2250,7 @@
#: InternalStockRequest.php:628 PO_SelectOSPurchOrder.php:239
#: PO_SelectPurchOrder.php:215 ReorderLevelLocation.php:73
#: ReorderLevelLocation.php:74 SelectCompletedOrder.php:556
-#: SelectOrderItems.php:1538 SelectOrderItems.php:1726
+#: SelectOrderItems.php:1538 SelectOrderItems.php:1725
#: SelectSalesOrder.php:612 SelectWorkOrder.php:215 Shipt_Select.php:192
#: TopItems.php:168 includes/PDFTopItemsHeader.inc:54
msgid "On Hand"
@@ -2282,8 +2282,8 @@
msgstr ""
#: BOMExtendedQty.php:329 POReport.php:549 POReport.php:635 POReport.php:726
-#: POReport.php:1315 POReport.php:1366 POReport.php:1420 Stocks.php:959
-#: Stocks.php:983
+#: POReport.php:1315 POReport.php:1366 POReport.php:1420 Stocks.php:962
+#: Stocks.php:986
msgid "Part Description"
msgstr ""
@@ -2343,10 +2343,10 @@
#: SecurityTokens.php:103 SecurityTokens.php:120 SelectAsset.php:264
#: SelectCompletedOrder.php:555 SelectContract.php:144
#: SelectCreditItems.php:1022 SelectOrderItems.php:1536
-#: SelectOrderItems.php:1724 SelectProduct.php:545 SelectProduct.php:771
+#: SelectOrderItems.php:1723 SelectProduct.php:545 SelectProduct.php:771
#: SelectSalesOrder.php:611 SelectWorkOrder.php:214 Shipt_Select.php:191
#: StockCategories.php:238 StockDispatch.php:503 StockLocStatus.php:172
-#: StockQuantityByDate.php:108 Stocks.php:971 SuppCreditGRNs.php:92
+#: StockQuantityByDate.php:108 Stocks.php:974 SuppCreditGRNs.php:92
#: SuppCreditGRNs.php:192 SuppFixedAssetChgs.php:78 SuppInvGRNs.php:126
#: SuppInvGRNs.php:307 SupplierCredit.php:317 SupplierCredit.php:385
#: SupplierInvoice.php:665 SupplierInvoice.php:745 SupplierPriceList.php:39
@@ -2364,7 +2364,7 @@
#: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50
#: includes/PDFTransPageHeader.inc:208
#: includes/PDFTransPageHeaderPortrait.inc:265 api/api_xml-rpc.php:3489
-#: ../webSHOP/includes/PlaceOrder.php:233
+#: ../webSHOP/includes/PlaceOrder.php:236
msgid "Description"
msgstr ""
@@ -2458,7 +2458,7 @@
#: SelectCreditItems.php:227 SelectCreditItems.php:1005 SelectCustomer.php:274
#: SelectCustomer.php:284 SelectCustomer.php:293 SelectCustomer.php:303
#: SelectCustomer.php:350 SelectGLAccount.php:79 SelectOrderItems.php:619
-#: SelectOrderItems.php:622 SelectOrderItems.php:1691 SelectProduct.php:552
+#: SelectOrderItems.php:622 SelectOrderItems.php:1690 SelectProduct.php:552
#: SelectSalesOrder.php:595 SelectSupplier.php:228 SelectWorkOrder.php:201
#: SellThroughSupport.php:202 Shipt_Select.php:174 SuppFixedAssetChgs.php:126
#: SupplierPriceList.php:49 SupplierPriceList.php:406
@@ -2482,12 +2482,12 @@
#: SalesInquiry.php:1109 SalesInquiry.php:1199 SalesInquiry.php:1217
#: SelectProduct.php:552 Shipt_Select.php:174 StockAdjustments.php:116
#: StockAdjustments.php:403 StockCounts.php:113 StockCounts.php:155
-#: StockMovements.php:36 StockReorderLevel.php:47 StockStatus.php:62
+#: StockMovements.php:36 StockReorderLevel.php:49 StockStatus.php:62
#: StockTransfers.php:49 StockTransfers.php:470 StockUsage.php:64
#: SupplierPriceList.php:49 SupplierTenderCreate.php:701
#: SupplierTenders.php:433 WorkOrderEntry.php:632 WorkOrderIssue.php:683
#: Z_ChangeStockCategory.php:92 Z_ChangeStockCode.php:177
-#: ../webSHOP/includes/PlaceOrder.php:232
+#: ../webSHOP/includes/PlaceOrder.php:235
msgid "Stock Code"
msgstr ""
@@ -2496,7 +2496,7 @@
#: FixedAssetTransfer.php:107 InternalStockRequest.php:362 MRPDemands.php:343
#: MRPReport.php:558 PO_Header.php:549 PO_Items.php:1145 SelectAsset.php:116
#: SelectCreditItems.php:234 SelectCreditItems.php:1012 SelectCustomer.php:375
-#: SelectGLAccount.php:103 SelectOrderItems.php:629 SelectOrderItems.php:1699
+#: SelectGLAccount.php:103 SelectOrderItems.php:629 SelectOrderItems.php:1698
#: SelectProduct.php:560 SelectSupplier.php:238 SelectSupplier.php:271
#: SupplierPriceList.php:61 SupplierTenderCreate.php:567
#: SupplierTenderCreate.php:606 SupplierTenderCreate.php:712
@@ -2538,7 +2538,7 @@
#: PricesByCost.php:152 PurchData.php:469 ReorderLevelLocation.php:70
#: SalesPeople.php:199 SelectCompletedOrder.php:554 SelectCreditItems.php:1021
#: SelectCustomer.php:420 SelectGLAccount.php:112 SelectOrderItems.php:1535
-#: SelectOrderItems.php:1723 SelectProduct.php:770 SelectSalesOrder.php:610
+#: SelectOrderItems.php:1722 SelectProduct.php:770 SelectSalesOrder.php:610
#: SelectSupplier.php:277 SelectWorkOrder.php:213 SellThroughSupport.php:159
#: Shipt_Select.php:190 SpecialOrder.php:149 SupplierPriceList.php:270
#: SupplierPriceList.php:455 SupplierTenderCreate.php:612
@@ -2558,7 +2558,7 @@
#: OffersReceived.php:109 PO_Items.php:1161 PO_SelectOSPurchOrder.php:241
#: PO_SelectPurchOrder.php:217 SelectCompletedOrder.php:559
#: SelectCreditItems.php:1023 SelectOrderItems.php:1537
-#: SelectOrderItems.php:1725 SelectProduct.php:130 SelectProduct.php:773
+#: SelectOrderItems.php:1724 SelectProduct.php:130 SelectProduct.php:773
#: SelectSalesOrder.php:613 SelectWorkOrder.php:216 Shipments.php:402
#: Shipments.php:489 Shipt_Select.php:194 StockLocTransferReceive.php:453
#: SupplierPriceList.php:272 SupplierTenderCreate.php:849
@@ -2842,16 +2842,16 @@
#: BOMs.php:425 ConfirmDispatch_Invoice.php:1041 CounterReturns.php:1058
#: CounterSales.php:1478 Credit_Invoice.php:779 Credit_Invoice.php:807
-#: SelectCreditItems.php:1487 Stocks.php:1124 Stocks.php:1126
+#: SelectCreditItems.php:1487 Stocks.php:1127 Stocks.php:1129
#: api/api_debtortransactions.php:753 api/api_salesorders.php:920
msgid "Assembly"
msgstr ""
-#: BOMs.php:428 FixedAssetRegister.php:390 Stocks.php:1144 Stocks.php:1146
+#: BOMs.php:428 FixedAssetRegister.php:390 Stocks.php:1147 Stocks.php:1149
msgid "Purchased"
msgstr ""
-#: BOMs.php:431 Stocks.php:1134 Stocks.php:1136
+#: BOMs.php:431 Stocks.php:1137 Stocks.php:1139
msgid "Manufactured"
msgstr ""
@@ -2859,7 +2859,7 @@
msgid "Kit Set"
msgstr ""
-#: BOMs.php:437 BOMs.php:529 Stocks.php:1139 Stocks.php:1141
+#: BOMs.php:437 BOMs.php:529 Stocks.php:1142 Stocks.php:1144
msgid "Phantom"
msgstr ""
@@ -2887,7 +2887,7 @@
#: InventoryQuantities.php:247 Locations.php:349 MRP.php:562 MRP.php:595
#: NoSalesItems.php:185 PDFOrdersInvoiced.php:319 PDFOrderStatus.php:288
#: ReorderLevelLocation.php:154 ReorderLevel.php:290 ReorderLevel.php:299
-#: StockCounts.php:156 StockReorderLevel.php:54 StockSerialItemResearch.php:80
+#: StockCounts.php:156 StockReorderLevel.php:56 StockSerialItemResearch.php:80
#: StockStatus.php:86 StockStatus.php:91 SupplierTenderCreate.php:135
#: WhereUsedInquiry.php:70 WorkCentres.php:128 WorkCentres.php:223
#: includes/PDFPeriodStockTransListingPageHeader.inc:51
@@ -3177,7 +3177,7 @@
#: CompanyPreferences.php:228 CustLoginSetup.php:162 Suppliers.php:716
#: Suppliers.php:918 SupplierTenderCreate.php:410 SuppLoginSetup.php:145
-#: WWW_Users.php:466 ../webSHOP/Checkout.php:428
+#: WWW_Users.php:466 ../webSHOP/Checkout.php:430
msgid "Email Address"
msgstr ""
@@ -3333,7 +3333,7 @@
#: PricesByCost.php:223 PurchData.php:758 ReorderLevelLocation.php:130
#: SecurityTokens.php:97 SelectCreditItems.php:957 SellThroughSupport.php:476
#: ShopParameters.php:563 SMTPServer.php:107 StockCostUpdate.php:188
-#: StockReorderLevel.php:108 Stocks.php:1386 SystemParameters.php:1143
+#: StockReorderLevel.php:105 Stocks.php:1389 SystemParameters.php:1143
#: TaxAuthorityRates.php:84 WorkOrderEntry.php:587 WOSerialNos.php:336
msgid "Update"
msgstr ""
@@ -3510,8 +3510,8 @@
#: ReorderLevelLocation.php:185 ReprintGRN.php:84 ReverseGRN.php:390
#: SalesGraph.php:186 SelectCreditItems.php:686 SelectOrderItems.php:1372
#: StockCostUpdate.php:125 StockLocMovements.php:88 StockLocTransfer.php:305
-#: StockLocTransferReceive.php:448 StockQuantityByDate.php:107 Stocks.php:871
-#: Stocks.php:876 Stocks.php:942 Stocks.php:948 SuppCreditGRNs.php:91
+#: StockLocTransferReceive.php:448 StockQuantityByDate.php:107 Stocks.php:874
+#: Stocks.php:879 Stocks.php:945 Stocks.php:951 SuppCreditGRNs.php:91
#: SuppCreditGRNs.php:191 SuppInvGRNs.php:125 SuppInvGRNs.php:306
#: SupplierCredit.php:316 SupplierInvoice.php:664 SupplierTenders.php:122
#: SupplierTenders.php:528 SupplierTenders.php:530
@@ -3637,7 +3637,7 @@
#: includes/PO_PDFOrderPageHeader.inc:81 api/api_debtortransactions.php:1271
#: api/api_debtortransactions.php:1284 api/api_debtortransactions.php:1581
#: ../webSHOP/includes/DisplayShoppingCart.php:7
-#: ../webSHOP/includes/PlaceOrder.php:282
+#: ../webSHOP/includes/PlaceOrder.php:285
#, php-format
msgid "Total"
msgstr ""
@@ -3725,7 +3725,7 @@
msgstr ""
#: ConfirmDispatch_Invoice.php:492 ConfirmDispatch_Invoice.php:496
-msgid "Charge Freight Cost inc Tax"
+msgid "Charge Freight Cost ex Tax"
msgstr ""
#: ConfirmDispatch_Invoice.php:560
@@ -4167,7 +4167,7 @@
#: ConfirmDispatch_Invoice.php:959 CounterReturns.php:974
#: CounterSales.php:1395 FixedAssetItems.php:654 SalesAnalReptCols.php:327
-#: Stocks.php:1389 Suppliers.php:1032 includes/MiscFunctions.php:36
+#: Stocks.php:1392 Suppliers.php:1032 includes/MiscFunctions.php:36
msgid "WARNING"
msgstr ""
@@ -4727,7 +4727,7 @@
#: ContractBOM.php:332 CounterReturns.php:1638 CounterSales.php:2247
#: PO_Items.php:1137 SelectCompletedOrder.php:534 SelectCreditItems.php:1005
-#: SelectOrderItems.php:1691 SelectSalesOrder.php:595 SelectWorkOrder.php:201
+#: SelectOrderItems.php:1690 SelectSalesOrder.php:595 SelectWorkOrder.php:201
msgid "Enter extract of the Stock Code"
msgstr ""
@@ -4741,7 +4741,7 @@
msgid "Create a New Stock Item"
msgstr ""
-#: ContractBOM.php:356 FixedAssetItems.php:503 Stocks.php:1017
+#: ContractBOM.php:356 FixedAssetItems.php:503 Stocks.php:1020
#: SupplierTenderCreate.php:850 SupplierTenders.php:689
msgid "Image"
msgstr ""
@@ -4749,8 +4749,8 @@
#: ContractBOM.php:376 CounterSales.php:2111 FixedAssetItems.php:498
#: FixedAssetItems.php:502 InternalStockRequest.php:634 Manufacturers.php:211
#: PO_Items.php:1183 SalesCategories.php:261 SelectCreditItems.php:1051
-#: SelectOrderItems.php:1550 SelectOrderItems.php:1732 SelectProduct.php:446
-#: Stocks.php:1008 Stocks.php:1012 Stocks.php:1016
+#: SelectOrderItems.php:1550 SelectOrderItems.php:1731 SelectProduct.php:446
+#: Stocks.php:1011 Stocks.php:1015 Stocks.php:1019
#: SupplierTenderCreate.php:873 SupplierTenders.php:714 WorkOrderEntry.php:666
#: WorkOrderIssue.php:724
#, php-format
@@ -5118,19 +5118,19 @@
msgstr ""
#: Contracts.php:131 FixedAssetItems.php:47 Manufacturers.php:46
-#: Manufacturers.php:118 SalesCategories.php:53 Stocks.php:84
+#: Manufacturers.php:118 SalesCategories.php:53 Stocks.php:87
#: Z_MakeNewCompany.php:56
msgid "Attempting to overwrite an existing item image"
msgstr ""
#: Contracts.php:134 F...
[truncated message content] |
|
From: <dai...@us...> - 2013-09-06 10:24:22
|
Revision: 6329
http://sourceforge.net/p/web-erp/reponame/6329
Author: daintree
Date: 2013-09-06 10:24:12 +0000 (Fri, 06 Sep 2013)
Log Message:
-----------
salesanalysis update
Modified Paths:
--------------
trunk/doc/Change.log
trunk/includes/MainMenuLinksArray.php
trunk/install/index.php
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo
trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo
trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo
trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po
trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot
trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo
trunk/locale/en_US.utf8/LC_MESSAGES/messages.po
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo
trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo
trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo
trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo
trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo
trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo
trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo
trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo
trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo
trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo
trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo
trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo
trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo
trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo
trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo
trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo
trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo
trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo
trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.mo
trunk/locale/zh_TW.utf8/LC_MESSAGES/messages.po
trunk/sql/mysql/country_sql/default.sql
trunk/sql/mysql/country_sql/demo.sql
Added Paths:
-----------
trunk/Z_UpdateSalesAnalysisWithLatestCustomerData.php
trunk/sql/mysql/upgrade4.11-4.12.sql
Added: trunk/Z_UpdateSalesAnalysisWithLatestCustomerData.php
===================================================================
--- trunk/Z_UpdateSalesAnalysisWithLatestCustomerData.php (rev 0)
+++ trunk/Z_UpdateSalesAnalysisWithLatestCustomerData.php 2013-09-06 10:24:12 UTC (rev 6329)
@@ -0,0 +1,50 @@
+<?php
+
+/* $Id: Z_UpdateSalesAnalysisWithLatestCustomerData.php 5784 2012-12-29 04:00:43Z daintree $*/
+
+include('includes/session.inc');
+$Title=_('Apply Current Customer and Branch Data to Sales Analysis');
+include('includes/header.inc');
+
+echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">
+ <div>
+ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <br />
+ <input type="submit" name="UpdateSalesAnalysis" value="' . _('Update Sales Analysis Customer Data') .'" />
+ </div>
+ </form>';
+
+if (isset($_POST['UpdateSalesAnalysis'])){
+
+ /* Loop around each customer/branch combo */
+
+ $sql = "SELECT debtorsmaster.debtorno,
+ branchcode,
+ salestype,
+ area,
+ salesman
+ FROM debtorsmaster INNER JOIN custbranch
+ ON debtorsmaster.debtorno=custbranch.debtorno";
+
+ $ErrMsg = _('Could not retrieve the customer records to be updated because');
+ $result = DB_query($sql,$db,$ErrMsg);
+
+ while ($CustomerRow = DB_fetch_array($result)){
+
+ $SQL = "UPDATE salesanalysis SET area = '" . $CustomerRow['area'] . "',
+ typeabbrev= '" . $CustomerRow['salestype'] . "',
+ salesperson= '" . $CustomerRow['salesman'] . "'
+ WHERE cust='" . $CustomerRow['debtorno'] . "'
+ AND custbranch ='" . $CustomerRow['branchcode'] . "'";
+
+ $ErrMsg = _('Could not update the sales analysis records for') . ' ' . $CustomerRow['debtorno'] . ' ' . _('because');
+ $UpdResult = DB_query($SQL,$db,$ErrMsg);
+
+ prnMsg(_('Updated sales analysis for customer code') . ': ' . $CustomerRow['debtorno'] . ' ' . _('and branch code') . ': ' . $CustomerRow['branchcode'],'success');
+ }
+
+
+ prnMsg(_('Updated the sales analysis with all the latest sales areas, salesman and sales types as set up now'),'success');
+}
+include('includes/footer.inc');
+?>
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/doc/Change.log 2013-09-06 10:24:12 UTC (rev 6329)
@@ -1,57 +1,62 @@
webERP Change Log
-5/9/2013 icedlava: Stocks.php Set error message for upload image failure when no upload tmp directory set in php.
-5/9/2013 icedlava: Stocks.php Clear item image for new item creation.
-5/9/2013 icedlava: Suppliers.php regex pattern for email, also not all suppliers have email.
-4/9/2013 Exson: Fixed the undefined StockID error and make it html5 compatible and table sorting in StockReorderLevel.php
-2/9/2013 icedlava: SelectOrderItems.php fix frequently ordered items to accept entry as was not working.
-2/9/2013 icedlava: inc tax corrected to ex tax on ConfirmDespatch.php and DeliveryDetails.php
+
+6/9/13 Version 4.11.1
+
+6/9/13 Phil: Typo in ConfirmDispatch_Invoice preventing invoicing - changed patterns to remove {1,20} statements which make the pattern fail to validate. SelectProduct removed pattern from keyword search on description to allow entry of any characte as reported by Brian May
+5/9/13 icedlava: Stocks.php Set error message for upload image failure when no upload tmp directory set in php.
+5/9/13 icedlava: Stocks.php Clear item image for new item creation.
+5/9/13 icedlava: Suppliers.php regex pattern for email, also not all suppliers have email.
+4/9/13 Exson: Fixed the undefined StockID error and make it html5 compatible and table sorting in StockReorderLevel.php
+2/9/13 icedlava: SelectOrderItems.php fix frequently ordered items to accept entry as was not working.
+2/9/13 icedlava: inc tax corrected to ex tax on ConfirmDespatch.php and DeliveryDetails.php
+
1/9/13 Version 4.11.0
-29/8/2013 Exson: Fixed the pattern typo error in StockCategories.php.
-28/8/2013 Exson: Fixed html tag mark error and make it html5 compatible and table sortable in StockStatus.php
-28/8/2013 Exson: Fixed MiscFunctions.js bug which make onclick event failed for tag whose class is date, number or integer. Solution from Tim. And update the sql file in coa directory.
-27/8/2013 Exson: Remove the option of weberp-demo.sql to avoid installation error. Reported by icedlava.
-27/8/2013 icedlava: Allow display of BOM component entry screen after deletion of component in BOM.php
-27/8/2013 icedlava: Fix rounding error in supplier unit price when less than 1
-26/8/2013 Exson Add A default company name to make the installation as dummy as possible.
-26/8/2013 icedlava: Fix COGS and Sales GL interface to include AN area and specific Sales Type and Stock Category.
-21/8/2013 Thumb: Fixed the object no definition error in StockTransfers.php.
-21/8/2013 Exson: Fixed the notice error of undefined index Status and and space for some string.
-21/8/2013 Exson: Fixed the sortable not workable bug in Prices.php.
-21/8/2013 Exson: Change sortable block from table to tbody. Reported by Tim.
-20/8/2013 Exson: make StockUsage.php html5 compatible and table sortable.
-20/8/2013 Exson: html5 compatible and table sortable for SuppContractChgs.php,SuppCreditGRNs.php,SuppFixedAssetChgs.php,SuppInvGRNs.php, SupplierAllocations.php
-20/8/2013 Exson: Make SupplierInquiry.php table sortable
-20/8/2013 Exson: SupplierContacts.php html5 compatible and table sortable.
-20/8/2013 Exson: Make SupplierCredit.php html5 compatible.
-20/8/2013 Exson: Use manually instead of manual to make distinguish translation possible and make it html5 compatible in SupplierInvoice.php.
-19/9/2013 Exson: Fixed the typo that should be class integer instead of type integer. Reported by Tim.
-19/8/2013 Exson: Fixed the account code pattern to make it compatible with the definition in GLAccounts.php
-19/8/2013 Exson: Fixed the type error to class is integer. Reported by Tim.
-19/8/2013 Exson: Fixed blank validation error in Suppliers.php and make it html5 compatible.
-19/8/2013 Exson: Add warning messages for no suppliers returned in SupplierTenderCreate.php and make it html5 compatible and table sortable.
-19/8/2013 Exson: Make SupplierTenders.php html5 compatible and sortable.
-19/8/2013 Exson: Fixed the validation error which allow blank supplier type and make it html5 compatible and sortable.
-19/8/2013 Exson: Make SuppLoginSetup.php html5 compatible.
-16/8/2013 Exson: Remove redundant Ref no and make SuppPaymentRun.php html5 compatible.
-16/08/2013 Exson: Make the SuppShiptChgs.php html5 compatible.
-16/08/2013 Exson: Fixed the account code max length in SuppTransGLAnalysis.php and make it html5 compatible.
-15/8/2013 Exson: Modify 'manual' to 'manually' in SystemParameters.php to remove the translation frustration and make it html5 compatible.
-15/8/2013 Exson: Make TaxAuthorities.php html5 compatible and table columns sortable.
-15/8/2013 Exson: Make TaxAuthorityRates.php html5 compatible.
-15/8/2013 Exson: Make the tax category 'Freight' undeleted in TaxCategories.php and make it html5 compatible and table sortable.
-15/8/2013 Exson: Make TaxGroups.php html5 compatible.
-15/8/2013 Exson: Make TaxProvinces.php html5 compatible.
-15/8/2013 Exson: Fixed the no-number warning in TopItems.php and make it html5 compatible.
+29/8/13 Exson: Fixed the pattern typo error in StockCategories.php.
+28/8/13 Exson: Fixed html tag mark error and make it html5 compatible and table sortable in StockStatus.php
+28/8/13 Exson: Fixed MiscFunctions.js bug which make onclick event failed for tag whose class is date, number or integer. Solution from Tim. And update the sql file in coa directory.
+27/8/13 Exson: Remove the option of weberp-demo.sql to avoid installation error. Reported by icedlava.
+27/8/13 icedlava: Allow display of BOM component entry screen after deletion of component in BOM.php
+27/8/13 icedlava: Fix rounding error in supplier unit price when less than 1
+26/8/13 Exson Add A default company name to make the installation as dummy as possible.
+26/8/13 icedlava: Fix COGS and Sales GL interface to include AN area and specific Sales Type and Stock Category.
+21/8/13 Thumb: Fixed the object no definition error in StockTransfers.php.
+21/8/13 Exson: Fixed the notice error of undefined index Status and and space for some string.
+21/8/13 Exson: Fixed the sortable not workable bug in Prices.php.
+21/8/13 Exson: Change sortable block from table to tbody. Reported by Tim.
+20/8/13 Exson: make StockUsage.php html5 compatible and table sortable.
+20/8/13 Exson: html5 compatible and table sortable for SuppContractChgs.php,SuppCreditGRNs.php,SuppFixedAssetChgs.php,SuppInvGRNs.php, SupplierAllocations.php
+20/8/13 Exson: Make SupplierInquiry.php table sortable
+20/8/13 Exson: SupplierContacts.php html5 compatible and table sortable.
+20/8/13 Exson: Make SupplierCredit.php html5 compatible.
+20/8/13 Exson: Use manually instead of manual to make distinguish translation possible and make it html5 compatible in SupplierInvoice.php.
+19/9/13 Exson: Fixed the typo that should be class integer instead of type integer. Reported by Tim.
+19/8/13 Exson: Fixed the account code pattern to make it compatible with the definition in GLAccounts.php
+19/8/13 Exson: Fixed the type error to class is integer. Reported by Tim.
+19/8/13 Exson: Fixed blank validation error in Suppliers.php and make it html5 compatible.
+19/8/13 Exson: Add warning messages for no suppliers returned in SupplierTenderCreate.php and make it html5 compatible and table sortable.
+19/8/13 Exson: Make SupplierTenders.php html5 compatible and sortable.
+19/8/13 Exson: Fixed the validation error which allow blank supplier type and make it html5 compatible and sortable.
+19/8/13 Exson: Make SuppLoginSetup.php html5 compatible.
+16/8/13 Exson: Remove redundant Ref no and make SuppPaymentRun.php html5 compatible.
+16/08/13 Exson: Make the SuppShiptChgs.php html5 compatible.
+16/08/13 Exson: Fixed the account code max length in SuppTransGLAnalysis.php and make it html5 compatible.
+15/8/13 Exson: Modify 'manual' to 'manually' in SystemParameters.php to remove the translation frustration and make it html5 compatible.
+15/8/13 Exson: Make TaxAuthorities.php html5 compatible and table columns sortable.
+15/8/13 Exson: Make TaxAuthorityRates.php html5 compatible.
+15/8/13 Exson: Make the tax category 'Freight' undeleted in TaxCategories.php and make it html5 compatible and table sortable.
+15/8/13 Exson: Make TaxGroups.php html5 compatible.
+15/8/13 Exson: Make TaxProvinces.php html5 compatible.
+15/8/13 Exson: Fixed the no-number warning in TopItems.php and make it html5 compatible.
14/8/2012 Exson: make UnitsOfMeasure.php html5 compatible.
-14/08/2013 Exson: html5 compatible for UserSettings.php
-14/8/2013 Exson: Make table in WorkCentres.php sortable.
-14/8/2013 Exson: make WhereUsedInquiry.php Html5 compatible.
-14/08/2013 Exson: Make WorkCentres.php html5 compatible.
-14/8/2013 Exson: HTML5 compatible for WorkOrderEntry.php.
-14/8/2013 Exson: fixed the in_array() warning in WorkOrderIssue.php and make it html5 compatible.
-14/8/2013 Exson: html5 compatible for WorkOrderReceive.php
-14/08/2013 Exson: Html5 compatible
+14/08/13 Exson: html5 compatible for UserSettings.php
+14/8/13 Exson: Make table in WorkCentres.php sortable.
+14/8/13 Exson: make WhereUsedInquiry.php Html5 compatible.
+14/08/13 Exson: Make WorkCentres.php html5 compatible.
+14/8/13 Exson: HTML5 compatible for WorkOrderEntry.php.
+14/8/13 Exson: fixed the in_array() warning in WorkOrderIssue.php and make it html5 compatible.
+14/8/13 Exson: html5 compatible for WorkOrderReceive.php
+14/08/13 Exson: Html5 compatible
2013/08/14 Exson: Fixed INSERT sql errors and href link error and make it html5 compatible in WOSerialNos.php.
04/8/13 icedlava: Update Manual - Using the webERP Installer - rework of some text due to new installer, and updated screen shots
03/8/13 icedlava: Obfuscate database name in login, do not show company in login if directory/company not wanted.
Modified: trunk/includes/MainMenuLinksArray.php
===================================================================
--- trunk/includes/MainMenuLinksArray.php 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/includes/MainMenuLinksArray.php 2013-09-06 10:24:12 UTC (rev 6329)
@@ -524,7 +524,8 @@
_('Update costs for all BOM items, from the bottom up'),
_('Re-apply costs to Sales Analysis'),
_('Delete sales transactions'),
- _('Reverse all supplier payments on a specified date'));
+ _('Reverse all supplier payments on a specified date'),
+ _('Update sales analysis with latest customer data'));
$MenuItems['Utilities']['Transactions']['URL'] = array( '/Z_ImportGLTransactions.php',
'/Z_ChangeCustomerCode.php',
@@ -536,7 +537,8 @@
'/Z_BottomUpCosts.php',
'/Z_ReApplyCostToSA.php',
'/Z_DeleteSalesTransActions.php',
- '/Z_ReverseSuppPaymentRun.php');
+ '/Z_ReverseSuppPaymentRun.php',
+ '/Z_UpdateSalesAnalysisWithLatestCustomerData.php');
$MenuItems['Utilities']['Reports']['Caption'] = array( _('Show Local Currency Total Debtor Balances'),
_('Show Local Currency Total Suppliers Balances'),
Modified: trunk/install/index.php
===================================================================
--- trunk/install/index.php 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/install/index.php 2013-09-06 10:24:12 UTC (rev 6329)
@@ -1023,13 +1023,13 @@
<label for="CountrySQL"><?php echo _("Chart of Accounts"); ?>: </label>
<select name="CountrySQL">
<?php
- $CountrySQLs = scandir('../sql/mysql/coa');
+ $CountrySQLs = scandir('../sql/mysql/country_sql');
$CountrySQLs = array_diff($CountrySQLs,array('.','..'));
if(!empty($CountrySQLs)){
foreach($CountrySQLs as $Value){
- if($Value == 'weberp-new.sql'){
+ if($Value == 'default.sql'){
echo '<option value="'.$Value.'" selected="true">' . $Value . '</option>';
- }elseif($Value != 'weberp-demo.sql'){// the demo sql selection is not necessary so not allowed
+ }elseif($Value != 'demo.sql'){// the demo sql selection is not necessary so not allowed
echo '<option value="'.$Value.'">' . $Value . '</option>';
}
}
@@ -1038,7 +1038,7 @@
}
?>
</select>
- <span><?php echo _('A starter Chart of Accounts (use weberp-new.sql if having empty db problems)'); ?> </span>
+ <span><?php echo _('A starter Chart of Accounts (use default.sql if having empty db problems)'); ?> </span>
</li>
<li>
<label for="TimeZone"><?php echo _("Time Zone"); ?>: </label>
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: web-erp\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-09-06 20:40+1200\n"
+"POT-Creation-Date: 2013-09-06 21:34+1200\n"
"PO-Revision-Date: 2013-06-01 11:19-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: Arabic <ar...@li...>\n"
@@ -4201,7 +4201,7 @@
#: PricesBasedOnMarkUp.php:336 PricesBasedOnMarkUp.php:352
#: SelectCreditItems.php:1441 SpecialOrder.php:502 StockCategories.php:21
#: StockCategories.php:84 StockCategories.php:164 Z_ReApplyCostToSA.php:63
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "because"
msgstr ""
@@ -36882,7 +36882,7 @@
msgid "Could not recalculate the current cost of the assembly item"
msgstr ""
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "Could not update the sales analysis records for"
msgstr ""
@@ -37104,6 +37104,33 @@
msgid "Please re-select the reporting period"
msgstr ""
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6
+msgid "Apply Current Customer and Branch data to Sales Analysis"
+msgstr ""
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14
+msgid "Update Sales Analysis Customer Data"
+msgstr ""
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29
+#, fuzzy
+msgid "Could not retrieve the customer records to be updated because"
+msgstr "لم أستطيع استرجاع القطاع المطلوب حاول مجددا"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+msgid "Updated sales analysis for customer code"
+msgstr ""
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+msgid "and branch code"
+msgstr ""
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:47
+msgid ""
+"Updated the sales analysis with all the latest sales areas, salesman and "
+"sales types as set up now"
+msgstr ""
+
#: Z_Upgrade_3.01-3.02.php:6
msgid "Upgrade webERP 3.01 - 3.02"
msgstr ""
Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: webERP 3.08\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-09-06 20:40+1200\n"
+"POT-Creation-Date: 2013-09-06 21:34+1200\n"
"PO-Revision-Date: 2013-06-01 11:20-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: Czech <cs...@li...>\n"
@@ -4322,7 +4322,7 @@
#: PricesBasedOnMarkUp.php:336 PricesBasedOnMarkUp.php:352
#: SelectCreditItems.php:1441 SpecialOrder.php:502 StockCategories.php:21
#: StockCategories.php:84 StockCategories.php:164 Z_ReApplyCostToSA.php:63
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "because"
msgstr "protože"
@@ -39394,7 +39394,7 @@
msgid "Could not recalculate the current cost of the assembly item"
msgstr "Nemohli přepočítat současné náklady na montážní položky"
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "Could not update the sales analysis records for"
msgstr "Nepodařilo se aktualizovat analýzu prodeje záznamy"
@@ -39620,6 +39620,38 @@
msgid "Please re-select the reporting period"
msgstr "Prosím re-vyberte účetního období"
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6
+#, fuzzy
+msgid "Apply Current Customer and Branch data to Sales Analysis"
+msgstr "Použít aktuální náklady na analýzu prodeje"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14
+#, fuzzy
+msgid "Update Sales Analysis Customer Data"
+msgstr "Update Analýza prodeje Náklady"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29
+#, fuzzy
+msgid "Could not retrieve the customer records to be updated because"
+msgstr ""
+"Nepodařilo se načíst prodeje analýza záznamů, které se aktualizovat, protože"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+#, fuzzy
+msgid "Updated sales analysis for customer code"
+msgstr "Aktualizováno analýzu prodeje za období"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+#, fuzzy
+msgid "and branch code"
+msgstr "Kód oboru"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:47
+msgid ""
+"Updated the sales analysis with all the latest sales areas, salesman and "
+"sales types as set up now"
+msgstr ""
+
#: Z_Upgrade_3.01-3.02.php:6
msgid "Upgrade webERP 3.01 - 3.02"
msgstr "Upgrade webERP 3,01 až 3,02"
Modified: trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: WebERP 4.09.1/trunk\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-09-06 20:40+1200\n"
+"POT-Creation-Date: 2013-09-06 21:34+1200\n"
"PO-Revision-Date: 2013-08-11 18:37-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: Deutsch <web...@li...>\n"
@@ -4354,7 +4354,7 @@
#: PricesBasedOnMarkUp.php:336 PricesBasedOnMarkUp.php:352
#: SelectCreditItems.php:1441 SpecialOrder.php:502 StockCategories.php:21
#: StockCategories.php:84 StockCategories.php:164 Z_ReApplyCostToSA.php:63
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "because"
msgstr "weil"
@@ -39576,7 +39576,7 @@
msgid "Could not recalculate the current cost of the assembly item"
msgstr "Konnte die aktuellen Kosten nicht ermitteln für den Sammelartikel"
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "Could not update the sales analysis records for"
msgstr "Konnte die Umsatzpositionen nicht ändern für"
@@ -39802,6 +39802,37 @@
msgid "Please re-select the reporting period"
msgstr "Bitte geben Sie die Buchungsperiode nochmals ein"
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6
+#, fuzzy
+msgid "Apply Current Customer and Branch data to Sales Analysis"
+msgstr "Umsatzpositionen neu bewerten"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14
+#, fuzzy
+msgid "Update Sales Analysis Customer Data"
+msgstr "Umsätze neu mit Kosten bewerten"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29
+#, fuzzy
+msgid "Could not retrieve the customer records to be updated because"
+msgstr "Konnte die neu zu bewertenden Umsatzpositionen nicht abrufen, weil"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+#, fuzzy
+msgid "Updated sales analysis for customer code"
+msgstr "Umsatzpositionen wurden geändert für Periode"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+#, fuzzy
+msgid "and branch code"
+msgstr "Niederlassung"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:47
+msgid ""
+"Updated the sales analysis with all the latest sales areas, salesman and "
+"sales types as set up now"
+msgstr ""
+
#: Z_Upgrade_3.01-3.02.php:6
msgid "Upgrade webERP 3.01 - 3.02"
msgstr "Upgrade von webERP Version 3.01 auf 3.02"
Modified: trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-09-06 20:40+1200\n"
+"POT-Creation-Date: 2013-09-06 21:34+1200\n"
"PO-Revision-Date: 2013-06-01 11:22-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: LANGUAGE <LL...@li...>\n"
@@ -4422,7 +4422,7 @@
#: PricesBasedOnMarkUp.php:336 PricesBasedOnMarkUp.php:352
#: SelectCreditItems.php:1441 SpecialOrder.php:502 StockCategories.php:21
#: StockCategories.php:84 StockCategories.php:164 Z_ReApplyCostToSA.php:63
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "because"
msgstr "επειδή"
@@ -40917,7 +40917,7 @@
"Θα μπορούσε να μην υπολογίσει εκ νέου το τρέχον κόστος του στοιχείου "
"συναρμολόγησης"
-#: Z_ReApplyCostToSA.php:75
+#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40
msgid "Could not update the sales analysis records for"
msgstr "Δεν μπορέσαμε να ενημερώσουμε τα αρχεία ανάλυση των πωλήσεων για"
@@ -41147,6 +41147,39 @@
msgid "Please re-select the reporting period"
msgstr "Παρακαλώ επιλέξτε ξανά την περίοδο αναφοράς"
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6
+#, fuzzy
+msgid "Apply Current Customer and Branch data to Sales Analysis"
+msgstr "Εφαρμόστε τρέχον κόστος για Ανάλυση Πωλήσεων"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14
+#, fuzzy
+msgid "Update Sales Analysis Customer Data"
+msgstr "Ενημέρωση των δικαστικών εξόδων Ανάλυση Πωλήσεων"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29
+#, fuzzy
+msgid "Could not retrieve the customer records to be updated because"
+msgstr ""
+"Δεν μπόρεσα να ανακτήσετε τα αρχεία ανάλυση των πωλήσεων να ενημερωθεί, "
+"επειδή"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+#, fuzzy
+msgid "Updated sales analysis for customer code"
+msgstr "Ενημερώθηκε ανάλυση πωλήσεων για την περίοδο"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43
+#, fuzzy
+msgid "and branch code"
+msgstr "Κωδικός Δικτύου"
+
+#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:47
+msgid ""
+"Updated the sales analysis with all the latest sales areas, salesman and "
+"sales types as set up now"
+msgstr ""
+
#: Z_Upgrade_3.01-3.02.php:6
msgid "Upgrade webERP 3.01 - 3.02"
msgstr "Αναβάθμιση webERP 3,01 - 3,02"
Modified: trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot
===================================================================
--- trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot 2013-09-06 08:45:56 UTC (rev 6328)
+++ trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot 2013-09-06 10:24:12 UTC (rev 6329)
@@ -8,7 +8,7 @@
msgstr ""
"Proj...
[truncated message content] |
|
From: <ice...@us...> - 2013-09-06 15:48:53
|
Revision: 6331
http://sourceforge.net/p/web-erp/reponame/6331
Author: icedlava
Date: 2013-09-06 15:48:49 +0000 (Fri, 06 Sep 2013)
Log Message:
-----------
PrintCustStatements.php fix to allow selection of range with alphanumeric customer codes in length to match database definition.
Modified Paths:
--------------
trunk/PrintCustStatements.php
trunk/doc/Change.log
Modified: trunk/PrintCustStatements.php
===================================================================
--- trunk/PrintCustStatements.php 2013-09-06 15:30:51 UTC (rev 6330)
+++ trunk/PrintCustStatements.php 2013-09-06 15:48:49 UTC (rev 6331)
@@ -422,9 +422,9 @@
echo '<table class="selection">';
echo '<tr><td>' . _('Starting Customer statement to print (Customer code)'). '
- </td><td><input type="text" maxlength="6" size="7" name="FromCust" value="1" /></td></tr>
+ </td><td><input type="text" maxlength="10" size="8" name="FromCust" value="1" /></td></tr>
<tr><td>' . _('Ending Customer statement to print (Customer code)') . '</td><td>
- <input type="text" maxlength="6" size="7" name="ToCust" value="zzzzzz" /></td></tr></table>
+ <input type="text" maxlength="10" size="8" name="ToCust" value="zzzzzz" /></td></tr></table>
<br /><div class="centre">
<input type="submit" name="PrintPDF" value="' .
_('Print All Statements in the Range Selected').'" />
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-06 15:30:51 UTC (rev 6330)
+++ trunk/doc/Change.log 2013-09-06 15:48:49 UTC (rev 6331)
@@ -1,4 +1,6 @@
webERP Change Log
+7/9/13 icedlava: Fix PrintStatements.php to allow selection of alphanumeric customer codes in length to match database definition.
+7/9/13 icedlava: StockStatus.php Allow dash in stock code again.
6/9/13 Version 4.11.1
|
|
From: <dai...@us...> - 2013-09-06 22:41:16
|
Revision: 6333
http://sourceforge.net/p/web-erp/reponame/6333
Author: daintree
Date: 2013-09-06 22:41:12 +0000 (Fri, 06 Sep 2013)
Log Message:
-----------
patterns
Modified Paths:
--------------
trunk/CustomerBranches.php
trunk/Customers.php
trunk/StockStatus.php
trunk/Stocks.php
Modified: trunk/CustomerBranches.php
===================================================================
--- trunk/CustomerBranches.php 2013-09-06 15:56:45 UTC (rev 6332)
+++ trunk/CustomerBranches.php 2013-09-06 22:41:12 UTC (rev 6333)
@@ -605,7 +605,7 @@
echo '<table class="selection">
<tr>
<td>' . _('Branch Code'). ':</td>
- <td><input ' .(in_array('BranchCode',$Errors) ? 'class="inputerror"' : '' ) . ' tabindex="1" type="text" name="BranchCode" required="required" pattern="[a-zA-Z0-9_]*" title="' . _('The branch code can be up to 10 alpha-numeric characters or underscores') . '" size="12" maxlength="10" value="' . $_POST['BranchCode'] . '" /></td>
+ <td><input ' .(in_array('BranchCode',$Errors) ? 'class="inputerror"' : '' ) . ' tabindex="1" type="text" name="BranchCode" required="required" pattern="[0-9a-zA-Z_]{1,10}" title="' . _('The branch code can be up to 10 alpha-numeric characters or underscores') . '" size="12" maxlength="10" value="' . $_POST['BranchCode'] . '" /></td>
</tr>';
$_POST['DeliverBlind'] = $_SESSION['DefaultBlindPackNote'];
}
@@ -619,13 +619,14 @@
echo _('Branch Name').':</td>';
if (!isset($_POST['BrName'])) {$_POST['BrName']='';}
echo '<td><input tabindex="2" type="text" autofocus="autofocus" required="required" name="BrName" title="' . _('The branch name should identify the particular delivery address of the customer and must be entered') . '" minlength="5" size="41" maxlength="40" value="'. $_POST['BrName'].'" /></td>
- </tr>';
- echo '<tr>
+ </tr>
+ <tr>
<td>' . _('Branch Contact').':</td>';
if (!isset($_POST['ContactName'])) {$_POST['ContactName']='';}
echo '<td><input tabindex="3" type="text" name="ContactName" required="required" size="41" maxlength="40" value="'. $_POST['ContactName'].'" /></td>
- </tr>';
- echo '<tr><td>' . _('Street Address 1 (Street)').':</td>';
+ </tr>
+ <tr>
+ <td>' . _('Street Address 1 (Street)').':</td>';
if (!isset($_POST['BrAddress1'])) {
$_POST['BrAddress1']='';
}
@@ -792,11 +793,12 @@
</tr>
<tr>
<td>' . _('Phone Number').':</td>';
- if (!isset($_POST['PhoneNo'])) {$_POST['PhoneNo']='';}
+ if (!isset($_POST['PhoneNo'])) {
+ $_POST['PhoneNo']='';
+ }
echo '<td><input tabindex="16" type="tel" name="PhoneNo" pattern="[0-9+()\s]*" size="22" maxlength="20" value="'. $_POST['PhoneNo'].'" /></td>
- </tr>';
-
- echo '<tr>
+ </tr>
+ <tr>
<td>' . _('Fax Number').':</td>';
if (!isset($_POST['FaxNo'])) {
$_POST['FaxNo']='';
@@ -853,8 +855,6 @@
echo ' </select></td>
</tr>';
-
-
$SQL = "SELECT shipper_id, shippername FROM shippers";
$ShipperResults = DB_query($SQL,$db);
Modified: trunk/Customers.php
===================================================================
--- trunk/Customers.php 2013-09-06 15:56:45 UTC (rev 6332)
+++ trunk/Customers.php 2013-09-06 22:41:12 UTC (rev 6333)
@@ -423,23 +423,24 @@
include('includes/footer.inc');
exit;
}
- echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">';
- echo '<div>';
- echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
+ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">
+ <div>
+ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />
+ <input type="hidden" name="New" value="Yes" />';
- echo '<input type="hidden" name="New" value="Yes" />';
-
$DataError =0;
echo '<table class="selection" cellspacing="4">
- <tr><td valign="top"><table class="selection">';
+ <tr>
+ <td valign="top">
+ <table class="selection">';
/* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one,
then provide an input box for the DebtorNo to manually assigned */
if ($_SESSION['AutoDebtorNo']==0) {
echo '<tr>
<td>' . _('Customer Code') . ':</td>
- <td><input tabindex="1" type="text" name="DebtorNo" required="required" autofocus="autofocus" pattern="[0-9a-zA-Z_]*" title="' . _('The customer code can be up to 10 alpha-numeric characters long or underscore') . '" size="11" maxlength="10" /></td></tr>';
+ <td><input tabindex="1" type="text" name="DebtorNo" required="required" autofocus="autofocus" pattern="[0-9a-zA-Z_]{1,10}" title="' . _('The customer code can be up to 10 alpha-numeric characters long or underscore') . '" size="11" maxlength="10" /></td></tr>';
}
echo '<tr>
@@ -1183,4 +1184,4 @@
} // end of main ifs
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/StockStatus.php
===================================================================
--- trunk/StockStatus.php 2013-09-06 15:56:45 UTC (rev 6332)
+++ trunk/StockStatus.php 2013-09-06 22:41:12 UTC (rev 6333)
@@ -59,7 +59,7 @@
echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">';
echo '<div class="centre"><input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />';
-echo _('Stock Code') . ':<input type="text" pattern="(?!^[\s%]*$)[^+><]{1,20}" title ="'._('Input actual stock ID. Blank, percentage, plus, left and right angle bracket is not allowed').'" placeholder="'._('Blank, %, plus, left and right angle bracket is not allowed').'" required="required" name="StockID" size="21" value="' . $StockID . '" maxlength="20" />';
+echo _('Stock Code') . ':<input type="text" pattern="[0-9a-zA-Z_\-]{1,20}" title ="'._('Input the stock code to inquire upon. Only alpha-numeric characters are allowed in stock codes with no spaces punctuation or special characters. Underscore or dashes are allowed.').'" placeholder="'._('Alpha-numeric only').'" required="required" name="StockID" size="21" value="' . $StockID . '" maxlength="20" />';
echo ' <input type="submit" name="ShowStatus" value="' . _('Show Stock Status') . '" />';
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2013-09-06 15:56:45 UTC (rev 6332)
+++ trunk/Stocks.php 2013-09-06 22:41:12 UTC (rev 6333)
@@ -872,7 +872,7 @@
if ($New==1) {
echo '<tr>
<td>' . _('Item Code'). ':</td>
- <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" pattern="[0-9a-zA-Z_]*" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" /></td>
+ <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" pattern="[0-9a-zA-Z_\-]{1,20}" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" title ="'._('Input the stock code, only alpha-numeric characters are allowed in stock codes with no spaces punctuation or special characters. Underscore and dashes are also allowed').'" placeholder="'._('alpha-numeric only').'" /></td>
</tr>';
} else {
echo '<tr>
@@ -971,9 +971,9 @@
$_POST[$PostVariableName] ='';
}
echo '<tr>
- <td>' . $LanguagesArray[$DescriptionLanguage]['LanguageName'] . ' ' . _('Description') . ':</td>
- <td><input type="text" name="'. $PostVariableName . '" size="52" maxlength="50" value="' . $_POST[$PostVariableName] . '" /></td>
- </tr>';
+ <td>' . $LanguagesArray[$DescriptionLanguage]['LanguageName'] . ' ' . _('Description') . ':</td>
+ <td><input type="text" name="'. $PostVariableName . '" size="52" maxlength="50" value="' . $_POST[$PostVariableName] . '" title="' . _('This language translation of the item will be used in invoices and credits to customers who are defined to use this language. The language translations to maintain here can be configured in the system parameters page') . '" /></td>
+ </tr>';
}
}
|
|
From: <dai...@us...> - 2013-09-07 07:26:34
|
Revision: 6334
http://sourceforge.net/p/web-erp/reponame/6334
Author: daintree
Date: 2013-09-07 07:26:30 +0000 (Sat, 07 Sep 2013)
Log Message:
-----------
Exson/Tim - using javascript to set pattern
Modified Paths:
--------------
trunk/Stocks.php
trunk/doc/Change.log
trunk/javascripts/MiscFunctions.js
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2013-09-06 22:41:12 UTC (rev 6333)
+++ trunk/Stocks.php 2013-09-07 07:26:30 UTC (rev 6334)
@@ -80,9 +80,6 @@
} elseif ( $_FILES['ItemPicture']['type'] == 'text/plain' ) { //File Type Check
prnMsg( _('Only graphics files can be uploaded'),'warn');
$UploadTheFile ='No';
- } elseif ( $_FILES['ItemPicture']['error'] == 6 ) { //upload temp directory check
- prnMsg( _('No tmp directory set. You must have a tmp directory set in your PHP for upload of files. '),'warn');
- $UploadTheFile ='No';
} elseif (file_exists($filename)){
prnMsg(_('Attempting to overwrite an existing item image'),'warn');
$result = unlink($filename);
@@ -94,7 +91,7 @@
if ($UploadTheFile=='Yes'){
$result = move_uploaded_file($_FILES['ItemPicture']['tmp_name'], $filename);
- $message = ($result)?_('File url') . '<a href="' . $filename .'">' . $filename . '</a>' : _('Something is wrong with uploading a file');
+ $message = ($result)?_('File url') .'<a href="' . $filename .'">' . $filename . '</a>' : _('Something is wrong with uploading a file');
}
}
@@ -704,7 +701,7 @@
} else {
- echo '<br />' . "\n";
+ echo '<br />'. "\n";
prnMsg( _('Validation failed, no updates or deletes took place'), 'error');
}
@@ -871,12 +868,12 @@
}
if ($New==1) {
echo '<tr>
- <td>' . _('Item Code'). ':</td>
- <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" pattern="[0-9a-zA-Z_\-]{1,20}" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" title ="'._('Input the stock code, only alpha-numeric characters are allowed in stock codes with no spaces punctuation or special characters. Underscore and dashes are also allowed').'" placeholder="'._('alpha-numeric only').'" /></td>
+ <td>'. _('Item Code'). ':</td>
+ <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" data-type="code" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" /></td>
</tr>';
} else {
echo '<tr>
- <td>' . _('Item Code'). ':</td>
+ <td>'. _('Item Code'). ':</td>
<td>' . $StockID . '<input type="hidden" name ="StockID" value="' . $StockID . '" /></td>
</tr>';
}
@@ -943,13 +940,13 @@
}
echo '<tr><td>' . _('Item Code') . ':</td>
- <td>' . $StockID . '<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
+ <td>'.$StockID.'<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
</tr>';
} else { // some changes were made to the data so don't re-set form variables to DB ie the code above
echo '<tr>
<td>' . _('Item Code') . ':</td>
- <td>' . $StockID . '<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
+ <td>'.$StockID.'<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
</tr>';
}
@@ -971,9 +968,9 @@
$_POST[$PostVariableName] ='';
}
echo '<tr>
- <td>' . $LanguagesArray[$DescriptionLanguage]['LanguageName'] . ' ' . _('Description') . ':</td>
- <td><input type="text" name="'. $PostVariableName . '" size="52" maxlength="50" value="' . $_POST[$PostVariableName] . '" title="' . _('This language translation of the item will be used in invoices and credits to customers who are defined to use this language. The language translations to maintain here can be configured in the system parameters page') . '" /></td>
- </tr>';
+ <td>' . $LanguagesArray[$DescriptionLanguage]['LanguageName'] . ' ' . _('Description') . ':</td>
+ <td><input type="text" name="'. $PostVariableName . '" size="52" maxlength="50" value="' . $_POST[$PostVariableName] . '" /></td>
+ </tr>';
}
}
@@ -987,12 +984,12 @@
<td><textarea ' . (in_array('LongDescription',$Errors) ? 'class="texterror"' : '' ) .' name="LongDescription" cols="40" rows="3">' . stripslashes($LongDescription) . '</textarea></td>
</tr>
<tr>
- <td>' . _('Image File (.jpg)') . ':</td>
+ <td>'. _('Image File (.jpg)') . ':</td>
<td><input type="file" id="ItemPicture" name="ItemPicture" />
<br /><input type="checkbox" name="ClearImage" id="ClearImage" value="1" > '._('Clear Image').'
</td>';
-if (function_exists('imagecreatefromjpg') && isset($StockID) && !empty($StockID)){
+ if (function_exists('imagecreatefromjpg')){
$StockImgLink = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC'.
'&StockID='.urlencode($StockID).
'&text='.
@@ -1000,7 +997,7 @@
'&height=100'.
'" alt="" />';
} else {
- if( isset($StockID) AND !empty($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) {
+ if( isset($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) {
$StockImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg" height="100" width="100" />';
if (isset($_POST['ClearImage']) ) {
//workaround for many variations of permission issues that could cause unlink fail
@@ -1017,7 +1014,7 @@
}
if ($StockImgLink!=_('No Image')) {
- echo '<td>' . _('Image') . '<br />' . $StockImgLink . '</td>';
+ echo '<td>' . _('Image') . '<br />'.$StockImgLink . '</td>';
}
echo '</tr>';
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-06 22:41:12 UTC (rev 6333)
+++ trunk/doc/Change.log 2013-09-07 07:26:30 UTC (rev 6334)
@@ -1,4 +1,6 @@
webERP Change Log
+
+7/9/13 Exson: using javascript to set the pattern attribute based on a new attribute data-type and first script Stocks.php
7/9/13 icedlava: Fix PrintStatements.php to allow selection of alphanumeric customer codes in length to match database definition.
7/9/13 icedlava: StockStatus.php Allow dash in stock code again.
@@ -50,7 +52,7 @@
15/8/13 Exson: Make TaxGroups.php html5 compatible.
15/8/13 Exson: Make TaxProvinces.php html5 compatible.
15/8/13 Exson: Fixed the no-number warning in TopItems.php and make it html5 compatible.
-14/8/2012 Exson: make UnitsOfMeasure.php html5 compatible.
+14/8/12 Exson: make UnitsOfMeasure.php html5 compatible.
14/08/13 Exson: html5 compatible for UserSettings.php
14/8/13 Exson: Make table in WorkCentres.php sortable.
14/8/13 Exson: make WhereUsedInquiry.php Html5 compatible.
@@ -261,11 +263,11 @@
12/10/12 Phil: SelectAsset.php now goes to FixedAssetItems.php when an item is selected to display the asset for editing
12/10/12 Rafael Chacón: Updated CRC - Costa Rica flag image
10/10/12 Harald Ringehahn: Updated German translation
-9/10/2012 Exson: fixed typo in CounterSales.php reported by thumb.
+9/10/12 Exson: fixed typo in CounterSales.php reported by thumb.
9/10/12 Exson: installation would not allow demo to be installed - install/index.php
7/10/12 Phil: Fix WorkOrderIssue.php required by date
-6/10/2012 Release 4.09
+6/10/12 Release 4.09
27/9/12 Samudaya Nanayakkara: WorkOrderIssue.php with multiple work order items was not calculating requirements correctly nor showing all the outputs of the work order with correct quantities received and ordered. Reworked the script to show a table of the output items and the sql to get the correct component requirements.
27/9/12 Samudaya Nanayakkara: InternalStockRequestFulfill.php fixed quantity not filtered for number formatting. Phil tidy up coding conventions
@@ -278,25 +280,25 @@
8/9/12 Phil: removed all use of $_REQUEST across all scripts replace with GET/POST to cirumvent SQL injection attacks as reported by Daniel Compton
6/9/12 Thomas Timothy Lie and baliboss.com Team: updated Indonesian translation
1/9/12 Carlos Rubio: AccountGroups.php now has option to move to alternative accountgroups
-30/8/2012 Exson: fixed sql problem reported bymodpr0be
+30/8/12 Exson: fixed sql problem reported bymodpr0be
24/8/12 Serge Gélinas: Added new fr_CA.utf8 French Quebec translation
21/8/12 Phil: Stock.php could not change an item to an assembly if there were any old completed or deleted/rejected purchase orders for the item.
-20/8/2012 Phil: StockCounts.php now allows entry Bar Codes or stock codes
-20/8/2012 Phil: Now allow labour type category items to be selected searched for in CounterSales.php and SelectOrderItems.php
-30/7/2012 Exson: fixed that the shipper will change sometime when modify the PO by modify file PO_ReadInOrder.inc. Reported by Craig.
-29/7/2012 Phil: install/save.php now uses date_default_timezone_set function to set the time-zone to avoid all the nasty warnings
-29/7/2012 Hindra Joshua: Updates to Professional and Professional-rtl themes - tidy up images not used
-28/7/2012 Hindra Joshua: Fix for Gel theme and default theme to work with new styles
-26/7/2012 Hindra Joshua: New wood theme - mods to index.php / header.inc and footer.inc and modify existing themes to work with new html tag classes used - using <div> tags instead of tables for layout of the main menu
-25/7/2012 Exson: Fix the typo to make the $TotalQuantityOnHand is correct in SupplierInvoice.php
-24/7/2012 Exson/Phil: SupplierInvoice.php incorrect calculation of weighted average cost just using the stock quantity at a single location, now corrected
-24/7/2012 Phil: includes/Z_POSDataCreation.php - added system default date format config to POS data upload file
-22/7/2012 Phil/Bob Thomas: Fix all scripts where demand was calculated including salesorder quotations (to exclude quotations). CounterSales.php DeliveryDetails.php SelectOrderItems.php StockCheck.php StockLocStatus.php
-22/7/2012 Phil: Fixed on order quantities to exclude purchase orders with status completed and cancelled CounterSales.php SelectOrderItems.php DeliveryDetails.php StockLocStatus.php
-21/7/2012 Phil: Fix api function for POS prices includes/Z_POSDataCreation.php
-21/7/2012 Ricard: sorting products by discontinued then stockid to ensure obsolete items at the end of the list
-20/7/2012 Tim: Added scripts to inquire on and to print General Ledger Journals
-20/7/2012 Exson: Fixed that delete or editing new serial items will lead to hyper-link changed as select credit items instead of back to credit invoice in scripts InputSerialItemsKeyed.php. Report by UK-Steven from webERP Chinese Community QQ group
+20/8/12 Phil: StockCounts.php now allows entry Bar Codes or stock codes
+20/8/12 Phil: Now allow labour type category items to be selected searched for in CounterSales.php and SelectOrderItems.php
+30/7/12 Exson: fixed that the shipper will change sometime when modify the PO by modify file PO_ReadInOrder.inc. Reported by Craig.
+29/7/12 Phil: install/save.php now uses date_default_timezone_set function to set the time-zone to avoid all the nasty warnings
+29/7/12 Hindra Joshua: Updates to Professional and Professional-rtl themes - tidy up images not used
+28/7/12 Hindra Joshua: Fix for Gel theme and default theme to work with new styles
+26/7/12 Hindra Joshua: New wood theme - mods to index.php / header.inc and footer.inc and modify existing themes to work with new html tag classes used - using <div> tags instead of tables for layout of the main menu
+25/7/12 Exson: Fix the typo to make the $TotalQuantityOnHand is correct in SupplierInvoice.php
+24/7/12 Exson/Phil: SupplierInvoice.php incorrect calculation of weighted average cost just using the stock quantity at a single location, now corrected
+24/7/12 Phil: includes/Z_POSDataCreation.php - added system default date format config to POS data upload file
+22/7/12 Phil/Bob Thomas: Fix all scripts where demand was calculated including salesorder quotations (to exclude quotations). CounterSales.php DeliveryDetails.php SelectOrderItems.php StockCheck.php StockLocStatus.php
+22/7/12 Phil: Fixed on order quantities to exclude purchase orders with status completed and cancelled CounterSales.php SelectOrderItems.php DeliveryDetails.php StockLocStatus.php
+21/7/12 Phil: Fix api function for POS prices includes/Z_POSDataCreation.php
+21/7/12 Ricard: sorting products by discontinued then stockid to ensure obsolete items at the end of the list
+20/7/12 Tim: Added scripts to inquire on and to print General Ledger Journals
+20/7/12 Exson: Fixed that delete or editing new serial items will lead to hyper-link changed as select credit items instead of back to credit invoice in scripts InputSerialItemsKeyed.php. Report by UK-Steven from webERP Chinese Community QQ group
15/7/12 Gilberto Dos Santos Alves: updated pt_BR.utf8 translation
13/7/12 Tim: Fix up the sql where a field was selected twice
10/7/12 Phil: Made purchase order lines look at the purchasing data lead time and set the delivery date of the line to today + the lead time if this is beyond the delivery date specified in the PO header.
@@ -306,40 +308,40 @@
30/6/12 Phil: Attempt at quicker price retrieval
30/6/12 Phil: Allow creation of work orders for Raw materials - well intermediary components manufacture - per Bob Thomas email
26/06/12 Bob Thomas: StockAdjustments fix link to controlled stock adjustments entry
-24/06/2012 Phil: Added tooltip/title showing long description on many scripts where short description is currently shown SelectOrderItems.php SelectCreditItems.php CreditInvoice.php DeliveryDetails.php CounterSales.php RecurringSalesOrders.php
-24/06/2012 Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include.
-24/06/2012 Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php)
+24/06/12 Phil: Added tooltip/title showing long description on many scripts where short description is currently shown SelectOrderItems.php SelectCreditItems.php CreditInvoice.php DeliveryDetails.php CounterSales.php RecurringSalesOrders.php
+24/06/12 Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include.
+24/06/12 Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php)
-24/6/2012 Release 4.08.1
+24/6/12 Release 4.08.1
-22/06/2012 Icedlava: Fixed bug preventing insert of new account section
-21/06/2012 Phil: Added tooltip of long description to SelectProduct.php
-20/06/2012 Ricard: Added total QOH to NoSalesItems.php.
-20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php.
-19/06/2012 Ricard: Added new script Z_ChangeLocationCode.
-17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO).
+22/06/12 Icedlava: Fixed bug preventing insert of new account section
+21/06/12 Phil: Added tooltip of long description to SelectProduct.php
+20/06/12 Ricard: Added total QOH to NoSalesItems.php.
+20/06/12 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php.
+19/06/12 Ricard: Added new script Z_ChangeLocationCode.
+17/06/12 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO).
15/6/12 Release 4.08
-02/06/2012 Exson: Fixed the order cancel function failure in SelectOrderItems.php. Reported by Pak Richard.
+02/06/12 Exson: Fixed the order cancel function failure in SelectOrderItems.php. Reported by Pak Richard.
2/6/12 Phil: Settle counter sales and receipts should be set - now fixed.
-28/5/2012 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding.
-26/5/2012 Phil: Fix barcode printing on PDFPrintLabel.php - barcode functionality is unreliable so used (http://www.barcodepack.com) by Tomáš Horáček very simple and clean
-23/5/2012 Klaus: PO_PDFPurchOrders.php print purchase orders with supplier's code where it is available in the purchasing data
-23/5/2012 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed.
+28/5/12 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding.
+26/5/12 Phil: Fix barcode printing on PDFPrintLabel.php - barcode functionality is unreliable so used (http://www.barcodepack.com) by Tomáš Horáček very simple and clean
+23/5/12 Klaus: PO_PDFPurchOrders.php print purchase orders with supplier's code where it is available in the purchasing data
+23/5/12 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed.
2012/05/22 Exson: Modify accountcode to varchar(20) to meet some countries accounting regulation for more digits account code.
-22/5/2012 Phil Klaus's spot - removed issue location (must always be the same as the manufacture location) and the issued date from WorkOrderStatus.php form - as materials could be issued on many different dates and incorrect to say they are always issued on the current date
-20/5/2012 Klaus Beucher (Opto): move leadtime calculation into levelnetting function and resolve bug which does not use leadtime for highest level items of a BOM see also http://www.weberp.org/forum/showthread.php?tid=203
-18/5/2012 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php
-18/5/2012 Ahmed.Fawzy: Fixed Branch code validation rule to rule out '-' in CustomerBranches.php.
-14/5/2012 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php.
-14/5/2012 Exson: Fixed when user change the currency, the suggested rate can not changed accordingly in CustomerReceipt.php. Reported by Ahmed.Fawzy.
-14/5/2012 Ahmed.Fawzy: Fixed bugs that ExchangRateText be applied with locale_number_format() function in CustomerReceipt.php
-10/5/2012 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column.
-9/5/2012 Ahmed.Fawzy: Fixed bugs in Stocks.php that the properties for new items cannot be saved. Checked status is not kept and numeric values between max and min are not validated.
-8/5/2012 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear.
-8/05/2012 Exson Fix typo and add 'L' type for selection in SelectOrderItems.php.
-8/05/2012 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard.
+22/5/12 Phil Klaus's spot - removed issue location (must always be the same as the manufacture location) and the issued date from WorkOrderStatus.php form - as materials could be issued on many different dates and incorrect to say they are always issued on the current date
+20/5/12 Klaus Beucher (Opto): move leadtime calculation into levelnetting function and resolve bug which does not use leadtime for highest level items of a BOM see also http://www.weberp.org/forum/showthread.php?tid=203
+18/5/12 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php
+18/5/12 Ahmed.Fawzy: Fixed Branch code validation rule to rule out '-' in CustomerBranches.php.
+14/5/12 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php.
+14/5/12 Exson: Fixed when user change the currency, the suggested rate can not changed accordingly in CustomerReceipt.php. Reported by Ahmed.Fawzy.
+14/5/12 Ahmed.Fawzy: Fixed bugs that ExchangRateText be applied with locale_number_format() function in CustomerReceipt.php
+10/5/12 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column.
+9/5/12 Ahmed.Fawzy: Fixed bugs in Stocks.php that the properties for new items cannot be saved. Checked status is not kept and numeric values between max and min are not validated.
+8/5/12 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear.
+8/05/12 Exson Fix typo and add 'L' type for selection in SelectOrderItems.php.
+8/05/12 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard.
6/5/12 Phil: PaymentMethods.php added open cash drawer field for my POS.
4/5/12 Phil: Labels.php PDFPrintLabel.php fine tuning of new labels code
4/5/12 Phil: Fixed customer type name displayed when it is successfully deleted as reported by James Dupin
@@ -351,55 +353,55 @@
1/5/12 MTPubRadio: Fixed Purch Order PDF file text of Order Total- Excl tax does not align with amount horizontally.
29/4/12 Opto/Klaus: SelectWorkOrder.php added start date for the work order to the work orders displayed for selection
29/4/12 David Short: Added EDISendInvoices_Reece.php to send Reece format EDI invoices - approved by Reece (Australian Plumbing retailer)
-28/4/2012 Exson: Fixed bugs in MRPCalendar.php which caused working days cannot be calculated correctly.
-06/4/2012 Exson: Fixed PO header that does not display user's default warehous when iusse a new PO in PO_Header.php.
+28/4/12 Exson: Fixed bugs in MRPCalendar.php which caused working days cannot be calculated correctly.
+06/4/12 Exson: Fixed PO header that does not display user's default warehous when iusse a new PO in PO_Header.php.
25/4/12 Phil: Complete rewrite of PDFPrintLabels.php and Labels.php in webERP style - half the code and maintainable with templates stored with all the other data in the database. The new labels also allow fields to be printed as barcodes too.
-24/4/2012 Phil: fix CopyBOM.php that was insering a blank stockid into stockmaster as reported by Ricard
-21/04/2012 Vitaly: Editable item description in PO.
-16/04/2012 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php
-16/04/2012 Vitaly: Fixed Days textbox where it did not remember entered value.
-16/04/2012 Ricard: ReorderLevelLocation.php only showing items not discontinued (current).
-14/04/2012 Ricard: Adding stock category as filter for selection in TopItems.php
-12/4/2012 TurboPT: Replaced table row bgcolor [or style=background-color] with the appropriate css class.
-11/4/2012 Ricard: Code simplified on TopItems.php
-7/4/2012 TurboPT: Remove invalid attribute colspan found within table tag elements.
-5/4/2012 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group
-3/4/2012 Vitaly: Cleaned up Petty Cash module. Fixed several errors in SQL INSERT statements.
-3/4/2012 Exson: Fixed typo in PurchData.php.
-3/4/2012 Tim: fixed Supplier Code and Supplier part code inconsistent with database field length definition in PurchData.php. Reported by rfthomas.
-2/4/2012 Vitaly: BOMs delete function requires Location and WorkCentre to be set
-2/4/2012 Billy Chang,劉世琪: add Chinese Traditional TW locale
-2/4/2012 Exson: fixed CopyBOM.php sql errors and header already sent error.
-31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update'
-31/3/2012: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php
-31/3/2012 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group.
-31/3/2012 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10.
-30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php
-29/3/2012Exson:Fixed href typo error which lead to Select another location link does not work in InternalStockRequestFulfill.php
-29/3/2012 Exson: Fixed typo which caused scripts does not work. Cannot add or modify existed items.
-27/3/2012 Exson: fixed typo in footer.inc
-25/3/2012 Exson: Add page footer with total pages for users verification purpose in PrintCustOrder.php Reported by Russell
-25/3/2012 Exson: Add return back link for SupplierInvoice.php while users make input errors. Reported by Ke from webERP Chinese Community QQ group
-23/2/2012 Ke: Fixed footer time displayed garbage in Win OS of simplified Chinese Language in footer.inc. Reported and fixed by Ke from webERP Chinese community QQ group.
-23/3/2012 Exson: Fixed accounting period displayed abnormal in simplified Chinese language in Win OS in DateFunctions.inc. Reported by CQZ from webERP Chinese community QQ group
-23/3/2012 Exson: Fixed accounting period displayed abnormal in simplified Chinese language in Win OS. Reported by CQZ from webERP Chinese community QQ group.
-22/3/2012 Exson: Fixed no control of accumulated quantity of the same item during transferring which lead to negative quantity of stock in StockLocTransfer.php reported by Rong.
-22/3/2012 Exson: Fixed time displayed incorrectly in footer in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group.
-22/3/2012 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group.
-21/03/2012 CQZ,KE: (From webERP chinese community QQ Group) Fixed the csv file cannot display UTF-8 characters correctly in Excel.
-20/03/2012 Exson: Fixed Multi currency payment exchange rate errors in Payments.php. Reported by PakRichard
-20/3/2012 Exson: Fixed bugs that users push Process Credit button in Credit_Invoice.php directly without update will lead to unbalance Journal entry. Reported by Russ
-20/03/2012 Exson: Fixed item properties are not deleted together with item deletion in Stocks.php. Reported by Zhoule from webERP chinese forum QQ group.
-19/3/2012 Tim: Remove illegal copyright notices to prevent any legal problems.</p>
-13/3/2012 Exson: Fixed that same parent and component but added in different Work Centers and Locations will display twice in BOMs.php. And fixed that to delete one line of same parents and component will delete all lines with same parents and components. Add ArrayUnique function to get unique array for multi-dimensional array.
-13/3/2012 Exson: Correct mailing sending messages display error in PrintCustTransPortrait.php Reported by Thomas_lie
-12/3/2012 Exson: Fixed freight cost over 1000 cannot be calculated correctly in ConfirmDispatch_Invoice.php reported by Craig Craven.
+24/4/12 Phil: fix CopyBOM.php that was insering a blank stockid into stockmaster as reported by Ricard
+21/04/12 Vitaly: Editable item description in PO.
+16/04/12 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php
+16/04/12 Vitaly: Fixed Days textbox where it did not remember entered value.
+16/04/12 Ricard: ReorderLevelLocation.php only showing items not discontinued (current).
+14/04/12 Ricard: Adding stock category as filter for selection in TopItems.php
+12/4/12 TurboPT: Replaced table row bgcolor [or style=background-color] with the appropriate css class.
+11/4/12 Ricard: Code simplified on TopItems.php
+7/4/12 TurboPT: Remove invalid attribute colspan found within table tag elements.
+5/4/12 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group
+3/4/12 Vitaly: Cleaned up Petty Cash module. Fixed several errors in SQL INSERT statements.
+3/4/12 Exson: Fixed typo in PurchData.php.
+3/4/12 Tim: fixed Supplier Code and Supplier part code inconsistent with database field length definition in PurchData.php. Reported by rfthomas.
+2/4/12 Vitaly: BOMs delete function requires Location and WorkCentre to be set
+2/4/12 Billy Chang,劉世琪: add Chinese Traditional TW locale
+2/4/12 Exson: fixed CopyBOM.php sql errors and header already sent error.
+31/3/12 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update'
+31/3/12: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php
+31/3/12 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group.
+31/3/12 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10.
+30/3/12 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php
+29/3/12Exson:Fixed href typo error which lead to Select another location link does not work in InternalStockRequestFulfill.php
+29/3/12 Exson: Fixed typo which caused scripts does not work. Cannot add or modify existed items.
+27/3/12 Exson: fixed typo in footer.inc
+25/3/12 Exson: Add page footer with total pages for users verification purpose in PrintCustOrder...
[truncated message content] |
|
From: <dai...@us...> - 2013-09-07 08:13:56
|
Revision: 6335
http://sourceforge.net/p/web-erp/reponame/6335
Author: daintree
Date: 2013-09-07 08:13:53 +0000 (Sat, 07 Sep 2013)
Log Message:
-----------
Exson: use data-type attribute to set pattern
Modified Paths:
--------------
trunk/CustomerBranches.php
trunk/Customers.php
trunk/Stocks.php
trunk/doc/Change.log
trunk/javascripts/MiscFunctions.js
Modified: trunk/CustomerBranches.php
===================================================================
--- trunk/CustomerBranches.php 2013-09-07 07:26:30 UTC (rev 6334)
+++ trunk/CustomerBranches.php 2013-09-07 08:13:53 UTC (rev 6335)
@@ -605,7 +605,7 @@
echo '<table class="selection">
<tr>
<td>' . _('Branch Code'). ':</td>
- <td><input ' .(in_array('BranchCode',$Errors) ? 'class="inputerror"' : '' ) . ' tabindex="1" type="text" name="BranchCode" required="required" pattern="[0-9a-zA-Z_]{1,10}" title="' . _('The branch code can be up to 10 alpha-numeric characters or underscores') . '" size="12" maxlength="10" value="' . $_POST['BranchCode'] . '" /></td>
+ <td><input data-type="no-illegal-chars" ' . (in_array('BranchCode',$Errors) ? 'class="inputerror"' : '' ) . '" tabindex="1" type="text" name="BranchCode" required="required" title ="'._('Up to 10 characters for the branch code. The following characters are prohibited:') . ' \' " + . & \\ > <" placeholder="'._('alpha-numeric').'" size="12" maxlength="10" value="' . $_POST['BranchCode'] . '" /></td>
</tr>';
$_POST['DeliverBlind'] = $_SESSION['DefaultBlindPackNote'];
}
Modified: trunk/Customers.php
===================================================================
--- trunk/Customers.php 2013-09-07 07:26:30 UTC (rev 6334)
+++ trunk/Customers.php 2013-09-07 08:13:53 UTC (rev 6335)
@@ -440,7 +440,7 @@
if ($_SESSION['AutoDebtorNo']==0) {
echo '<tr>
<td>' . _('Customer Code') . ':</td>
- <td><input tabindex="1" type="text" name="DebtorNo" required="required" autofocus="autofocus" pattern="[0-9a-zA-Z_]{1,10}" title="' . _('The customer code can be up to 10 alpha-numeric characters long or underscore') . '" size="11" maxlength="10" /></td></tr>';
+ <td><input type="text" data-type="no-illegal-chars" tabindex="1" name="DebtorNo" required="required" autofocus="autofocus"title ="'._('Up to 10 characters for the customer code. The following characters are prohibited:') . ' \' " + . & \\ > <" placeholder="'._('alpha-numeric').'" size="11" maxlength="10" /></td></tr>';
}
echo '<tr>
Modified: trunk/Stocks.php
===================================================================
--- trunk/Stocks.php 2013-09-07 07:26:30 UTC (rev 6334)
+++ trunk/Stocks.php 2013-09-07 08:13:53 UTC (rev 6335)
@@ -80,6 +80,9 @@
} elseif ( $_FILES['ItemPicture']['type'] == 'text/plain' ) { //File Type Check
prnMsg( _('Only graphics files can be uploaded'),'warn');
$UploadTheFile ='No';
+ } elseif ( $_FILES['ItemPicture']['error'] == 6 ) { //upload temp directory check
+ prnMsg( _('No tmp directory set. You must have a tmp directory set in your PHP for upload of files. '),'warn');
+ $UploadTheFile ='No';
} elseif (file_exists($filename)){
prnMsg(_('Attempting to overwrite an existing item image'),'warn');
$result = unlink($filename);
@@ -91,7 +94,7 @@
if ($UploadTheFile=='Yes'){
$result = move_uploaded_file($_FILES['ItemPicture']['tmp_name'], $filename);
- $message = ($result)?_('File url') .'<a href="' . $filename .'">' . $filename . '</a>' : _('Something is wrong with uploading a file');
+ $message = ($result)?_('File url') . '<a href="' . $filename .'">' . $filename . '</a>' : _('Something is wrong with uploading a file');
}
}
@@ -701,7 +704,7 @@
} else {
- echo '<br />'. "\n";
+ echo '<br />' . "\n";
prnMsg( _('Validation failed, no updates or deletes took place'), 'error');
}
@@ -868,12 +871,12 @@
}
if ($New==1) {
echo '<tr>
- <td>'. _('Item Code'). ':</td>
- <td><input ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .' autofocus="autofocus" required="required" data-type="code" type="text" value="'.$StockID.'" name="StockID" size="20" maxlength="20" /></td>
+ <td>' . _('Item Code'). ':</td>
+ <td><input type="text" ' . (in_array('StockID',$Errors) ? 'class="inputerror"' : '' ) .'" data-type="no-illegal-chars" autofocus="autofocus" required="required" value="'.$StockID.'" name="StockID" size="20" maxlength="20" title ="'._('Input the stock code, the following characters are prohibited:') . ' \' " + . & \\ > <" placeholder="'._('alpha-numeric only').'" /></td>
</tr>';
} else {
echo '<tr>
- <td>'. _('Item Code'). ':</td>
+ <td>' . _('Item Code'). ':</td>
<td>' . $StockID . '<input type="hidden" name ="StockID" value="' . $StockID . '" /></td>
</tr>';
}
@@ -940,13 +943,13 @@
}
echo '<tr><td>' . _('Item Code') . ':</td>
- <td>'.$StockID.'<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
+ <td>' . $StockID . '<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
</tr>';
} else { // some changes were made to the data so don't re-set form variables to DB ie the code above
echo '<tr>
<td>' . _('Item Code') . ':</td>
- <td>'.$StockID.'<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
+ <td>' . $StockID . '<input type="hidden" name="StockID" value="' . $StockID . '" /></td>
</tr>';
}
@@ -968,9 +971,9 @@
$_POST[$PostVariableName] ='';
}
echo '<tr>
- <td>' . $LanguagesArray[$DescriptionLanguage]['LanguageName'] . ' ' . _('Description') . ':</td>
- <td><input type="text" name="'. $PostVariableName . '" size="52" maxlength="50" value="' . $_POST[$PostVariableName] . '" /></td>
- </tr>';
+ <td>' . $LanguagesArray[$DescriptionLanguage]['LanguageName'] . ' ' . _('Description') . ':</td>
+ <td><input type="text" name="'. $PostVariableName . '" size="52" maxlength="50" value="' . $_POST[$PostVariableName] . '" title="' . _('This language translation of the item will be used in invoices and credits to customers who are defined to use this language. The language translations to maintain here can be configured in the system parameters page') . '" /></td>
+ </tr>';
}
}
@@ -984,12 +987,12 @@
<td><textarea ' . (in_array('LongDescription',$Errors) ? 'class="texterror"' : '' ) .' name="LongDescription" cols="40" rows="3">' . stripslashes($LongDescription) . '</textarea></td>
</tr>
<tr>
- <td>'. _('Image File (.jpg)') . ':</td>
+ <td>' . _('Image File (.jpg)') . ':</td>
<td><input type="file" id="ItemPicture" name="ItemPicture" />
<br /><input type="checkbox" name="ClearImage" id="ClearImage" value="1" > '._('Clear Image').'
</td>';
- if (function_exists('imagecreatefromjpg')){
+if (function_exists('imagecreatefromjpg') && isset($StockID) && !empty($StockID)){
$StockImgLink = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC'.
'&StockID='.urlencode($StockID).
'&text='.
@@ -997,7 +1000,7 @@
'&height=100'.
'" alt="" />';
} else {
- if( isset($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) {
+ if( isset($StockID) AND !empty($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) {
$StockImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg" height="100" width="100" />';
if (isset($_POST['ClearImage']) ) {
//workaround for many variations of permission issues that could cause unlink fail
@@ -1014,7 +1017,7 @@
}
if ($StockImgLink!=_('No Image')) {
- echo '<td>' . _('Image') . '<br />'.$StockImgLink . '</td>';
+ echo '<td>' . _('Image') . '<br />' . $StockImgLink . '</td>';
}
echo '</tr>';
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-07 07:26:30 UTC (rev 6334)
+++ trunk/doc/Change.log 2013-09-07 08:13:53 UTC (rev 6335)
@@ -52,7 +52,7 @@
15/8/13 Exson: Make TaxGroups.php html5 compatible.
15/8/13 Exson: Make TaxProvinces.php html5 compatible.
15/8/13 Exson: Fixed the no-number warning in TopItems.php and make it html5 compatible.
-14/8/12 Exson: make UnitsOfMeasure.php html5 compatible.
+14/8/2012 Exson: make UnitsOfMeasure.php html5 compatible.
14/08/13 Exson: html5 compatible for UserSettings.php
14/8/13 Exson: Make table in WorkCentres.php sortable.
14/8/13 Exson: make WhereUsedInquiry.php Html5 compatible.
@@ -263,11 +263,11 @@
12/10/12 Phil: SelectAsset.php now goes to FixedAssetItems.php when an item is selected to display the asset for editing
12/10/12 Rafael Chacón: Updated CRC - Costa Rica flag image
10/10/12 Harald Ringehahn: Updated German translation
-9/10/12 Exson: fixed typo in CounterSales.php reported by thumb.
+9/10/2012 Exson: fixed typo in CounterSales.php reported by thumb.
9/10/12 Exson: installation would not allow demo to be installed - install/index.php
7/10/12 Phil: Fix WorkOrderIssue.php required by date
-6/10/12 Release 4.09
+6/10/2012 Release 4.09
27/9/12 Samudaya Nanayakkara: WorkOrderIssue.php with multiple work order items was not calculating requirements correctly nor showing all the outputs of the work order with correct quantities received and ordered. Reworked the script to show a table of the output items and the sql to get the correct component requirements.
27/9/12 Samudaya Nanayakkara: InternalStockRequestFulfill.php fixed quantity not filtered for number formatting. Phil tidy up coding conventions
@@ -280,25 +280,25 @@
8/9/12 Phil: removed all use of $_REQUEST across all scripts replace with GET/POST to cirumvent SQL injection attacks as reported by Daniel Compton
6/9/12 Thomas Timothy Lie and baliboss.com Team: updated Indonesian translation
1/9/12 Carlos Rubio: AccountGroups.php now has option to move to alternative accountgroups
-30/8/12 Exson: fixed sql problem reported bymodpr0be
+30/8/2012 Exson: fixed sql problem reported bymodpr0be
24/8/12 Serge Gélinas: Added new fr_CA.utf8 French Quebec translation
21/8/12 Phil: Stock.php could not change an item to an assembly if there were any old completed or deleted/rejected purchase orders for the item.
-20/8/12 Phil: StockCounts.php now allows entry Bar Codes or stock codes
-20/8/12 Phil: Now allow labour type category items to be selected searched for in CounterSales.php and SelectOrderItems.php
-30/7/12 Exson: fixed that the shipper will change sometime when modify the PO by modify file PO_ReadInOrder.inc. Reported by Craig.
-29/7/12 Phil: install/save.php now uses date_default_timezone_set function to set the time-zone to avoid all the nasty warnings
-29/7/12 Hindra Joshua: Updates to Professional and Professional-rtl themes - tidy up images not used
-28/7/12 Hindra Joshua: Fix for Gel theme and default theme to work with new styles
-26/7/12 Hindra Joshua: New wood theme - mods to index.php / header.inc and footer.inc and modify existing themes to work with new html tag classes used - using <div> tags instead of tables for layout of the main menu
-25/7/12 Exson: Fix the typo to make the $TotalQuantityOnHand is correct in SupplierInvoice.php
-24/7/12 Exson/Phil: SupplierInvoice.php incorrect calculation of weighted average cost just using the stock quantity at a single location, now corrected
-24/7/12 Phil: includes/Z_POSDataCreation.php - added system default date format config to POS data upload file
-22/7/12 Phil/Bob Thomas: Fix all scripts where demand was calculated including salesorder quotations (to exclude quotations). CounterSales.php DeliveryDetails.php SelectOrderItems.php StockCheck.php StockLocStatus.php
-22/7/12 Phil: Fixed on order quantities to exclude purchase orders with status completed and cancelled CounterSales.php SelectOrderItems.php DeliveryDetails.php StockLocStatus.php
-21/7/12 Phil: Fix api function for POS prices includes/Z_POSDataCreation.php
-21/7/12 Ricard: sorting products by discontinued then stockid to ensure obsolete items at the end of the list
-20/7/12 Tim: Added scripts to inquire on and to print General Ledger Journals
-20/7/12 Exson: Fixed that delete or editing new serial items will lead to hyper-link changed as select credit items instead of back to credit invoice in scripts InputSerialItemsKeyed.php. Report by UK-Steven from webERP Chinese Community QQ group
+20/8/2012 Phil: StockCounts.php now allows entry Bar Codes or stock codes
+20/8/2012 Phil: Now allow labour type category items to be selected searched for in CounterSales.php and SelectOrderItems.php
+30/7/2012 Exson: fixed that the shipper will change sometime when modify the PO by modify file PO_ReadInOrder.inc. Reported by Craig.
+29/7/2012 Phil: install/save.php now uses date_default_timezone_set function to set the time-zone to avoid all the nasty warnings
+29/7/2012 Hindra Joshua: Updates to Professional and Professional-rtl themes - tidy up images not used
+28/7/2012 Hindra Joshua: Fix for Gel theme and default theme to work with new styles
+26/7/2012 Hindra Joshua: New wood theme - mods to index.php / header.inc and footer.inc and modify existing themes to work with new html tag classes used - using <div> tags instead of tables for layout of the main menu
+25/7/2012 Exson: Fix the typo to make the $TotalQuantityOnHand is correct in SupplierInvoice.php
+24/7/2012 Exson/Phil: SupplierInvoice.php incorrect calculation of weighted average cost just using the stock quantity at a single location, now corrected
+24/7/2012 Phil: includes/Z_POSDataCreation.php - added system default date format config to POS data upload file
+22/7/2012 Phil/Bob Thomas: Fix all scripts where demand was calculated including salesorder quotations (to exclude quotations). CounterSales.php DeliveryDetails.php SelectOrderItems.php StockCheck.php StockLocStatus.php
+22/7/2012 Phil: Fixed on order quantities to exclude purchase orders with status completed and cancelled CounterSales.php SelectOrderItems.php DeliveryDetails.php StockLocStatus.php
+21/7/2012 Phil: Fix api function for POS prices includes/Z_POSDataCreation.php
+21/7/2012 Ricard: sorting products by discontinued then stockid to ensure obsolete items at the end of the list
+20/7/2012 Tim: Added scripts to inquire on and to print General Ledger Journals
+20/7/2012 Exson: Fixed that delete or editing new serial items will lead to hyper-link changed as select credit items instead of back to credit invoice in scripts InputSerialItemsKeyed.php. Report by UK-Steven from webERP Chinese Community QQ group
15/7/12 Gilberto Dos Santos Alves: updated pt_BR.utf8 translation
13/7/12 Tim: Fix up the sql where a field was selected twice
10/7/12 Phil: Made purchase order lines look at the purchasing data lead time and set the delivery date of the line to today + the lead time if this is beyond the delivery date specified in the PO header.
@@ -308,40 +308,40 @@
30/6/12 Phil: Attempt at quicker price retrieval
30/6/12 Phil: Allow creation of work orders for Raw materials - well intermediary components manufacture - per Bob Thomas email
26/06/12 Bob Thomas: StockAdjustments fix link to controlled stock adjustments entry
-24/06/12 Phil: Added tooltip/title showing long description on many scripts where short description is currently shown SelectOrderItems.php SelectCreditItems.php CreditInvoice.php DeliveryDetails.php CounterSales.php RecurringSalesOrders.php
-24/06/12 Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include.
-24/06/12 Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php)
+24/06/2012 Phil: Added tooltip/title showing long description on many scripts where short description is currently shown SelectOrderItems.php SelectCreditItems.php CreditInvoice.php DeliveryDetails.php CounterSales.php RecurringSalesOrders.php
+24/06/2012 Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include.
+24/06/2012 Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php)
-24/6/12 Release 4.08.1
+24/6/2012 Release 4.08.1
-22/06/12 Icedlava: Fixed bug preventing insert of new account section
-21/06/12 Phil: Added tooltip of long description to SelectProduct.php
-20/06/12 Ricard: Added total QOH to NoSalesItems.php.
-20/06/12 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php.
-19/06/12 Ricard: Added new script Z_ChangeLocationCode.
-17/06/12 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO).
+22/06/2012 Icedlava: Fixed bug preventing insert of new account section
+21/06/2012 Phil: Added tooltip of long description to SelectProduct.php
+20/06/2012 Ricard: Added total QOH to NoSalesItems.php.
+20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php.
+19/06/2012 Ricard: Added new script Z_ChangeLocationCode.
+17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO).
15/6/12 Release 4.08
-02/06/12 Exson: Fixed the order cancel function failure in SelectOrderItems.php. Reported by Pak Richard.
+02/06/2012 Exson: Fixed the order cancel function failure in SelectOrderItems.php. Reported by Pak Richard.
2/6/12 Phil: Settle counter sales and receipts should be set - now fixed.
-28/5/12 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding.
-26/5/12 Phil: Fix barcode printing on PDFPrintLabel.php - barcode functionality is unreliable so used (http://www.barcodepack.com) by Tomáš Horáček very simple and clean
-23/5/12 Klaus: PO_PDFPurchOrders.php print purchase orders with supplier's code where it is available in the purchasing data
-23/5/12 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed.
+28/5/2012 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding.
+26/5/2012 Phil: Fix barcode printing on PDFPrintLabel.php - barcode functionality is unreliable so used (http://www.barcodepack.com) by Tomáš Horáček very simple and clean
+23/5/2012 Klaus: PO_PDFPurchOrders.php print purchase orders with supplier's code where it is available in the purchasing data
+23/5/2012 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed.
2012/05/22 Exson: Modify accountcode to varchar(20) to meet some countries accounting regulation for more digits account code.
-22/5/12 Phil Klaus's spot - removed issue location (must always be the same as the manufacture location) and the issued date from WorkOrderStatus.php form - as materials could be issued on many different dates and incorrect to say they are always issued on the current date
-20/5/12 Klaus Beucher (Opto): move leadtime calculation into levelnetting function and resolve bug which does not use leadtime for highest level items of a BOM see also http://www.weberp.org/forum/showthread.php?tid=203
-18/5/12 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php
-18/5/12 Ahmed.Fawzy: Fixed Branch code validation rule to rule out '-' in CustomerBranches.php.
-14/5/12 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php.
-14/5/12 Exson: Fixed when user change the currency, the suggested rate can not changed accordingly in CustomerReceipt.php. Reported by Ahmed.Fawzy.
-14/5/12 Ahmed.Fawzy: Fixed bugs that ExchangRateText be applied with locale_number_format() function in CustomerReceipt.php
-10/5/12 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column.
-9/5/12 Ahmed.Fawzy: Fixed bugs in Stocks.php that the properties for new items cannot be saved. Checked status is not kept and numeric values between max and min are not validated.
-8/5/12 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear.
-8/05/12 Exson Fix typo and add 'L' type for selection in SelectOrderItems.php.
-8/05/12 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard.
+22/5/2012 Phil Klaus's spot - removed issue location (must always be the same as the manufacture location) and the issued date from WorkOrderStatus.php form - as materials could be issued on many different dates and incorrect to say they are always issued on the current date
+20/5/2012 Klaus Beucher (Opto): move leadtime calculation into levelnetting function and resolve bug which does not use leadtime for highest level items of a BOM see also http://www.weberp.org/forum/showthread.php?tid=203
+18/5/2012 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php
+18/5/2012 Ahmed.Fawzy: Fixed Branch code validation rule to rule out '-' in CustomerBranches.php.
+14/5/2012 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php.
+14/5/2012 Exson: Fixed when user change the currency, the suggested rate can not changed accordingly in CustomerReceipt.php. Reported by Ahmed.Fawzy.
+14/5/2012 Ahmed.Fawzy: Fixed bugs that ExchangRateText be applied with locale_number_format() function in CustomerReceipt.php
+10/5/2012 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column.
+9/5/2012 Ahmed.Fawzy: Fixed bugs in Stocks.php that the properties for new items cannot be saved. Checked status is not kept and numeric values between max and min are not validated.
+8/5/2012 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear.
+8/05/2012 Exson Fix typo and add 'L' type for selection in SelectOrderItems.php.
+8/05/2012 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard.
6/5/12 Phil: PaymentMethods.php added open cash drawer field for my POS.
4/5/12 Phil: Labels.php PDFPrintLabel.php fine tuning of new labels code
4/5/12 Phil: Fixed customer type name displayed when it is successfully deleted as reported by James Dupin
@@ -353,55 +353,55 @@
1/5/12 MTPubRadio: Fixed Purch Order PDF file text of Order Total- Excl tax does not align with amount horizontally.
29/4/12 Opto/Klaus: SelectWorkOrder.php added start date for the work order to the work orders displayed for selection
29/4/12 David Short: Added EDISendInvoices_Reece.php to send Reece format EDI invoices - approved by Reece (Australian Plumbing retailer)
-28/4/12 Exson: Fixed bugs in MRPCalendar.php which caused working days cannot be calculated correctly.
-06/4/12 Exson: Fixed PO header that does not display user's default warehous when iusse a new PO in PO_Header.php.
+28/4/2012 Exson: Fixed bugs in MRPCalendar.php which caused working days cannot be calculated correctly.
+06/4/2012 Exson: Fixed PO header that does not display user's default warehous when iusse a new PO in PO_Header.php.
25/4/12 Phil: Complete rewrite of PDFPrintLabels.php and Labels.php in webERP style - half the code and maintainable with templates stored with all the other data in the database. The new labels also allow fields to be printed as barcodes too.
-24/4/12 Phil: fix CopyBOM.php that was insering a blank stockid into stockmaster as reported by Ricard
-21/04/12 Vitaly: Editable item description in PO.
-16/04/12 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php
-16/04/12 Vitaly: Fixed Days textbox where it did not remember entered value.
-16/04/12 Ricard: ReorderLevelLocation.php only showing items not discontinued (current).
-14/04/12 Ricard: Adding stock category as filter for selection in TopItems.php
-12/4/12 TurboPT: Replaced table row bgcolor [or style=background-color] with the appropriate css class.
-11/4/12 Ricard: Code simplified on TopItems.php
-7/4/12 TurboPT: Remove invalid attribute colspan found within table tag elements.
-5/4/12 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group
-3/4/12 Vitaly: Cleaned up Petty Cash module. Fixed several errors in SQL INSERT statements.
-3/4/12 Exson: Fixed typo in PurchData.php.
-3/4/12 Tim: fixed Supplier Code and Supplier part code inconsistent with database field length definition in PurchData.php. Reported by rfthomas.
-2/4/12 Vitaly: BOMs delete function requires Location and WorkCentre to be set
-2/4/12 Billy Chang,劉世琪: add Chinese Traditional TW locale
-2/4/12 Exson: fixed CopyBOM.php sql errors and header already sent error.
-31/3/12 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update'
-31/3/12: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php
-31/3/12 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group.
-31/3/12 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10.
-30/3/12 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php
-29/3/12Exson:Fixed href typo error which lead to Select another location link does not work in InternalStockRequestFulfill.php
-29/3/12 Exson: Fixed typo which caused scripts does not work. Cannot add or modify existed items.
-27/3/12 Exson: fixed typo in footer.inc
-25/3/12 Exson: Add page footer with total pages for users verification purpose in PrintCustOrder.php Reported by Russell
-25/3/12 Exson: Add return back link for SupplierInvoice.php while users make input errors. Reported by Ke from webERP Chinese Community QQ group
-23/2/12 Ke: Fixed footer time displayed garbage in Win OS of simplified Chinese Language in footer.inc. Reported and fixed by Ke from webERP Chinese community QQ group.
-23/3/12 Exson: Fixed accounting period displayed abnormal in simplified Chinese language in Win OS in DateFunctions.inc. Reported by CQZ from webERP Chinese community QQ group
-23/3/12 Exson: Fixed accounting period displayed abnormal in simplified Chinese language in Win OS. Reported by CQZ from webERP Chinese community QQ group.
-22/3/12 Exson: Fixed no control of accumulated quantity of the same item during transferring which lead to negative quantity of stock in StockLocTransfer.php reported by Rong.
-22/3/12 Exson: Fixed time displayed incorrectly in footer in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group.
-22/3/12 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group.
-21/03/12 CQZ,KE: (From webERP chinese community QQ Group) Fixed the csv file cannot display UTF-8 characters correctly in Excel.
-20/03/12 Exson: Fixed Multi currency payment exchange rate errors in Payments.php. Reported by PakRichard
-20/3/12 Exson: Fixed bugs that users push Process Credit button in Credit_Invoice.php directly without update will lead to unbalance Journal entry. Reported by Russ
-20/03/12 Exson: Fixed item properties are not deleted together with item deletion in Stocks.php. Reported by Zhoule from webERP chinese forum QQ group.
-19/3/12 Tim: Remove illegal copyright notices to prevent any legal problems.</p>
-13/3/12 Exson: Fixed that same parent and component but added in different Work Centers and Locations will display twice in BOMs.php. And fixed that to delete one line of same parents and component will delete all lines with same parents and components. Add ArrayUnique function to get unique array for multi-dimensional array.
-13/3/12 Exson: Correct mailing sending messages display error in PrintCustTransPortrait.php Reported by Thomas_lie
-12/3/12 Exson: Fixed freight cost over 1000 cannot be calculated correctly in ConfirmDispatch_Invoice.php reported by Craig Craven.
+24/4/2012 Phil: fix CopyBOM.php that was insering a blank stockid into stockmaster as reported by Ricard
+21/04/2012 Vitaly: Editable item description in PO.
+16/04/2012 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php
+16/04/2012 Vitaly: Fixed Days textbox where it did not remember entered value.
+16/04/2012 Ricard: ReorderLevelLocation.php only showing items not discontinued (current).
+14/04/2012 Ricard: Adding stock category as filter for selection in TopItems.php
+12/4/2012 TurboPT: Replaced table row bgcolor [or style=background-color] with the appropriate css class.
+11/4/2012 Ricard: Code simplified on TopItems.php
+7/4/2012 TurboPT: Remove invalid attribute colspan found within table tag elements.
+5/4/2012 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group
+3/4/2012 Vitaly: Cleaned up Petty Cash module. Fixed several errors in SQL INSERT statements.
+3/4/2012 Exson: Fixed typo in PurchD...
[truncated message content] |
|
From: <ice...@us...> - 2013-09-11 03:25:10
|
Revision: 6336
http://sourceforge.net/p/web-erp/reponame/6336
Author: icedlava
Date: 2013-09-11 03:25:08 +0000 (Wed, 11 Sep 2013)
Log Message:
-----------
SelectCompletedOrder.php fix SQL typo causing error in order search.
Modified Paths:
--------------
trunk/SelectCompletedOrder.php
trunk/doc/Change.log
Modified: trunk/SelectCompletedOrder.php
===================================================================
--- trunk/SelectCompletedOrder.php 2013-09-07 08:13:53 UTC (rev 6335)
+++ trunk/SelectCompletedOrder.php 2013-09-11 03:25:08 UTC (rev 6336)
@@ -294,7 +294,7 @@
AND salesorderdetails.completed".$Completed."
GROUP BY salesorders.orderno,
debtorsmaster.name,
- currencies.decimalplaces
+ currencies.decimalplaces,
custbranch.brname,
salesorders.customerref,
salesorders.orddate,
@@ -662,4 +662,4 @@
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-09-07 08:13:53 UTC (rev 6335)
+++ trunk/doc/Change.log 2013-09-11 03:25:08 UTC (rev 6336)
@@ -1,5 +1,6 @@
webERP Change Log
+11/9/13 icedlava: SelectCompletedOrder.php Fix SQL typo.
7/9/13 Exson: using javascript to set the pattern attribute based on a new attribute data-type and first script Stocks.php
7/9/13 icedlava: Fix PrintStatements.php to allow selection of alphanumeric customer codes in length to match database definition.
7/9/13 icedlava: StockStatus.php Allow dash in stock code again.
|
|
From: <dai...@us...> - 2013-09-28 05:10:50
|
Revision: 6338
http://sourceforge.net/p/web-erp/reponame/6338
Author: daintree
Date: 2013-09-28 05:10:46 +0000 (Sat, 28 Sep 2013)
Log Message:
-----------
trap illegal characters allowing other char sets
Modified Paths:
--------------
trunk/AccountGroups.php
trunk/BOMIndented.php
trunk/BOMListing.php
trunk/ConfirmDispatch_Invoice.php
trunk/Contracts.php
trunk/CounterReturns.php
trunk/CounterSales.php
trunk/CustomerReceipt.php
trunk/Customers.php
trunk/DebtorsAtPeriodEnd.php
trunk/DiscountCategories.php
trunk/FixedAssetCategories.php
trunk/FixedAssetLocations.php
trunk/GLAccounts.php
trunk/Locations.php
trunk/OutstandingGRNs.php
trunk/PcTypeTabs.php
trunk/PricesBasedOnMarkUp.php
trunk/PurchData.php
trunk/StockCategories.php
trunk/StockStatus.php
trunk/Stocks.php
trunk/SuppTransGLAnalysis.php
trunk/Suppliers.php
trunk/WWW_Users.php
trunk/doc/Change.log
trunk/includes/Login.php
trunk/includes/MainMenuLinksArray.php
trunk/includes/session.inc
trunk/javascripts/MiscFunctions.js
trunk/sql/mysql/upgrade4.11-4.12.sql
Added Paths:
-----------
trunk/PurchaseByPrefSupplier.php
trunk/Z_ImportPriceList.php
Modified: trunk/AccountGroups.php
===================================================================
--- trunk/AccountGroups.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/AccountGroups.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -401,7 +401,7 @@
}
echo '<tr>
<td>' . _('Account Group Name') . ':' . '</td>
- <td><input tabindex="1" autofocus="autofocus" required="required" pattern="[a-zA-Z0-9_\-\ ]*" placeholder="' . _('Enter the account group name') . '" ' . (in_array('GroupName',$Errors) ? '"class=inputerror"' : '' ) . ' type="text" name="GroupName" size="30" minlength="3" maxlength="30" value="' . $_POST['GroupName'] . '" title="' . _('A unique name for the account group must be entered - at least 3 characters long and less than 30 characters long. Only alpha numeric characters can be used.') . '" /></td>
+ <td><input tabindex="1" autofocus="autofocus" required="required" data-type="no-illegal-chars" placeholder="' . _('Enter the account group name') . '" ' . (in_array('GroupName',$Errors) ? '"class=inputerror"' : '' ) . ' type="text" name="GroupName" size="30" minlength="3" maxlength="30" value="' . $_POST['GroupName'] . '" title="' . _('A unique name for the account group must be entered - at least 3 characters long and less than 30 characters long. Only alpha numeric characters can be used.') . '" /></td>
</tr>
<tr>
<td>' . _('Parent Group') . ':' . '</td>
Modified: trunk/BOMIndented.php
===================================================================
--- trunk/BOMIndented.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/BOMIndented.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -251,7 +251,7 @@
<table class="selection">';
echo '<tr>
<td>' . _('Part') . ':</td>
- <td><input type="text" name="Part" autofocus="autofocus" required="required" pattern="[0-9a-zA-Z\-_]*" title="' . _('Enter the item code of parent item to list the bill of material for') . '" size="20" /></td>
+ <td><input type="text" name="Part" autofocus="autofocus" required="required" data-type="no-illegal-chars" title="' . _('Enter the item code of parent item to list the bill of material for') . '" size="20" /></td>
</tr>
<tr>
<td>' . _('Levels') . ':</td>
@@ -332,4 +332,4 @@
} // End of PrintHeader function
-?>
\ No newline at end of file
+?>
Modified: trunk/BOMListing.php
===================================================================
--- trunk/BOMListing.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/BOMListing.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -118,11 +118,11 @@
<table class="selection">';
echo '<tr><td>' . _('From Inventory Part Code') . ':' . '</td>
- <td><input tabindex="1" type="text" autofocus="autofocus" required="required" pattern="[0-9a-zA-Z\-_]*" title="' . _('Enter the lowest alpha code of parent bom items to list the bill of material for') . '" name="FromCriteria" size="20" maxlength="20" value="1" /></td>
+ <td><input tabindex="1" type="text" autofocus="autofocus" required="required" data-type="no-illegal-chars" title="' . _('Enter the lowest alpha code of parent bom items to list the bill of material for') . '" name="FromCriteria" size="20" maxlength="20" value="1" /></td>
</tr>';
echo '<tr><td>' . _('To Inventory Part Code') . ':' . '</td>
- <td><input tabindex="2" type="text" required="required" pattern="[0-9a-zA-Z\-_]*" title="' . _('Enter the end alpha numeric code of any parent bom items to list the bill of material for') . '" name="ToCriteria" size="20" maxlength="20" value="zzzzzzz" /></td>
+ <td><input tabindex="2" type="text" required="required"data-type="no-illegal-chars" title="' . _('Enter the end alpha numeric code of any parent bom items to list the bill of material for') . '" name="ToCriteria" size="20" maxlength="20" value="zzzzzzz" /></td>
</tr>';
@@ -135,4 +135,4 @@
} /*end of else not PrintPDF */
-?>
\ No newline at end of file
+?>
Modified: trunk/ConfirmDispatch_Invoice.php
===================================================================
--- trunk/ConfirmDispatch_Invoice.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/ConfirmDispatch_Invoice.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -1661,7 +1661,7 @@
$j++;
echo '<tr>
<td>' . _('Consignment Note Ref'). ':</td>
- <td><input tabindex="'.$j.'" type="text" pattern="[a-zA-Z0-9_\-\ ]*" title="' . _('Enter the consignment note reference to enable tracking of the delivery in the event of customer proof of delivery issues') . '" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '" /></td>
+ <td><input tabindex="'.$j.'" type="text" data-type="no-illegal-chars" title="' . _('Enter the consignment note reference to enable tracking of the delivery in the event of customer proof of delivery issues') . '" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '" /></td>
</tr>';
$j++;
echo '<tr>
Modified: trunk/Contracts.php
===================================================================
--- trunk/Contracts.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/Contracts.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -758,7 +758,7 @@
<td><input tabindex="1" type="text" name="CustKeywords" autofocus="autofocus" size="20" maxlength="25" /></td>
<td><h2><b>' . _('OR') . '</b></h2></td>
<td><h5>' . _('Part of the Customer Branch Code'). ':</h5></td>
- <td><input tabindex="2" type="text" name="CustCode" pattern="[a-zA-Z0-9_\-]*" title="' . _('Enter an extract of the customer code to search for. Customer codes can only contain alpha-numeric characters, underscore or hyphens') . '" size="15" maxlength="18" /></td>
+ <td><input tabindex="2" type="text" name="CustCode" data-type="no-illegal-chars" title="' . _('Enter an extract of the customer code to search for. Customer codes can only contain alpha-numeric characters, underscore or hyphens') . '" size="15" maxlength="18" /></td>
<td><h2><b>' . _('OR') . '</b></h2></td>
<td><h5>' . _('Part of the Branch Phone Number') . ':</h5></td>
<td><input tabindex="3" type="tel" name="CustPhone" size="15" maxlength="18" /></td>
@@ -841,10 +841,10 @@
<td>';
if ($_SESSION['Contract'.$identifier]->Status==0) {
/*Then the contract has not become an order yet and we can allow changes to the ContractRef */
- echo '<input type="text" name="ContractRef" autofocus="autofocus" required="required" size="21" title="' . _('Enter the contract reference. This reference will be used as the item code so no more than 20 alpha-numeric characters or underscore') . '" pattern="[a-zA-Z0-9_]*" maxlength="20" value="' . $_SESSION['Contract'.$identifier]->ContractRef . '" />';
+ echo '<input type="text" name="ContractRef" autofocus="autofocus" required="required" size="21" title="' . _('Enter the contract reference. This reference will be used as the item code so no more than 20 alpha-numeric characters or underscore') . '" data-type="no-illegal-chars" maxlength="20" value="' . $_SESSION['Contract'.$identifier]->ContractRef . '" />';
} else {
/*Just show the contract Ref - dont allow modification */
- echo '<input type="hidden" name="ContractRef" title="' . _('Enter the contract reference. This reference will be used as the item code so no more than 20 alpha-numeric characters or underscore') . '" pattern="[a-zA-Z0-9_]*" value="' . $_SESSION['Contract'.$identifier]->ContractRef . '" />' . $_SESSION['Contract'.$identifier]->ContractRef;
+ echo '<input type="hidden" name="ContractRef" title="' . _('Enter the contract reference. This reference will be used as the item code so no more than 20 alpha-numeric characters or underscore') . '" data-type="no-illegal-chars" value="' . $_SESSION['Contract'.$identifier]->ContractRef . '" />' . $_SESSION['Contract'.$identifier]->ContractRef;
}
echo '</td>
</tr>
@@ -1085,4 +1085,4 @@
} /*end of if customer selected and entering contract header*/
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/CounterReturns.php
===================================================================
--- trunk/CounterReturns.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/CounterReturns.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -1813,7 +1813,7 @@
echo '<tr class="OddTableRow">';
/* Do not display colum unless customer requires po line number by sales order line*/
- echo '<td><input type="text" name="part_' . $i . '" ' . ($i==1 ? 'autofocus="autofocus" ': '') . 'size="21" pattern="[a-zA-Z0-9_\-]*" title="' . _('Enter a part code to be returned. Part codes can contain any alpha-numeric characters underscore or hyphen.') . '" maxlength="20" /></td>
+ echo '<td><input type="text" name="part_' . $i . '" ' . ($i==1 ? 'autofocus="autofocus" ': '') . 'size="21" data-type="no-illegal-chars" title="' . _('Enter a part code to be returned. Part codes can contain any alpha-numeric characters underscore or hyphen.') . '" maxlength="20" /></td>
<td><input type="text" class="number" name="qty_' . $i . '" size="6" maxlength="6" />
<input type="hidden" class="date" name="ItemDue_' . $i . '" value="' . $ReturnDate . '" /></td>
</tr>';
Modified: trunk/CounterSales.php
===================================================================
--- trunk/CounterSales.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/CounterSales.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -2420,7 +2420,7 @@
echo '<tr class="OddTableRow">';
/* Do not display colum unless customer requires po line number by sales order line*/
- echo '<td><input type="text" name="part_' . $i . '"' . ($i==1 ? ' autofocus="autofocus"':'') . ' pattern="[a-zA-Z0-9_\-]*" title="' . _('Enter a part code to be sold. Part codes can contain any alpha-numeric characters underscore or hyphen.') . '"size="21" maxlength="20" /></td>
+ echo '<td><input type="text" name="part_' . $i . '"' . ($i==1 ? ' autofocus="autofocus"':'') . ' data-type="no-illegal-chars" title="' . _('Enter a part code to be sold. Part codes can contain any alpha-numeric characters underscore or hyphen.') . '"size="21" maxlength="20" /></td>
<td><input type="text" class="number" name="qty_' . $i . '" size="6" maxlength="6" />
<input type="hidden" class="date" name="ItemDue_' . $i . '" value="' . $DefaultDeliveryDate . '" /></td></tr>';
}
Modified: trunk/CustomerReceipt.php
===================================================================
--- trunk/CustomerReceipt.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/CustomerReceipt.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -846,7 +846,7 @@
}
echo '<tr>
<td>' . _('Receipt Exchange Rate') . ':</td>
- <td><input tabindex="4" type="text" name="ExRate" required="required" maxlength="10" size="12" pattern="[0-9\.,]*" class="number" value="' . locale_number_format($_SESSION['ReceiptBatch']->ExRate,6) . '" /></td>
+ <td><input tabindex="4" type="text" name="ExRate" required="required" maxlength="10" size="12" class="number" value="' . locale_number_format($_SESSION['ReceiptBatch']->ExRate,6) . '" /></td>
<td>' . $SuggestedExRateText . ' <i>' . _('The exchange rate between the currency of the bank account currency and the currency of the receipt') . '. 1 ' . $_SESSION['ReceiptBatch']->AccountCurrency . ' = ? ' . $_SESSION['ReceiptBatch']->Currency . '</i></td>
</tr>';
}
@@ -1128,7 +1128,7 @@
<td><input tabindex="9" type="text" name="Keywords" size="15" maxlength="25" /></td>
<td><b>' . _('OR') . '</b></td>
<td>' . _('Text extract in the Customer') . ' ' . '<b>' . _('code') . '</b>:</td>
- <td><input tabindex="10" type="text" name="CustCode" pattern="[0-9a-zA-Z_]*" title="' . _('Enter an extract of the customer code to search for. Customer codes can contain any alpha-numeric character or underscore') . '" size="10" maxlength="18" /></td>
+ <td><input tabindex="10" type="text" name="CustCode" data-type="no-illegal-chars" title="' . _('Enter an extract of the customer code to search for. Customer codes can contain any alpha-numeric character or underscore') . '" size="10" maxlength="18" /></td>
<td><b>' . _('OR') . '</b></td>
<td>' . _('Customer invoice number') . ':</td>
<td><input tabindex="11" type="text" name="CustInvNo" class="integer" size="8" maxlength="8" /></td>
Modified: trunk/Customers.php
===================================================================
--- trunk/Customers.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/Customers.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -747,7 +747,7 @@
if ($_SESSION['AutoDebtorNo']== 0 ) {
echo '<tr>
<td>' . _('Customer Code') . ':</td>
- <td><input ' . (in_array('DebtorNo',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="DebtorNo" required="required" pattern=[0-9a-zA-Z_]*" title="' . _('The customer code can be up to 10 alpha-numeric characters long or underscore') . '" value="' . $DebtorNo . '" size="12" maxlength="10" /></td></tr>';
+ <td><input ' . (in_array('DebtorNo',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="DebtorNo" required="required" data-type="no-illegal-chars" title="' . _('The customer code can be up to 10 alpha-numeric characters long or underscore') . '" value="' . $DebtorNo . '" size="12" maxlength="10" /></td></tr>';
}
}
if (isset($_GET['Modify'])) {
Modified: trunk/DebtorsAtPeriodEnd.php
===================================================================
--- trunk/DebtorsAtPeriodEnd.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/DebtorsAtPeriodEnd.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -140,11 +140,11 @@
echo '<table class="selection">';
echo '<tr>
<td>' . _('From Customer Code') .':</td>
- <td><input tabindex="1" type="text" maxlength="10" size="8" name="FromCriteria" required="required" pattern="[0-9a-zA-Z_]*" title="' . _('Enter a portion of the code of first customer to report') . '" value="1" /></td>
+ <td><input tabindex="1" type="text" maxlength="10" size="8" name="FromCriteria" required="required" data-type="no-illegal-chars" title="' . _('Enter a portion of the code of first customer to report') . '" value="1" /></td>
</tr>
<tr>
<td>' . _('To Customer Code') . ':</td>
- <td><input tabindex="2" type="text" maxlength="10" size="8" name="ToCriteria" required="required" pattern="[0-9a-zA-Z_]*" title="' . _('Enter a portion of the code of last customer to report') . '" value="zzzzzz" /></td>
+ <td><input tabindex="2" type="text" maxlength="10" size="8" name="ToCriteria" required="required" data-type="no-illegal-chars" title="' . _('Enter a portion of the code of last customer to report') . '" value="zzzzzz" /></td>
</tr>
<tr>
<td>' . _('Balances As At') . ':</td>
@@ -173,4 +173,4 @@
include('includes/footer.inc');
} /*end of else not PrintPDF */
-?>
\ No newline at end of file
+?>
Modified: trunk/DiscountCategories.php
===================================================================
--- trunk/DiscountCategories.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/DiscountCategories.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -108,13 +108,13 @@
<td>';
if (isset($_POST['DiscCat'])) {
- echo '<input type="text" required="required" name="DiscountCategory" pattern="[0-9a-zA-Z_]*" title="' . _('Enter the discount category up to 2 alpha-numeric characters') . '" maxlength="2" size="2" value="' . $_POST['DiscCat'] .'" /></td>
+ echo '<input type="text" required="required" name="DiscountCategory" data-type="no-illegal-chars" title="' . _('Enter the discount category up to 2 alpha-numeric characters') . '" maxlength="2" size="2" value="' . $_POST['DiscCat'] .'" /></td>
<td>' . _('OR') . '</td>
<td></td>
<td>' . _('OR') . '</td>
</tr>';
} else {
- echo '<input type="text" name="DiscountCategory" required="required" name="DiscountCategory" pattern="[0-9a-zA-Z_]*" title="' . _('Enter the discount category up to 2 alpha-numeric characters') . '" maxlength="2" size="2" /></td>
+ echo '<input type="text" name="DiscountCategory" required="required" name="DiscountCategory" data-type="no-illegal-chars" title="' . _('Enter the discount category up to 2 alpha-numeric characters') . '" maxlength="2" size="2" /></td>
<td>' ._('OR') . '</td>
<td></td>
<td>' . _('OR') . '</td>
@@ -132,9 +132,9 @@
}
echo '<tr>
<td>' . _('Enter Stock Code') .':</td>
- <td><input type="text" name="StockID" name="DiscountCategory" pattern="[0-9a-zA-Z_]*" title="' . _('Enter the stock code of the item in this discount category up to 20 alpha-numeric characters') . '" size="20" maxlength="20" value="' . $_POST['StockID'] . '" /></td>
+ <td><input type="text" name="StockID" name="DiscountCategory" data-type="no-illegal-chars" title="' . _('Enter the stock code of the item in this discount category up to 20 alpha-numeric characters') . '" size="20" maxlength="20" value="' . $_POST['StockID'] . '" /></td>
<td>' . _('Partial code') . ':</td>
- <td><input type="text" name="PartID" pattern="[0-9a-zA-Z_]*" title="' . _('Enter a portion of the item code only alpha-numeric characters') . '" size="10" maxlength="10" value="' . $_POST['PartID'] . '" /></td>
+ <td><input type="text" name="PartID" data-type="no-illegal-chars" title="' . _('Enter a portion of the item code only alpha-numeric characters') . '" size="10" maxlength="10" value="' . $_POST['PartID'] . '" /></td>
<td>' . _('Partial description') . ':</td>
<td><input type="text" name="PartDesc" size="10" value="' . $_POST['PartDesc'] .'" maxlength="10" /></td>
<td><input type="submit" name="search" value="' . _('Search') .'" /></td>
@@ -167,7 +167,7 @@
echo '<table class="selection">
<tr>
<td>' . _('Assign discount category') . '</td>';
- echo '<td><input type="text" required="required" name="DiscountCategory" pattern="[0-9a-zA-Z_]*" title="' . _('Enter the discount category up to 2 alpha-numeric characters') . '" maxlength="2" size="2" /></td>';
+ echo '<td><input type="text" required="required" name="DiscountCategory" data-type="no-illegal-chars" title="' . _('Enter the discount category up to 2 alpha-numeric characters') . '" maxlength="2" size="2" /></td>';
echo '<td>' . _('to all items in stock category') . '</td>';
$sql = "SELECT categoryid,
categorydescription
@@ -264,4 +264,4 @@
}
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/FixedAssetCategories.php
===================================================================
--- trunk/FixedAssetCategories.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/FixedAssetCategories.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -252,7 +252,7 @@
echo '<table class="selection">
<tr>
<td>' . _('Category Code') . ':</td>
- <td><input type="text" name="CategoryID" required="required" title="' . _('Enter the asset category code. Up to 6 alpha-numeric characters are allowed') . '" pattern="[0-9a-zA-Z_]*" size="7" maxlength="6" value="' . $_POST['CategoryID'] . '" /></td>
+ <td><input type="text" name="CategoryID" required="required" title="' . _('Enter the asset category code. Up to 6 alpha-numeric characters are allowed') . '" data-type="no-illegal-chars" size="7" maxlength="6" value="' . $_POST['CategoryID'] . '" /></td>
</tr>';
}
@@ -353,4 +353,4 @@
</form>';
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/FixedAssetLocations.php
===================================================================
--- trunk/FixedAssetLocations.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/FixedAssetLocations.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -123,7 +123,7 @@
echo '<input type="hidden" name="LocationID" value="'.$LocationID.'" />';
echo '<td>' . $LocationID . '</td>';
} else {
- echo '<td><input type="text" name="LocationID" required="required" title="' . _('Enter the location code of the fixed asset location. Up to six alpha-numeric characters') . '" pattern="[0-9a-zA-Z_]*" size="6" value="'.$LocationID.'" /></td>
+ echo '<td><input type="text" name="LocationID" required="required" title="' . _('Enter the location code of the fixed asset location. Up to six alpha-numeric characters') . '" data-type="no-illegal-chars" size="6" value="'.$LocationID.'" /></td>
</tr>';
}
Modified: trunk/GLAccounts.php
===================================================================
--- trunk/GLAccounts.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/GLAccounts.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -232,7 +232,7 @@
echo '<table class="selection">';
echo '<tr>
<td>' . _('Account Code') . ':</td>
- <td><input type="text" name="AccountCode" required="required" autofocus="autofocus" pattern="[0-9a-zA-Z_-]*" title="' . _('Enter up to 20 alpha-numeric characters for the general ledger account code') . '" size="20" maxlength="20" /></td>
+ <td><input type="text" name="AccountCode" required="required" autofocus="autofocus" data-type="no-illegal-chars" title="' . _('Enter up to 20 alpha-numeric characters for the general ledger account code') . '" size="20" maxlength="20" /></td>
</tr>';
}
Modified: trunk/Locations.php
===================================================================
--- trunk/Locations.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/Locations.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -497,7 +497,7 @@
</tr>';
echo '<tr>
<td>' . _('Location Code') . ':</td>
- <td><input type="text" autofocus="autofocus" required="required" title="' . _('Enter up to five characters for the inventory location code') . '" pattern="[0-9a-zA-Z_]*" name="LocCode" value="' . $_POST['LocCode'] . '" size="5" maxlength="5" /></td>
+ <td><input type="text" autofocus="autofocus" required="required" title="' . _('Enter up to five characters for the inventory location code') . '" data-type="no-illegal-chars" name="LocCode" value="' . $_POST['LocCode'] . '" size="5" maxlength="5" /></td>
</tr>';
}
if (!isset($_POST['LocationName'])) {
@@ -604,11 +604,11 @@
</tr>
<tr>
<td>' . _('Default Counter Sales Customer Code') . ':' . '</td>
- <td><input type="text" name="CashSaleCustomer" pattern="[0-9a-zA-Z_]*" title="' . _('If counter sales are being used for this location then an existing customer account code needs to be entered here. All sales created from the counter sales will be recorded against this customer account') . '" value="' . $_POST['CashSaleCustomer'] . '" size="11" maxlength="10" /></td>
+ <td><input type="text" name="CashSaleCustomer" data-type="no-illegal-chars" title="' . _('If counter sales are being used for this location then an existing customer account code needs to be entered here. All sales created from the counter sales will be recorded against this customer account') . '" value="' . $_POST['CashSaleCustomer'] . '" size="11" maxlength="10" /></td>
</tr>
<tr>
<td>' . _('Counter Sales Branch Code') . ':' . '</td>
- <td><input type="text" name="CashSaleBranch" pattern="[0-9a-zA-Z_]*" title="' . _('If counter sales are being used for this location then an existing customer branch code for the customer account code entered above needs to be entered here. All sales created from the counter sales will be recorded against this branch') . '" value="' . $_POST['CashSaleBranch'] . '" size="11" maxlength="10" /></td>
+ <td><input type="text" name="CashSaleBranch" data-type="no-illegal-chars" title="' . _('If counter sales are being used for this location then an existing customer branch code for the customer account code entered above needs to be entered here. All sales created from the counter sales will be recorded against this branch') . '" value="' . $_POST['CashSaleBranch'] . '" size="11" maxlength="10" /></td>
</tr>';
echo '<tr>
<td>' . _('Allow internal requests?') . ':</td>
@@ -640,4 +640,4 @@
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/OutstandingGRNs.php
===================================================================
--- trunk/OutstandingGRNs.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/OutstandingGRNs.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -265,11 +265,11 @@
echo '<tr>
<td>' . _('From Supplier Code') . ':</td>
- <td><input type="text" name="FromCriteria" required="required" autofocus="autofocus" pattern="[0-9a-zA-Z]*" value="0" /></td>
+ <td><input type="text" name="FromCriteria" required="required" autofocus="autofocus" data-type="no-illegal-chars" value="0" /></td>
</tr>
<tr>
<td>' . _('To Supplier Code'). ':</td>
- <td><input type="text" name="ToCriteria" required="required" pattern="[0-9a-zA-Z]*" value="zzzzzzz" /></td>
+ <td><input type="text" name="ToCriteria" required="required" data-type="no-illegal-chars" value="zzzzzzz" /></td>
</tr>
</table>
<br />
@@ -284,4 +284,4 @@
} /*end of else not PrintPDF */
-?>
\ No newline at end of file
+?>
Modified: trunk/PcTypeTabs.php
===================================================================
--- trunk/PcTypeTabs.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/PcTypeTabs.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -234,7 +234,7 @@
echo '<table class="selection">
<tr>
<td>' . _('Code Of Type Of Tab') . ':</td>
- <td><input type="text" ' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' required="required" autofocus="autofocus" pattern="[0-9a-zA-Z_]*" name="TypeTabCode" title="' . _('Only alpha-numeric characters and the underscore character are allowed') . '" /></td>
+ <td><input type="text" ' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' required="required" autofocus="autofocus" data-type="no-illegal-chars" name="TypeTabCode" title="' . _('Only alpha-numeric characters and the underscore character are allowed') . '" size="20" maxlength="20" /></td>
</tr>';
}
@@ -259,4 +259,4 @@
} // end if user wish to delete
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/PricesBasedOnMarkUp.php
===================================================================
--- trunk/PricesBasedOnMarkUp.php 2013-09-13 00:58:50 UTC (rev 6337)
+++ trunk/PricesBasedOnMarkUp.php 2013-09-28 05:10:46 UTC (rev 6338)
@@ -103,7 +103,7 @@
echo '<tr><td>' . _('Stock Category From') . ':</td>
<td><select name="StkCatFrom">';
-$sql = "SELECT categoryid, categorydescription FROM stockcategory";
+$sql = "SELECT categoryid, categorydescription FROM stockcategory ORDER BY categoryid";
$ErrMsg = _('The stock categories could not be retrieved because');
$DbgMsg = _('The SQL used to retrieve stock categories and failed was');
@@ -134,7 +134,7 @@
echo '</select></td></tr>';
if (!isset($_POST['RoundingFactor'])){
- $_POST['RoundingFactor']=1;
+ $_POST['RoundingFactor']=0.01;
}
if (!isset($_POST['PriceStartDate'])) {
@@ -145,21 +145,25 @@
$_POST['PriceEndDate']=DateAdd(date($_SESSION['DefaultDateFormat']), 'y', 1);
}
-echo '<tr><td>' . _('Rounding Factor') . ':</td>
- <td><input type="text" class="number" name="RoundingFactor" size="6" maxlength="6" value="' . $_POST['RoundingFactor'] . '" /></td></tr>';
+echo '<tr>
+ <td>' . _('Rounding Factor') . ':</td>
+ <td><input type="text" class="number" name="RoundingFactor" size="6" title="' . _('To round to the nearest cent enter 0.01. To round to the nearest whole dollar enter 1. To round to the nearest 5 dollars enter 5 etc') . '" maxlength="6" value="' . $_POST['RoundingFactor'] . '" /></td></tr>';
-echo '<tr><td>' . _('New Price To Be Effective From') . ':</td>
- <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceStartDate" size="10" maxlength="10" value="' . $_POST['PriceStartDate'] . '" /></td></tr>';
+echo '<tr>
+ <td>' . _('New Price To Be Effective From') . ':</td>
+ <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceStartDate" size="10" maxlength="10" value="' . $_POST['PriceStartDate'] . '" /></td></tr>';
-echo '<tr><td>' . _('New Price To Be Effective To (Blank = No End Date)') . ':</td>
- <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceEndDate" size="10" maxlength="10" value="' . $_POST['PriceEndDate'] . '" /></td></tr>';
+echo '<tr>
+ <td>' . _('New Price To Be Effective To (Blank = No End Date)') . ':</td>
+ <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceEndDate" size="10" maxlength="10" value="' . $_POST['PriceEndDate'] . '" /></td></tr>';
if (!isset($_POST['IncreasePercent'])){
$_POST['IncreasePercent']=0;
}
-echo '<tr><td>' . _('Percentage Increase (positive) or decrease (negative)') . '</td>
- <td><input type="text" name="IncreasePercent" class="number" size="4" maxlength="4" value="' . $_POST['IncreasePercent'] . '" /></td></tr></table>';
+echo '<tr>
+ <td>' . _('Percentage Increase (positive) or dec...
[truncated message content] |