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>' . $myrow['deladd2'] . '</td> + </tr> + <tr> + <td>' . _('Exchange Rate'). '</td> + <td>' . $myrow['rate'] . '</td> + <td>' . _('Delivery Address 3'). '</td> + <td>' . $myrow['deladd3'] . '</td> + </tr> + <tr> + <td>' . _('Deliver Into Location'). '</td> + <td>' . $myrow['locationname'] . '</td> + <td>' . _('Delivery Address 4'). '</td> + <td>' . $myrow['deladd4'] . '</td> + </tr> + <tr> + <td>' . _('Initiator'). '</td> + <td>' . $myrow['realname'] . '</td> + <td>' . _('Delivery Address 5'). '</td> + <td>' . $myrow['deladd5'] . '</td> + </tr> + <tr> + <td>' . _('Requisition Ref'). '.</td> + <td>' . $myrow['requisitionno'] . '</td> + <td>' . _('Delivery Address 6'). '</td> + <td>' . $myrow['deladd6'] . '</td> + </tr> + <tr> + <td>'. _('Printing') . '</td> + <td colspan="3">'; -echo '<tr><td style="text-align:left">' . _('Ordered On'). '</td><td>' . ConvertSQLDate($myrow['orddate']) . '</td> - <td style="text-align:left">' . _('Delivery Address 1'). '</td><td>' . $myrow['deladd1'] . '</td></tr>'; - -echo '<tr><td style="text-align:left">' . _('Order Currency'). '</td><td>' . $myrow['currcode'] . '</td> - <td style="text-align:left">' . _('Delivery Address 2'). '</td><td>' . $myrow['deladd2'] . '</td></tr>'; - -echo '<tr><td style="text-align:left">' . _('Exchange Rate'). '</td><td>' . $myrow['rate'] . '</td> - <td style="text-align:left">' . _('Delivery Address 3'). '</td><td>' . $myrow['deladd3'] . '</td></tr>'; - -echo '<tr><td style="text-align:left">' . _('Deliver Into Location'). '</td><td>' . $myrow['locationname'] . '</td> - <td style="text-align:left">' . _('Delivery Address 4'). '</td><td>' . $myrow['deladd4'] . '</td></tr>'; - -echo '<tr><td style="text-align:left">' . _('Initiator'). '</td><td>' . $myrow['realname'] . '</td> - <td style="text-align:left">' . _('Delivery Address 5'). '</td><td>' . $myrow['deladd5'] . '</td></tr>'; - -echo '<tr><td style="text-align:left">' . _('Requisition Ref'). '.</td><td>' . $myrow['requisitionno'] . '</td> - <td style="text-align:left">' . _('Delivery Address 6'). '</td><td>' . $myrow['deladd6'] . '</td></tr>'; - - -echo '<tr><td style="text-align:left">'. _('Printing') . '</td><td colspan="3">'; - if ($myrow['dateprinted'] == ''){ echo '<i>'. _('Not yet printed') . '</i> '; echo '[<a href="PO_PDFPurchOrder.php?OrderNo='. $_GET['OrderNo'] .'">'. _('Print') .'</a>]'; @@ -118,13 +145,18 @@ echo '[<a href="PO_PDFPurchOrder.php?OrderNo='. $_GET['OrderNo'] .'">'. _('Print a Copy') .'</a>]'; } -echo '</td></tr>'; -echo '<tr><td style="text-align:left">'. _('Status') . '</td><td>'. _($myrow['status']) . '</td></tr>'; +echo '</td> + </tr> + <tr> + <td>'. _('Status') . '</td> + <td>'. _($myrow['status']) . '</td> + </tr> + <tr> + <td>' . _('Comments'). '</td> + <td colspan="3">' . $myrow['comments'] . '</td> + </tr> + </table>'; -echo '<tr><td style="text-align:left">' . _('Comments'). '</td><td colspan="3">' . $myrow['comments'] . '</td></tr>'; - -echo '</table>'; - $CurrDecimalPlaces = $myrow['currdecimalplaces']; echo '<br />'; @@ -141,18 +173,20 @@ $LineItemsResult = DB_query($LineItemsSQL,$db, $ErrMsg); -echo '<table class="selection" cellpadding="0">'; -echo '<tr><th colspan="8"><b>'. _('Order Line Details'). '</b></th></tr>'; -echo '<tr> - <td>' . _('Item Code'). '</td> - <td>' . _('Item Description'). '</td> - <td>' . _('Ord Qty'). '</td> - <td>' . _('Qty Recd'). '</td> - <td>' . _('Qty Inv'). '</td> - <td>' . _('Ord Price'). '</td> - <td>' . _('Chg Price'). '</td> - <td>' . _('Reqd Date'). '</td> - </tr>'; +echo '<table class="selection" cellpadding="0"> + <tr> + <th colspan="8"><b>'. _('Order Line Details'). '</b></th> + </tr> + <tr> + <td>' . _('Item Code'). '</td> + <td>' . _('Item Description'). '</td> + <td>' . _('Ord Qty'). '</td> + <td>' . _('Qty Recd'). '</td> + <td>' . _('Qty Inv'). '</td> + <td>' . _('Ord Price'). '</td> + <td>' . _('Chg Price'). '</td> + <td>' . _('Reqd Date'). '</td> + </tr>'; $k =0; //row colour counter $OrderTotal=0; @@ -184,35 +218,37 @@ } printf ('<td>%s</td> - <td>%s</td> - <td class="number">%s</td> - <td class="number">%s</td> - <td class="number">%s</td> - <td class="number">%s</td> - <td class="number">%s</td> - <td>%s</td> - </tr>' , - $myrow['itemcode'], - $myrow['itemdescription'], - locale_number_format($myrow['quantityord'],$DecimalPlaces), - locale_number_format($myrow['quantityrecd'],$DecimalPlaces), - locale_number_format($myrow['qtyinvoiced'],$DecimalPlaces), - locale_number_format($myrow['unitprice'],$CurrDecimalPlaces), - locale_number_format($myrow['actprice'],$CurrDecimalPlaces), - $DisplayReqdDate); + <td>%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td>%s</td> + </tr>' , + $myrow['itemcode'], + $myrow['itemdescription'], + locale_number_format($myrow['quantityord'],$DecimalPlaces), + locale_number_format($myrow['quantityrecd'],$DecimalPlaces), + locale_number_format($myrow['qtyinvoiced'],$DecimalPlaces), + locale_number_format($myrow['unitprice'],$CurrDecimalPlaces), + locale_number_format($myrow['actprice'],$CurrDecimalPlaces), + $DisplayReqdDate); } echo '<tr><td><br /></td> </tr> - <tr><td colspan="4" class="number">' . _('Total Order Value Excluding Tax') .'</td> - <td colspan="2" class="number">' . locale_number_format($OrderTotal,$CurrDecimalPlaces) . '</td></tr>'; -echo '<tr> - <td colspan="4" class="number">' . _('Total Order Value Received Excluding Tax') . '</td> - <td colspan="2" class="number">' . locale_number_format($RecdTotal,$CurrDecimalPlaces) . '</td></tr>'; -echo '</table>'; + <tr> + <td colspan="4" class="number">' . _('Total Order Value Excluding Tax') .'</td> + <td colspan="2" class="number">' . locale_number_format($OrderTotal,$CurrDecimalPlaces) . '</td> + </tr> + <tr> + <td colspan="4" class="number">' . _('Total Order Value Received Excluding Tax') . '</td> + <td colspan="2" class="number">' . locale_number_format($RecdTotal,$CurrDecimalPlaces) . '</td> + </tr> + </table> + <br />'; -echo '<br />'; - include ('includes/footer.inc'); ?> Modified: trunk/PO_SelectPurchOrder.php =================================================================== --- trunk/PO_SelectPurchOrder.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/PO_SelectPurchOrder.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -24,9 +24,9 @@ } elseif (isset($_POST['SelectedSupplier'])) { $SelectedSupplier = $_POST['SelectedSupplier']; } -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 '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> + <div> + <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($_POST['ResetPart'])) { unset($SelectedStockItem); } @@ -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="text" name="OrderNumber" autofocus="autofocus" maxlength="8" size="9" /> ' . _('Into Stock Location') . ':<select name="StockLocation"> '; + echo _('Order Number') . ': <input type="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)) { @@ -429,16 +429,16 @@ /*show a table of the orders returned by the SQL */ echo '<table cellpadding="2" width="90%" class="selection">'; $TableHeader = '<tr> - <th>' . _('View') . '</th> - <th>' . _('Supplier') . '</th> - <th>' . _('Currency') . '</th> - <th>' . _('Requisition') . '</th> - <th>' . _('Order Date') . '</th> - <th>' . _('Delivery Date') . '</th> - <th>' . _('Initiator') . '</th> - <th>' . _('Order Total') . '</th> - <th>' . _('Status') . '</th> - </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> + </tr>'; echo $TableHeader; $j = 1; $k = 0; //row colour counter Modified: trunk/PricesByCost.php =================================================================== --- trunk/PricesByCost.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/PricesByCost.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -147,18 +147,19 @@ echo '<div class="page_help_text">' . _('Items in') . ' ' . $CategoryText . ' ' . _('With Prices') . ' ' . $Comparator . '' . $_POST['Margin'] . ' ' . _('times') . ' ' . _('Cost in Price List') . ' ' . $SalesTypeRow['sales_type'] . '</div><br /><br />'; if ($numrow > 0) { //the number of prices returned from the main prices query is - echo '<table class="selection">'; - echo '<tr><th>' . _('Code') . '</th> - <th>' . _('Description') . '</th> - <th>' . _('Customer') . '</th> - <th>' . _('Branch') . '</th> - <th>' . _('Start Date') . '</th> - <th>' . _('End Date') . '</th> - <th>' . _('Cost') . '</th> - <th>' . _('GP %') . '</th> - <th>' . _('Price Proposed') . '</th> - <th>' . _('List Price') . '</th> - <tr>'; + 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> + <tr>'; $k = 0; //row colour counter echo '<form action="' .htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post" id="update">'; echo '<div>'; @@ -248,7 +249,8 @@ echo '<option value="' . $myrow1['categoryid'] . '">' . $myrow1['categorydescription'] . '</option>'; } echo '</select></td></tr>'; - echo '<tr><td>' . _('Price') . ' + echo '<tr> + <td>' . _('Price') . ' <select name="Comparator"> <option value="1">' . _('Less than or equal to') . '</option> <option value="2">' . _('Greater than or equal to') . '</option>'; @@ -260,7 +262,8 @@ if (!isset($_POST['Margin'])){ $_POST['Margin']=1; } - echo '<td><input type="text" class="number" name="Margin" maxlength="8" size="8" value="' .$_POST['Margin'] . '" /></td></tr>'; + echo '<td><input type="text" class="number" name="Margin" maxlength="8" size="8" value="' .$_POST['Margin'] . '" /></td> + </tr>'; $result = DB_query("SELECT typeabbrev, sales_type FROM salestypes", $db); echo '<tr><td>' . _('Sales Type') . '/' . _('Price List') . ':</td> <td><select name="SalesType">'; @@ -273,9 +276,11 @@ } //end while loop DB_data_seek($result, 0); $result = DB_query("SELECT currency, currabrev FROM currencies", $db); - echo '</select></td></tr> - <tr><td>' . _('Currency') . ':</td> - <td><select name="CurrCode">'; + echo '</select></td> + </tr> + <tr> + <td>' . _('Currency') . ':</td> + <td><select name="CurrCode">'; while ($myrow = DB_fetch_array($result)) { if (isset($_POST['CurrCode']) and $_POST['CurrCode'] == $myrow['currabrev']) { echo '<option selected="selected" value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; @@ -286,9 +291,10 @@ DB_data_seek($result, 0); echo '</select></td></tr>'; echo '</table> - <br /><div class="centre"><input type="submit" name="submit" value="' . _('Submit') . '" /></div>'; - echo '</div> - </form>'; + <br /> + <div class="centre"><input type="submit" name="submit" value="' . _('Submit') . '" /></div> + </div> + </form>'; } /*end of else not submit */ include ('includes/footer.inc'); -?> \ No newline at end of file +?> Modified: trunk/Prices_Customer.php =================================================================== --- trunk/Prices_Customer.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/Prices_Customer.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -252,8 +252,10 @@ echo '<tr><td>' . _('There are no special prices set up for this part') . '</td></tr>'; } else { /*THERE IS ALREADY A spl price setup */ - echo '<tr><th>' . _('Special Price') . - '</th><th>' . _('Branch') . '</th></tr>'; + echo '<tr> + <th>' . _('Special Price') . '</th> + <th>' . _('Branch') . '</th> + </tr>'; while ($myrow = DB_fetch_array($result)) { @@ -455,4 +457,4 @@ $OldStartDate = $myrow['startdate']; } // end of loop around duplicate no end date prices } -?> \ No newline at end of file +?> Modified: trunk/PurchData.php =================================================================== --- trunk/PurchData.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/PurchData.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -268,15 +268,15 @@ echo '<table cellpadding="2" class="selection">'; $TableHeader = '<tr> - <th>' . _('Supplier') . '</th> - <th>' . _('Price') . '</th> + <th class="ascending" onClick="SortSelect(this)">' . _('Supplier') . '</th> + <th class="ascending" onClick="SortSelect(this)">' . _('Price') . '</th> <th>' . _('Supplier Unit') . '</th> <th>' . _('Conversion Factor') . '</th> - <th>' . _('Cost Per Our Unit') . '</th> - <th>' . _('Currency') . '</th> - <th>' . _('Effective From') . '</th> - <th>' . _('Min Order Qty') . '</th> - <th>' . _('Lead Time') . '</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>' . _('Preferred') . '</th> </tr>'; echo $TableHeader; @@ -382,7 +382,7 @@ <td><input type="text" name="Keywords" size="20" maxlength="25" /></td> <td><b>' . _('OR') . '</b></td> <td>' . _('Text in Supplier') . ' <b>' . _('CODE') . '</b>:</td> - <td><input type="text" name="SupplierCode" size="20" maxlength="50" /></td> + <td><input type="text" name="SupplierCode" pattern="[0-9a-zA-Z_\-]*" size="20" maxlength="50" /></td> </tr> </table> <br /> @@ -466,12 +466,12 @@ <table cellpadding="2" colspan="7" class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $TableHeader = '<tr> - <th>' . _('Code') . '</th> - <th>' . _('Supplier Name') . '</th> - <th>' . _('Currency') . '</th> - <th>' . _('Address 1') . '</th> - <th>' . _('Address 2') . '</th> - <th>' . _('Address 3') . '</th> + <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> </tr>'; echo $TableHeader; $k = 0; @@ -657,7 +657,7 @@ } echo '<tr> <td>' . _('Lead Time') . ' (' . _('in days from date of order') . '):</td> - <td><input type="text" class="number" name="LeadTime" maxlength="4" size="5" value="' . $_POST['LeadTime'] . '" /></td> + <td><input type="text" class="integer" name="LeadTime" maxlength="4" size="5" value="' . $_POST['LeadTime'] . '" /></td> </tr> <tr> <td>' . _('Preferred Supplier') . ':</td> @@ -696,11 +696,11 @@ echo '<table cellpadding="2" colspan="7" class="selection"> <tr> - <th>' . _('Discount Name') . '</th> - <th>' . _('Discount') . '<br />' . _('Value') . '</th> - <th>' . _('Discount') . '<br />' . _('Percent') . '</th> - <th>' . _('Effective From') . '</th> - <th>' . _('Effective To') . '</th> + <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> </tr>'; $k = 0; $i = 0; //DiscountCounter Modified: trunk/SalesCategories.php =================================================================== --- trunk/SalesCategories.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/SalesCategories.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -505,10 +505,10 @@ <th colspan="4">'._('Inventory items for') . ' ' . $CategoryPath . '</th> </tr> <tr> - <th>' . _('Item') . '</th> - <th>' . _('Description') . '</th> - <th>' . _('Brand') . '</th> - <th>' . _('Featured') . '</th> + <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> </tr>'; $k=0; //row colour counter @@ -544,4 +544,4 @@ } include('includes/footer.inc'); -?> \ No newline at end of file +?> Modified: trunk/SuppTransGLAnalysis.php =================================================================== --- trunk/SuppTransGLAnalysis.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/SuppTransGLAnalysis.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -104,12 +104,12 @@ <table class="selection">'; $TableHeader = '<tr> - <th>' . _('Account') . '</th> - <th>' . _('Name') . '</th> - <th>' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> + <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['SuppTrans']->CurrCode . '</th> <th>' . _('Narrative') . '</th> - <th>' . _('Tag') . '</th> - </tr>'; + <th class="ascending" onclick="SortSelect(this)">' . _('Tag') . '</th> + </tr>'; echo $TableHeader; $TotalGLValue=0; $i=0; @@ -187,7 +187,7 @@ echo '<tr> <td>' . _('Account Code') . ':</td> - <td><input type="integer" pattern="[1-9][\d]{0,20}" title="'._('The input must be positive integer').'" placeholder="'._('Integer less than 20 digits').'" name="GLCode" size="21" maxlength="20" value="' . $_POST['GLCode'] . '" /> + <td><input type="text" pattern="[a-zA-Z0-9_\-]*{0,20}" title="'._('The input must be positive integer').'" name="GLCode" size="21" maxlength="20" value="' . $_POST['GLCode'] . '" /> <input type="hidden" name="JobRef" value="" /></td> </tr>'; echo '<tr> Modified: trunk/TaxAuthorityRates.php =================================================================== --- trunk/TaxAuthorityRates.php 2013-08-16 10:17:58 UTC (rev 6240) +++ trunk/TaxAuthorityRates.php 2013-08-17 08:07:47 UTC (rev 6241) @@ -84,9 +84,9 @@ <th colspan="3"><h3>' . _('Update') . ' ' . $myrow[0] . ' ' . _('Rates') . '</h3></th> </tr>'; $TableHeader = '<tr> - <th>' . _('Deliveries From') . '<br />' . _('Tax Province') . '</th> - <th>' . _('Tax Category') . '</th> - <th>' . _('Tax Rate') . ' %</th> + <th class="ascending" onClick="SortSelect(this)">' . _('Deliveries From') . '<br />' . _('Tax Province') . '</th> + <th class="ascending" onClick="SortSelect(this)">' . _('Tax Category') . '</th> + <th class="ascending" onClick="SortSelect(this)">' . _('Tax Rate') . ' %</th> </tr>'; echo $TableHeader; $j = 1; |
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 Sales Order').'" /></td>'; echo '<td colspan="1"><input type="hidden" name="NextList" value="'.strval($Offset+1).'" /><input tabindex="'.strval($j+10).'" type="submit" name="Next" value="'._('Next').'" /></td></tr>'; 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" >' . _('On Hand') . '</th> + <th class="ascending" >' . _('On Demand') . '</th> + <th class="ascending" >' . _('On Order') . '</th> + <th class="ascending" >' . _('Available') . '</th> <th>' . _('Quantity') . '</th> </tr>'; $ImageSource = _('No Image'); Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectProduct.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -767,8 +767,8 @@ echo '<table id="ItemSearchTable" class="selection">'; $TableHeader = '<tr> <th>' . _('Stock Status') . '</th> - <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>' . _('Total Qty On Hand') . '</th> <th>' . _('Units') . '</th> </tr>'; Modified: trunk/SelectSalesOrder.php =================================================================== --- trunk/SelectSalesOrder.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectSalesOrder.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -607,9 +607,9 @@ echo '<table cellpadding="2" class="selection">'; echo '<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" >' . _('Code') . '</th> + <th class="ascending" >' . _('Description') . '</th> + <th class="ascending" >' . _('On Hand') . '</th> <th>' . _('Units') . '</th> </tr>'; @@ -851,13 +851,13 @@ <th>' . _('Modify') . '</th> <th>' . _('Invoice') . '</th> <th>' . _('Dispatch Note') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Customer') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Branch') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Cust Order') . ' #</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Order Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Req Del Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Delivery To') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Order Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th>'; + <th class="ascending" >' . _('Customer') . '</th> + <th class="ascending" >' . _('Branch') . '</th> + <th class="ascending" >' . _('Cust Order') . ' #</th> + <th class="ascending" >' . _('Order Date') . '</th> + <th class="ascending" >' . _('Req Del Date') . '</th> + <th class="ascending" >' . _('Delivery To') . '</th> + <th class="ascending" >' . _('Order Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th>'; if ($AuthRow['cancreate']==0){ //If cancreate==0 then this means the user can create orders hmmm!! $TableHeader .= '<th>' . _('Place PO') . '</th></tr>'; @@ -868,13 +868,13 @@ $TableHeader = '<tr> <th>' . _('Modify') . '</th> <th>' . _('Print Quote') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Customer') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Branch') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Cust Ref') . ' #</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Quote Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Req Del Date') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Delivery To') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Quote Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th> + <th class="ascending" >' . _('Customer') . '</th> + <th class="ascending" >' . _('Branch') . '</th> + <th class="ascending" >' . _('Cust Ref') . ' #</th> + <th class="ascending" >' . _('Quote Date') . '</th> + <th class="ascending" >' . _('Req Del Date') . '</th> + <th class="ascending" >' . _('Delivery To') . '</th> + <th class="ascending" >' . _('Quote Total') . '<br />' . $_SESSION['CompanyRecord']['currencydefault'] . '</th> </tr>'; } Modified: trunk/SelectSupplier.php =================================================================== --- trunk/SelectSupplier.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SelectSupplier.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -274,15 +274,15 @@ <br /> <table cellpadding="2">'; 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)">' . _('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" onclick="SortSelect(this)">' . _('Address 4') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Telephone') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</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> + <th class="ascending">' . _('Address 4') . '</th> + <th class="ascending">' . _('Telephone') . '</th> + <th class="ascending">' . _('Email') . '</th> </tr>'; $k = 0; //row counter to determine background colour $RowIndex = 0; Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/StockTransfers.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -46,8 +46,8 @@ $result = DB_query($sql,$db,$ErrMsg,$DbgMsg); echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)">'._('Stock Code').'</th> - <th class="ascending" onclick="SortSelect(this)">'._('Stock Description').'</th> + <th class="ascending">'._('Stock Code').'</th> + <th class="ascending">'._('Stock Description').'</th> </tr>'; while ($myrow = DB_fetch_array($result)) { echo '<tr> Modified: trunk/StockUsage.php =================================================================== --- trunk/StockUsage.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/StockUsage.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -143,8 +143,8 @@ echo '<table class="selection">'; $tableheader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Month') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Usage') . '</th> + <th class="ascending">' . _('Month') . '</th> + <th class="ascending">' . _('Usage') . '</th> </tr>'; echo $tableheader; Modified: trunk/SuppContractChgs.php =================================================================== --- trunk/SuppContractChgs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppContractChgs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -75,10 +75,10 @@ echo '<table class="selection">'; $TableHeader = '<tr> - <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> + <th class="ascending">' . _('Contract') . '</th> + <th class="ascending">' . _('Amount') . '</th> + <th class="ascending">' . _('Narrative') . '</th> + <th class="ascending">' . _('Anticipated') . '</th> </tr>'; echo $TableHeader; Modified: trunk/SuppCreditGRNs.php =================================================================== --- trunk/SuppCreditGRNs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppCreditGRNs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -181,16 +181,16 @@ if (DB_num_rows($GRNResults)>0){ $TableHeader = '<tr> - <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> + <th class="ascending">' . _('GRN') . '</th> + <th class="ascending">' . _('Order') . '</th> + <th class="ascending">' . _('Item Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Delivered') . '</th> + <th class="ascending">' . _('Total Qty') . '<br />' . _('Received') . '</th> + <th class="ascending">' . _('Qty Invoiced') . '</th> + <th class="ascending">' . _('Qty Yet') . '<br />' . _('invoice') . '</th> + <th class="ascending">' . _('Price') . '<br />' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Line Value') . '<br />' . _('In') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> </tr>'; echo $TableHeader; Modified: trunk/SuppFixedAssetChgs.php =================================================================== --- trunk/SuppFixedAssetChgs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppFixedAssetChgs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -74,9 +74,9 @@ echo '</p></div>'; echo '<table class="selection">'; $TableHeader = '<tr> - <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> + <th class="ascending">' . _('Asset ID') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Amount') . '</th> </tr>'; echo $TableHeader; Modified: trunk/SuppInvGRNs.php =================================================================== --- trunk/SuppInvGRNs.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppInvGRNs.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -296,16 +296,16 @@ </tr>'; $tableheader = '<tbody><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> + <th class="ascending">' . _('Select') . '</th> + <th class="ascending">' . _('Sequence') . ' #</th> + <th class="ascending">' . _('Order') . '</th> + <th class="ascending">' . _('Item Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Total Qty Received') . '</th> + <th class="ascending">' . _('Qty Already Invoiced') . '</th> + <th class="ascending">' . _('Qty Yet To Invoice') . '</th> + <th class="ascending">' . _('Order Price in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Line Value in') . ' ' . $_SESSION['SuppTrans']->CurrCode . '</th> </tr>'; $i = 0; $POs = array(); Modified: trunk/SuppTransGLAnalysis.php =================================================================== --- trunk/SuppTransGLAnalysis.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SuppTransGLAnalysis.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -104,11 +104,11 @@ <table class="selection">'; $TableHeader = '<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['SuppTrans']->CurrCode . '</th> + <th class="ascending">' . _('Account') . '</th> + <th class="ascending">' . _('Name') . '</th> + <th class="ascending">' . _('Amount') . '<br />' . _('in') . ' ' . $_SESSION['SuppTrans']->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/SupplierAllocations.php =================================================================== --- trunk/SupplierAllocations.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierAllocations.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -451,13 +451,13 @@ echo '<table class="selection">'; $TableHeader = '<tr> - <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> + <th class="ascending">' . _('Type') . '</th> + <th class="ascending">' . _('Trans') . '<br />' . _('Number') . '</th> + <th class="ascending">' . _('Trans') .'<br />' . _('Date') . '</th> + <th class="ascending">' . _('Supp') . '<br />' . _('Ref') . '</th> + <th class="ascending">' . _('Total') . '<br />' . _('Amount') .'</th> + <th class="ascending">' . _('Yet to') . '<br />' . _('Allocate') . '</th> + <th class="ascending">' . _('This') . '<br />' . _('Allocation') . '</th> </tr>'; $k = 0; $Counter = 0; Modified: trunk/SupplierContacts.php =================================================================== --- trunk/SupplierContacts.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierContacts.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -149,11 +149,11 @@ </tr>'; echo '<tbody><tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Name') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Position') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Phone No') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Fax No') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Email') . '</th> + <th class="ascending">' . _('Name') . '</th> + <th class="ascending">' . _('Position') . '</th> + <th class="ascending">' . _('Phone No') . '</th> + <th class="ascending">' . _('Fax No') . '</th> + <th class="ascending">' . _('Email') . '</th> </tr>'; do { Modified: trunk/SupplierInquiry.php =================================================================== --- trunk/SupplierInquiry.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierInquiry.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -205,14 +205,14 @@ echo '<table width="90%" class="selection">'; $TableHeader = '<tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Trans') . ' #' .'</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Type') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Supplier Ref') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Date') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Total') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Allocated') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Balance') . '</th> - <th class="ascending" onclick="SortSelect(this)">' . _('Comments') . '</th> + <th class="ascending">' . _('Trans') . ' #' .'</th> + <th class="ascending">' . _('Type') . '</th> + <th class="ascending">' . _('Supplier Ref') . '</th> + <th class="ascending">' . _('Date') . '</th> + <th class="ascending">' . _('Total') . '</th> + <th class="ascending">' . _('Allocated') . '</th> + <th class="ascending">' . _('Balance') . '</th> + <th class="ascending">' . _('Comments') . '</th> <th colspan="2"></th> </tr>'; Modified: trunk/SupplierTenderCreate.php =================================================================== --- trunk/SupplierTenderCreate.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierTenderCreate.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -604,13 +604,13 @@ <br /> <table cellpadding="2">'; echo '<tr> - <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Supplier Name') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Currency') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 1') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 2') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 3') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Address 4') . '</th> + <th class="assending">' . _('Code') . '</th> + <th class="assending">' . _('Supplier Name') . '</th> + <th class="assending">' . _('Currency') . '</th> + <th class="assending">' . _('Address 1') . '</th> + <th class="assending">' . _('Address 2') . '</th> + <th class="assending">' . _('Address 3') . '</th> + <th class="assending">' . _('Address 4') . '</th> </tr>'; $j = 1; $k = 0; //row counter to determine background colour @@ -840,11 +840,11 @@ echo '<table cellpadding="1">'; echo '<tr> - <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Units') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Image') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Quantity') . '</th> + <th class="assending">' . _('Code') . '</th> + <th class="assending">' . _('Description') . '</th> + <th class="assending">' . _('Units') . '</th> + <th class="assending">' . _('Image') . '</th> + <th class="assending">' . _('Quantity') . '</th> </tr>'; $i = 0; Modified: trunk/SupplierTenders.php =================================================================== --- trunk/SupplierTenders.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierTenders.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -322,13 +322,13 @@ echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Items to offer from').' '.$Supplier .'</p>'; echo '<table> <tr> - <th class="assending" onclick="SortSelect(this)">'._('Stock ID').'</th> - <th class="assending" onclick="SortSelect(this)">'._('Description').'</th> - <th class="assending" onclick="SortSelect(this)">'._('Quantity').'</th> - <th class="assending" onclick="SortSelect(this)">'._('UOM').'</th> - <th class="assending" onclick="SortSelect(this)">'._('Price').' ('.$Currency.')</th> - <th class="assending" onclick="SortSelect(this)">'._('Line Total').' ('.$Currency.')</th> - <th class="assending" onclick="SortSelect(this)">'._('Expiry Date').'</th> + <th class="assending">'._('Stock ID').'</th> + <th class="assending">'._('Description').'</th> + <th class="assending">'._('Quantity').'</th> + <th class="assending">'._('UOM').'</th> + <th class="assending">'._('Price').' ('.$Currency.')</th> + <th class="assending">'._('Line Total').' ('.$Currency.')</th> + <th class="assending">'._('Expiry Date').'</th> </tr>'; $k=0; foreach ($_SESSION['offer'.$identifier]->LineItems as $LineItems) { @@ -685,12 +685,12 @@ echo '<table cellpadding="1">'; $TableHeader = '<tr> - <th class="assending" onclick="SortSelect(this)">' . _('Code') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Description') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Units') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Image') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Quantity') . '</th> - <th class="assending" onclick="SortSelect(this)">' . _('Price') .' ('.$Currency.')</th> + <th class="assending">' . _('Code') . '</th> + <th class="assending">' . _('Description') . '</th> + <th class="assending">' . _('Units') . '</th> + <th class="assending">' . _('Image') . '</th> + <th class="assending">' . _('Quantity') . '</th> + <th class="assending">' . _('Price') .' ('.$Currency.')</th> </tr>'; echo $TableHeader; Modified: trunk/SupplierTypes.php =================================================================== --- trunk/SupplierTypes.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/SupplierTypes.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -169,8 +169,8 @@ echo '<table class="selection">'; echo '<tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Type ID') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Type Name') . '</th> + <th class="ascending" >' . _('Type ID') . '</th> + <th class="ascending" >' . _('Type Name') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TaxAuthorities.php =================================================================== --- trunk/TaxAuthorities.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxAuthorities.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -143,14 +143,14 @@ echo '<table class="selection"> <tr> - <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> + <th class="ascending" >' . _('ID') . '</th> + <th class="ascending" >' . _('Description') . '</th> + <th class="ascending" >' . _('Input Tax') . '<br />' . _('GL Account') . '</th> + <th class="ascending" >' . _('Output Tax') . '<br />' . _('GL Account') . '</th> + <th class="ascending" >' . _('Bank') . '</th> + <th class="ascending" >' . _('Bank Account') . '</th> + <th class="ascending" >' . _('Bank Act Type') . '</th> + <th class="ascending" >' . _('Bank Swift') . '</th> </tr>'; $k=0; while ($myrow = DB_fetch_row($result)) { Modified: trunk/TaxAuthorityRates.php =================================================================== --- trunk/TaxAuthorityRates.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxAuthorityRates.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -84,9 +84,9 @@ <th colspan="3"><h3>' . _('Update') . ' ' . $myrow[0] . ' ' . _('Rates') . '</h3></th> </tr>'; $TableHeader = '<tr> - <th class="ascending" onClick="SortSelect(this)">' . _('Deliveries From') . '<br />' . _('Tax Province') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Tax Category') . '</th> - <th class="ascending" onClick="SortSelect(this)">' . _('Tax Rate') . ' %</th> + <th class="ascending">' . _('Deliveries From') . '<br />' . _('Tax Province') . '</th> + <th class="ascending">' . _('Tax Category') . '</th> + <th class="ascending">' . _('Tax Rate') . ' %</th> </tr>'; echo $TableHeader; $j = 1; Modified: trunk/TaxCategories.php =================================================================== --- trunk/TaxCategories.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxCategories.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -164,7 +164,7 @@ echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Tax Categories') . '</th> + <th class="ascending">' . _('Tax Categories') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TaxGroups.php =================================================================== --- trunk/TaxGroups.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxGroups.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -169,8 +169,8 @@ } else { echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)" >' . _('Group No') . '</th> - <th class="ascending" onclick="SortSelect(this)" >' . _('Tax Group') . '</th> + <th class="ascending" >' . _('Group No') . '</th> + <th class="ascending" >' . _('Tax Group') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TaxProvinces.php =================================================================== --- trunk/TaxProvinces.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TaxProvinces.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -162,7 +162,7 @@ echo '<table class="selection"> <tr> - <th class="ascending" onclick="SortSelect(this)">' . _('Tax Provinces') . '</th> + <th class="ascending">' . _('Tax Provinces') . '</th> </tr>'; $k=0; //row colour counter Modified: trunk/TopItems.php =================================================================== --- trunk/TopItems.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/TopItems.php 2013-08-22 07:47:44 UTC (rev 6287) @@ -160,14 +160,14 @@ echo '<table class="selection">'; $TableHeader = '<tr> <th>' . _('#') . '</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> + <th class="ascending">' . _('Code') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Total Invoiced') . '</th> + <th class="ascending">' . _('Units') . '</th> + <th class="ascending">' . _('Value Sales') . '</th> + <th class="ascending">' . _('On Hand') . '</th> + <th class="ascending">' . _('On Order') . '</th> + <th class="ascending">' . _('Stock (Days)') . '</th> </tr>'; echo $TableHeader; echo '<input type="hidden" value="' . $_POST['Location'] . '" name="Location" /> Modified: trunk/UnitsOfMeasure.php =================================================================== --- trunk/UnitsOfMeasure.php 2013-08-22 01:52:26 UTC (rev 6286) +++ trunk/UnitsOfMeasure... [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:132 SellThroughSupport.php:298 +#: Shippers.php:144 StockCategories.php:267 SupplierContacts.php:165 #: SupplierTenderCreate.php:155 SupplierTypes.php:189 #: SuppTransGLAnalysis.php:125 TaxAuthorities.php:174 TaxCategories.php:182 #: TaxGroups.php:188 TaxProvinces.php:180 UnitsOfMeasure.php:185 @@ -436,35 +433,35 @@ #: COGSGLPostings.php:217 ContractBOM.php:272 ContractOtherReqts.php:124 #: CounterReturns.php:740 CounterSales.php:832 Credit_Invoice.php:400 #: CreditStatus.php:176 Currencies.php:367 CustomerReceipt.php:941 -#: Customers.php:1122 CustomerTypes.php:207 Departments.php:187 -#: DiscountCategories.php:225 DiscountMatrix.php:183 EDIMessageFormat.php:151 -#: FixedAssetCategories.php:191 FreightCosts.php:243 GeocodeSetup.php:174 -#: GLAccounts.php:317 GLJournal.php:429 GLTags.php:97 +#: Customers.php:1149 CustomerTypes.php:207 Departments.php:187 +#: DiscountCategories.php:229 DiscountMatrix.php:183 EDIMessageFormat.php:151 +#: FixedAssetCategories.php:191 FreightCosts.php:254 GeocodeSetup.php:174 +#: GLAccounts.php:318 GLJournal.php:429 GLTags.php:97 #: ImportBankTransAnalysis.php:225 InternalStockCategoriesByRole.php:184 #: InternalStockRequest.php:291 Labels.php:324 Labels.php:349 Labels.php:597 -#: Locations.php:404 MailingGroupMaintenance.php:179 MaintenanceTasks.php:115 +#: Locations.php:404 MailingGroupMaintenance.php:179 MaintenanceTasks.php:119 #: Manufacturers.php:218 MRPDemands.php:310 MRPDemandTypes.php:121 -#: PaymentMethods.php:209 Payments.php:1095 PaymentTerms.php:206 -#: PcAssignCashToTab.php:280 PcClaimExpensesFromTab.php:269 PcExpenses.php:227 -#: PcExpensesTypeTab.php:187 PcTabs.php:237 PcTypeTabs.php:178 -#: PO_AuthorisationLevels.php:153 PO_Items.php:770 Prices_Customer.php:279 -#: Prices.php:250 PurchData.php:309 PurchData.php:716 -#: SalesAnalReptCols.php:299 SalesAnalRepts.php:307 SalesCategories.php:260 -#: SalesCategoryDescriptions.php:114 SalesGLPostings.php:138 -#: SalesGLPostings.php:254 SalesPeople.php:233 SalesTypes.php:207 -#: SecurityTokens.php:131 SelectCreditItems.php:779 SelectCustomer.php:622 -#: SelectCustomer.php:641 SelectCustomer.php:671 SelectCustomer.php:689 -#: SelectCustomer.php:713 SelectCustomer.php:730 SelectOrderItems.php:1445 -#: SellThroughSupport.php:299 Shipments.php:440 Shippers.php:145 -#: SpecialOrder.php:667 StockCategories.php:265 StockCategories.php:587 -#: StockLocTransfer.php:332 SuppContractChgs.php:99 SuppCreditGRNs.php:112 -#: SuppFixedAssetChgs.php:90 SuppInvGRNs.php:147 SupplierContacts.php:166 -#: SupplierTenderCreate.php:417 SupplierTenderCreate.php:445 -#: 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:323 WWW_Access.php:127 WWW_Users.php:328 -#: includes/InputSerialItemsKeyed.php:60 includes/OutputSerialItems.php:99 +#: 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 +#: 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 +#: SalesTypes.php:207 SecurityTokens.php:131 SelectCreditItems.php:779 +#: SelectCustomer.php:615 SelectCustomer.php:634 SelectCustomer.php:664 +#: 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 +#: SupplierContacts.php:166 SupplierTenderCreate.php:417 +#: SupplierTenderCreate.php:445 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 +#: WWW_Users.php:328 includes/InputSerialItemsKeyed.php:60 +#: includes/OutputSerialItems.php:99 #, php-format msgid "Delete" msgstr "حذف" @@ -506,7 +503,8 @@ #, fuzzy msgid "" "A unique name for the account group must be entered - at least 3 characters " -"long and less than 30 characters long" +"long and less than 30 characters long. Only alpha numeric characters can be " +"used." msgstr "اسم المجموعة يجب ان يحتوي علي الأقل علي حرف واحد" #: AccountGroups.php:413 AccountGroups.php:415 @@ -530,28 +528,25 @@ "ledger accounts should display in the trial balance" msgstr "" -#: AccountGroups.php:465 AccountSections.php:262 AddCustomerContacts.php:260 +#: AccountGroups.php:465 AccountSections.php:263 AddCustomerContacts.php:260 #: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:229 -#: BankAccounts.php:399 BOMs.php:787 COGSGLPostings.php:365 +#: BankAccounts.php:399 BOMs.php:791 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 -#: FreightCosts.php:342 GeocodeSetup.php:271 GLAccounts.php:266 Labels.php:631 +#: FreightCosts.php:371 GeocodeSetup.php:271 GLAccounts.php:266 Labels.php:631 #: Locations.php:635 Manufacturers.php:312 MRPDemands.php:424 #: MRPDemandTypes.php:188 OffersReceived.php:57 OffersReceived.php:146 -#: PaymentMethods.php:300 PaymentTerms.php:310 PO_AuthorisationLevels.php:262 -#: Prices_Customer.php:361 SalesAnalReptCols.php:552 SalesAnalRepts.php:519 -#: SalesCategoryDescriptions.php:196 SalesGLPostings.php:425 -#: SalesPeople.php:370 Shippers.php:203 StockCategories.php:614 -#: SupplierContacts.php:284 SuppLoginSetup.php:295 TaxAuthorities.php:329 -#: TaxCategories.php:238 TaxProvinces.php:235 UnitsOfMeasure.php:241 -#: WorkCentres.php:280 WWW_Users.php:732 +#: PaymentMethods.php:300 PaymentTerms.php:310 PO_AuthorisationLevels.php:264 +#: Prices_Customer.php:363 SalesAnalReptCols.php:552 SalesAnalRepts.php:519 +#: SalesGLPostings.php:425 SalesPeople.php:373 Shippers.php:203 +#: StockCategories.php:640 SupplierContacts.php:284 SuppLoginSetup.php:292 +#: TaxAuthorities.php:329 TaxCategories.php:241 TaxProvinces.php:235 +#: UnitsOfMeasure.php:241 WorkCentres.php:280 WWW_Users.php:735 msgid "Enter Information" msgstr "أدخل المعلومات" -#: AccountSections.php:7 includes/MainMenuLinksArray.php:363 -#: includes/MainMenuLinksArray (puppypc32158's conflicted copy -#: 2013-06-24).php:363 +#: AccountSections.php:7 includes/MainMenuLinksArray.php:365 msgid "Account Sections" msgstr "أعدادات العضو" @@ -594,7 +589,7 @@ msgid "Section Number" msgstr "رقم القطاع" -#: AccountSections.php:177 AccountSections.php:257 +#: AccountSections.php:177 AccountSections.php:258 msgid "Section Description" msgstr "وصف القطاع" @@ -610,8 +605,8 @@ msgid "Could not retrieve the requested section please try again." msgstr "لم أستطيع استرجاع القطاع المطلوب حاول مجددا" -#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:613 -#: SelectCustomer.php:648 +#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:606 +#: SelectCustomer.php:641 msgid "Customer Contacts" msgstr "" @@ -649,11 +644,11 @@ #: AddCustomerContacts.php:59 AddCustomerNotes.php:51 #: AddCustomerTypeNotes.php:48 Areas.php:72 CustomerTypes.php:69 -#: DeliveryDetails.php:790 DeliveryDetails.php:807 Factors.php:105 +#: DeliveryDetails.php:801 DeliveryDetails.php:818 Factors.php:105 #: 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:545 Suppliers.php:520 +#: SalesPeople.php:97 SalesTypes.php:66 Stocks.php:558 Suppliers.php:524 #: SupplierTypes.php:67 msgid "has been updated" msgstr "" @@ -666,9 +661,9 @@ msgid "The contact record has been deleted" msgstr "" -#: AddCustomerContacts.php:126 CompanyPreferences.php:226 -#: CustomerBranches.php:373 Customers.php:1074 Customers.php:1082 -#: ImportBankTransAnalysis.php:207 SalesPeople.php:200 SelectCustomer.php:616 +#: AddCustomerContacts.php:126 CompanyPreferences.php:173 +#: CustomerBranches.php:383 Customers.php:1101 Customers.php:1109 +#: ImportBankTransAnalysis.php:207 SalesPeople.php:200 SelectCustomer.php:609 #: StockDispatch.php:275 StockDispatch.php:286 StockDispatch.php:297 #: SupplierContacts.php:152 SuppTransGLAnalysis.php:108 #: includes/InputSerialItemsFile.php:92 includes/InputSerialItemsFile.php:144 @@ -676,8 +671,8 @@ msgid "Name" msgstr "" -#: AddCustomerContacts.php:127 AddCustomerContacts.php:223 Customers.php:1075 -#: Customers.php:1083 SelectCustomer.php:617 WWW_Access.php:110 +#: AddCustomerContacts.php:127 AddCustomerContacts.php:223 Customers.php:1102 +#: Customers.php:1110 SelectCustomer.php:610 WWW_Access.php:110 #: WWW_Access.php:173 msgid "Role" msgstr "" @@ -687,31 +682,29 @@ msgstr "" #: AddCustomerContacts.php:129 AddCustomerContacts.php:241 -#: CustomerBranches.php:379 CustomerBranches.php:801 CustomerInquiry.php:261 -#: Customers.php:1077 Customers.php:1085 EmailCustTrans.php:15 +#: CustomerBranches.php:389 CustomerBranches.php:811 CustomerInquiry.php:261 +#: Customers.php:1104 Customers.php:1112 EmailCustTrans.php:15 #: EmailCustTrans.php:64 Factors.php:246 Factors.php:297 Locations.php:587 #: OrderDetails.php:115 PDFRemittanceAdvice.php:251 PO_PDFPurchOrder.php:395 #: PO_PDFPurchOrder.php:398 PrintCustTrans.php:746 PrintCustTrans.php:977 #: PrintCustTrans.php:1026 PrintCustTransPortrait.php:789 #: PrintCustTransPortrait.php:1035 PrintCustTransPortrait.php:1091 -#: SelectCustomer.php:427 SelectCustomer.php:619 SelectSupplier.php:285 +#: SelectCustomer.php:427 SelectCustomer.php:612 SelectSupplier.php:285 #: 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/PO_PDFOrderPageHeader.inc:29 includes/PO_PDFOrderPageHeader -#: (puppypc32158's conflicted copy 2013-05-23).inc:29 2013-06-24).inc:29 -#: ../webshop/Checkout.php:231 ../webshop/Register.php:404 -#: ../webshop/includes/Register.php:404 +#: includes/PO_PDFOrderPageHeader.inc:29 ../webSHOP/Checkout.php:296 +#: ../webSHOP/Register.php:595 msgid "Email" msgstr "" -#: AddCustomerContacts.php:130 AddCustomerContacts.php:250 Customers.php:1078 -#: Customers.php:1086 PcAssignCashToTab.php:241 PcAssignCashToTab.php:372 -#: PcAuthorizeExpenses.php:95 PcClaimExpensesFromTab.php:230 -#: PcClaimExpensesFromTab.php:389 PcReportTab.php:327 SelectCustomer.php:620 -#: ShopParameters.php:193 SystemParameters.php:363 WOSerialNos.php:294 -#: WOSerialNos.php:300 +#: AddCustomerContacts.php:130 AddCustomerContacts.php:250 Customers.php:1105 +#: Customers.php:1113 PcAssignCashToTab.php:242 PcAssignCashToTab.php:380 +#: PcAuthorizeExpenses.php:97 PcClaimExpensesFromTab.php:238 +#: PcClaimExpensesFromTab.php:405 PcReportTab.php:336 SelectCustomer.php:613 +#: ShopParameters.php:193 SystemParameters.php:363 WOSerialNos.php:297 +#: WOSerialNos.php:303 msgid "Notes" msgstr "" @@ -729,23 +722,22 @@ msgstr "" #: AddCustomerContacts.php:214 Factors.php:234 SupplierContacts.php:239 -#: ../webshop/Checkout.php:313 ../webshop/Register.php:421 -#: ../webshop/includes/Register.php:421 +#: ../webSHOP/Checkout.php:377 ../webSHOP/Register.php:610 msgid "Contact Name" msgstr "" -#: AddCustomerContacts.php:232 Contracts.php:778 PDFRemittanceAdvice.php:247 -#: PO_Header.php:997 PO_Header.php:1081 SelectCreditItems.php:245 +#: AddCustomerContacts.php:232 Contracts.php:781 PDFRemittanceAdvice.php:247 +#: PO_Header.php:1017 PO_Header.php:1102 SelectCreditItems.php:245 #: SelectCustomer.php:425 SelectOrderItems.php:646 #: SupplierTenderCreate.php:390 includes/PDFStatementPageHeader.inc:63 #: includes/PDFTransPageHeader.inc:81 -#: includes/PDFTransPageHeaderPortrait.inc:105 ../webshop/Checkout.php:319 -#: ../webshop/Register.php:487 ../webshop/includes/Register.php:487 +#: includes/PDFTransPageHeaderPortrait.inc:105 ../webSHOP/Checkout.php:387 +#: ../webSHOP/Register.php:255 ../webSHOP/Register.php:723 msgid "Phone" msgstr "" -#: AddCustomerNotes.php:6 AddCustomerNotes.php:51 SelectCustomer.php:663 -#: SelectCustomer.php:696 +#: AddCustomerNotes.php:6 AddCustomerNotes.php:51 SelectCustomer.php:656 +#: SelectCustomer.php:689 msgid "Customer Notes" msgstr "" @@ -780,30 +772,29 @@ #: 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:334 -#: CustomerAllocations.php:368 CustomerInquiry.php:204 -#: CustomerTransInquiry.php:106 GLAccountInquiry.php:191 -#: GLAccountReport.php:343 GLTransInquiry.php:42 GLTransInquiry -#: (puppypc32158's conflicted copy 2013-06-24).php:42 MRPCalendar.php:219 -#: PaymentAllocations.php:66 PcAssignCashToTab.php:237 -#: PcAuthorizeExpenses.php:91 PDFRemittanceAdvice.php:308 +#: ContractCosting.php:177 CustomerAllocations.php:340 +#: CustomerAllocations.php:370 CustomerInquiry.php:204 +#: CustomerTransInquiry.php:106 GLAccountInquiry.php:174 +#: GLAccountReport.php:343 GLTransInquiry.php:42 MRPCalendar.php:219 +#: PaymentAllocations.php:66 PcAssignCashToTab.php:238 +#: PcAuthorizeExpenses.php:93 PDFRemittanceAdvice.php:308 #: PrintCustTrans.php:854 PrintCustTransPortrait.php:903 ReverseGRN.php:392 -#: SelectCustomer.php:666 SelectCustomer.php:708 ShipmentCosting.php:538 +#: SelectCustomer.php:659 SelectCustomer.php:701 ShipmentCosting.php:538 #: ShipmentCosting.php:615 Shipments.php:491 StockDispatch.php:277 #: StockDispatch.php:288 StockDispatch.php:299 StockLocMovements.php:91 #: StockMovements.php:98 StockSerialItemResearch.php:81 #: SupplierAllocations.php:456 SupplierAllocations.php:569 #: SupplierAllocations.php:644 SupplierInquiry.php:211 -#: SupplierTransInquiry.php:105 includes/PDFQuotationPageHeader.inc:94 -#: includes/PDFQuotationPortraitPageHeader.inc:91 +#: SupplierTransInquiry.php:105 includes/PDFQuotationPageHeader.inc:89 +#: includes/PDFQuotationPortraitPageHeader.inc:88 #: includes/PDFStatementPageHeader.inc:169 includes/PDFTaxPageHeader.inc:36 #: includes/PDFTransPageHeader.inc:48 #: includes/PDFTransPageHeaderPortrait.inc:58 msgid "Date" msgstr "" -#: AddCustomerNotes.php:118 AddCustomerTypeNotes.php:112 PcReportTab.php:172 -#: SelectCustomer.php:667 SelectCustomer.php:709 Stocks.php:1164 +#: AddCustomerNotes.php:118 AddCustomerTypeNotes.php:112 PcReportTab.php:181 +#: SelectCustomer.php:660 SelectCustomer.php:702 Stocks.php:1203 #: 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 @@ -821,7 +812,7 @@ #: AddCustomerNotes.php:120 AddCustomerNotes.php:231 #: AddCustomerTypeNotes.php:114 AddCustomerTypeNotes.php:215 -#: SelectCustomer.php:669 SelectCustomer.php:711 +#: SelectCustomer.php:662 SelectCustomer.php:704 msgid "Priority" msgstr "" @@ -842,7 +833,7 @@ msgid "Contact Note" msgstr "" -#: AddCustomerTypeNotes.php:5 SelectCustomer.php:705 +#: AddCustomerTypeNotes.php:5 SelectCustomer.php:698 msgid "Customer Type (Group) Notes" msgstr "" @@ -859,7 +850,7 @@ msgid "The contacts notes may not be empty" msgstr "" -#: AddCustomerTypeNotes.php:48 SelectCustomer.php:737 +#: AddCustomerTypeNotes.php:48 SelectCustomer.php:730 msgid "Customer Group Notes" msgstr "" @@ -906,8 +897,8 @@ #: AgedDebtors.php:264 AgedDebtors.php:363 AgedDebtors.php:428 #: AgedSuppliers.php:108 BOMExtendedQty.php:154 BOMIndented.php:150 #: BOMIndentedReverse.php:140 BOMListing.php:41 BOMListing.php:52 -#: DebtorsAtPeriodEnd.php:57 DebtorsAtPeriodEnd.php:69 GLBalanceSheet.php:105 -#: GLBalanceSheet.php:144 GLProfit_Loss.php:181 GLTagProfit_Loss.php:194 +#: DebtorsAtPeriodEnd.php:57 DebtorsAtPeriodEnd.php:69 GLBalanceSheet.php:108 +#: GLBalanceSheet.php:147 GLProfit_Loss.php:185 GLTagProfit_Loss.php:194 #: GLTrialBalance.php:163 InternalStockRequest.php:317 #: InventoryPlanning.php:101 InventoryPlanning.php:176 #: InventoryPlanning.php:211 InventoryPlanning.php:259 @@ -925,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:659 +#: StockCheck.php:65 StockCheck.php:139 SupplierTenderCreate.php:661 #: SupplierTenders.php:397 SuppPriceList.php:138 #: includes/PDFPaymentRun_PymtFooter.php:152 msgid "Problem Report" @@ -941,9 +932,9 @@ #: BOMExtendedQty.php:240 BOMIndented.php:153 BOMIndented.php:234 #: BOMIndentedReverse.php:144 BOMIndentedReverse.php:221 BOMListing.php:44 #: Credit_Invoice.php:197 DebtorsAtPeriodEnd.php:60 DebtorsAtPeriodEnd.php:72 -#: FTP_RadioBeacon.php:187 GetStockImage.php:150 GLBalanceSheet.php:109 -#: GLBalanceSheet.php:147 GLBalanceSheet.php:324 GLProfit_Loss.php:184 -#: GLProfit_Loss.php:196 GLTagProfit_Loss.php:198 GLTagProfit_Loss.php:211 +#: FTP_RadioBeacon.php:187 GetStockImage.php:150 GLBalanceSheet.php:112 +#: GLBalanceSheet.php:150 GLBalanceSheet.php:329 GLProfit_Loss.php:188 +#: GLProfit_Loss.php:200 GLTagProfit_Loss.php:198 GLTagProfit_Loss.php:211 #: GLTrialBalance.php:168 GLTrialBalance.php:182 InventoryPlanning.php:104 #: InventoryPlanning.php:179 InventoryPlanning.php:214 #: InventoryPlanning.php:262 InventoryPlanning.php:302 @@ -995,22 +986,22 @@ msgstr "" #: AgedDebtors.php:365 AgedSuppliers.php:197 GLAccountCSV.php:175 -#: GLAccountInquiry.php:179 GLAccountReport.php:97 PO_Items.php:448 -#: PO_Items.php:579 PO_Items.php:604 SalesAnalReptCols.php:365 +#: GLAccountInquiry.php:162 GLAccountReport.php:97 PO_Items.php:448 +#: PO_Items.php:577 PO_Items.php:602 SalesAnalReptCols.php:365 #: SpecialOrder.php:449 StockLocTransferReceive.php:390 #: StockQuantityByDate.php:123 includes/SelectOrderItems_IntoCart.inc:55 msgid "could not be retrieved because" msgstr "" #: AgedDebtors.php:368 AgedSuppliers.php:200 Areas.php:94 -#: ConfirmDispatch_Invoice.php:167 ConfirmDispatch_Invoice.php:990 -#: ConfirmDispatch_Invoice.php:1004 Contracts.php:592 CounterReturns.php:1014 -#: CounterReturns.php:1028 CounterSales.php:1425 CounterSales.php:1439 +#: ConfirmDispatch_Invoice.php:167 ConfirmDispatch_Invoice.php:994 +#: ConfirmDispatch_Invoice.php:1008 Contracts.php:592 CounterReturns.php:1010 +#: CounterReturns.php:1024 CounterSales.php:1431 CounterSales.php:1445 #: Credit_Invoice.php:723 Credit_Invoice.php:744 CustomerReceipt.php:556 #: CustomerReceipt.php:695 CustomerReceipt.php:723 CustomerTransInquiry.php:97 -#: DeliveryDetails.php:398 GLProfit_Loss.php:601 GLTagProfit_Loss.php:515 -#: Payments.php:353 PDFRemittanceAdvice.php:85 PurchData.php:109 -#: PurchData.php:127 PurchData.php:355 RecurringSalesOrders.php:267 +#: DeliveryDetails.php:409 GLProfit_Loss.php:608 GLTagProfit_Loss.php:515 +#: Payments.php:353 PDFRemittanceAdvice.php:85 PurchData.php:114 +#: PurchData.php:132 PurchData.php:360 RecurringSalesOrders.php:267 #: ReverseGRN.php:191 ReverseGRN.php:205 ReverseGRN.php:379 #: SelectCreditItems.php:1442 SelectSalesOrder.php:208 #: SelectSalesOrder.php:372 SellThroughSupport.php:81 @@ -1032,8 +1023,8 @@ #: includes/PDFPaymentRun_PymtFooter.php:158 #: includes/PDFPaymentRun_PymtFooter.php:189 includes/ConnectDB_mysqli.inc:76 #: includes/ConnectDB_mysql.inc:66 -#: ../webshop/includes/DatabaseFunctions.php:58 -#: ../webshop/includes/Functions.php:425 ../webshop/includes/PlaceOrder.php:52 +#: ../webSHOP/includes/DatabaseFunctions.php:60 +#: ../webSHOP/includes/Functions.php:438 ../webSHOP/includes/PlaceOrder.php:67 msgid "The SQL that failed was" msgstr "" @@ -1050,10 +1041,18 @@ msgid "From Customer Code" msgstr "" +#: AgedDebtors.php:460 +msgid "Enter the first customer code alphabetically to include in the report" +msgstr "" + #: AgedDebtors.php:463 DebtorsAtPeriodEnd.php:146 msgid "To Customer Code" msgstr "" +#: AgedDebtors.php:464 +msgid "Enter the last customer code alphabetically to include in the report" +msgstr "" + #: AgedDebtors.php:467 AgedSuppliers.php:295 msgid "All balances or overdues only" msgstr "" @@ -1098,10 +1097,10 @@ #: BOMIndented.php:275 BOMIndentedReverse.php:254 BOMListing.php:130 #: DebtorsAtPeriodEnd.php:168 InventoryPlanning.php:451 #: InventoryPlanningPrefSupplier.php:519 InventoryQuantities.php:210 -#: InventoryValuation.php:269 MRPPlannedPurchaseOrders.php:282 -#: MRPPlannedWorkOrders.php:341 MRPReschedules.php:153 MRPShortages.php:303 +#: InventoryValuation.php:269 MRPPlannedPurchaseOrders.php:294 +#: MRPPlannedWorkOrders.php:348 MRPReschedules.php:153 MRPShortages.php:303 #: OutstandingGRNs.php:277 PDFCustomerList.php:421 PDFLowGP.php:146 -#: PDFPriceList.php:307 PDFRemittanceAdvice.php:175 +#: PDFPriceList.php:312 PDFRemittanceAdvice.php:175 #: PDFStockCheckComparison.php:361 PrintCustTrans.php:570 #: PrintCustTransPortrait.php:612 ReorderLevel.php:259 StockDispatch.php:446 #: SupplierBalsAtPeriodEnd.php:160 SuppPriceList.php:263 Tax.php:352 @@ -1146,12 +1145,20 @@ msgid "From Supplier Code" msgstr "" +#: AgedSuppliers.php:288 +msgid "Enter the first supplier code alphabetially to include in the report" +msgstr "" + #: AgedSuppliers.php:291 OutstandingGRNs.php:271 PDFRemittanceAdvice.php:157 #: SupplierBalsAtPeriodEnd.php:136 SuppPaymentRun.php:269 #: Z_ClearPOBackOrders.php:23 msgid "To Supplier Code" msgstr "" +#: AgedSuppliers.php:292 +msgid "Enter the last supplier code alphabetically to include in the report" +msgstr "" + #: AgedSuppliers.php:297 msgid "All suppliers with balances" msgstr "" @@ -1233,9 +1240,9 @@ #: InternalStockCategoriesByRole.php:102 Locations.php:349 #: Manufacturers.php:163 MRPDemands.php:250 PcAssignCashToTab.php:138 #: PcClaimExpensesFromTab.php:130 PcExpenses.php:169 PcExpensesTypeTab.php:101 -#: PcTabs.php:168 PcTypeTabs.php:140 SalesAnalReptCols.php:215 -#: SalesCategories.php:135 SalesTypes.php:156 StockCategories.php:205 -#: Suppliers.php:651 SupplierTypes.php:151 Z_DeleteInvoice.php:178 +#: PcTabs.php:168 PcTypeTabs.php:143 SalesAnalReptCols.php:215 +#: SalesCategories.php:139 SalesTypes.php:156 StockCategories.php:208 +#: Suppliers.php:655 SupplierTypes.php:151 Z_DeleteInvoice.php:178 #: includes/DefineOfferClass.php:134 msgid "has been deleted" msgstr "" @@ -1268,44 +1275,44 @@ msgid "Incorrect date format used, please re-enter" msgstr "" -#: AuditTrail.php:42 BOMIndented.php:316 BOMIndentedReverse.php:296 +#: AuditTrail.php:43 BOMIndented.php:316 BOMIndentedReverse.php:296 #: MRPCalendar.php:264 msgid "From Date" msgstr "" -#: AuditTrail.php:44 BOMIndented.php:317 BOMIndentedReverse.php:297 +#: AuditTrail.php:47 BOMIndented.php:317 BOMIndentedReverse.php:297 #: MRPCalendar.php:266 msgid "To Date" msgstr "" -#: AuditTrail.php:48 PO_AuthorisationLevels.php:124 +#: AuditTrail.php:53 PO_AuthorisationLevels.php:124 #: PO_AuthorisationLevels.php:173 PO_AuthorisationLevels.php:176 -#: UserSettings.php:113 includes/UserLogin.php:131 +#: UserSettings.php:113 includes/UserLogin.php:134 msgid "User ID" msgstr "" -#: AuditTrail.php:50 AuditTrail.php:63 ContractBOM.php:305 -#: CounterReturns.php:1617 CounterReturns.php:1620 CounterSales.php:2218 -#: CounterSales.php:2221 CustomerTransInquiry.php:36 +#: AuditTrail.php:55 AuditTrail.php:69 ContractBOM.php:306 +#: CounterReturns.php:1613 CounterReturns.php:1616 CounterSales.php:2224 +#: CounterSales.php:2227 CustomerTransInquiry.php:36 #: DailyBankTransactions.php:72 DailySalesInquiry.php:46 -#: DailySalesInquiry.php:48 FixedAssetRegister.php:56 -#: FixedAssetRegister.php:65 InventoryQuantities.php:168 +#: DailySalesInquiry.php:48 FixedAssetRegister.php:59 +#: FixedAssetRegister.php:68 InventoryQuantities.php:168 #: InventoryQuantities.php:194 InventoryQuantities.php:196 MRP.php:597 #: MRPReport.php:524 MRPReport.php:526 MRPReschedules.php:145 #: NoSalesItems.php:22 NoSalesItems.php:48 NoSalesItems.php:68 -#: NoSalesItems.php:70 PDFPeriodStockTransListing.php:60 PDFPriceList.php:198 -#: PO_Items.php:1103 POReport.php:1570 ReorderLevel.php:212 +#: NoSalesItems.php:70 PDFPeriodStockTransListing.php:58 PDFPriceList.php:198 +#: PO_Items.php:1106 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:1075 SalesInquiry.php:1138 SelectCreditItems.php:986 -#: SelectOrderItems.php:1672 SelectOrderItems.php:1675 SelectProduct.php:531 -#: SelectProduct.php:533 StockDispatch.php:82 StockDispatch.php:393 +#: SalesInquiry.php:1091 SalesInquiry.php:1154 SelectCreditItems.php:986 +#: SelectOrderItems.php:1673 SelectOrderItems.php:1676 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:671 -#: SupplierTenderCreate.php:673 SupplierTenders.php:409 +#: SupplierPriceList.php:25 SupplierTenderCreate.php:673 +#: SupplierTenderCreate.php:675 SupplierTenders.php:409 #: SupplierTenders.php:411 SupplierTransInquiry.php:31 #: SystemParameters.php:1038 SystemParameters.php:1044 #: SystemParameters.php:1050 SystemParameters.php:1056 @@ -1315,35 +1322,35 @@ msgid "All" msgstr "" -#: AuditTrail.php:61 +#: AuditTrail.php:67 msgid "Table " msgstr "" -#: AuditTrail.php:77 +#: AuditTrail.php:84 msgid "Containing text" msgstr "" -#: AuditTrail.php:82 InternalStockRequest.php:591 MRPReport.php:778 -#: PO_SelectPurchOrder.php:431 SelectContract.php:184 SelectProduct.php:805 +#: AuditTrail.php:90 InternalStockRequest.php:591 MRPReport.php:778 +#: PO_SelectPurchOrder.php:432 SelectContract.php:184 SelectProduct.php:806 msgid "View" msgstr "" -#: AuditTrail.php:165 +#: AuditTrail.php:175 msgid "Date/Time" msgstr "" -#: AuditTrail.php:166 PcReportTab.php:259 includes/header.inc:59 +#: AuditTrail.php:176 PcReportTab.php:268 includes/header.inc:59 msgid "User" msgstr "" -#: AuditTrail.php:167 BankReconciliation.php:213 BankReconciliation.php:290 -#: CustomerAllocations.php:366 CustomerInquiry.php:202 +#: AuditTrail.php:177 BankReconciliation.php:213 BankReconciliation.php:290 +#: CustomerAllocations.php:368 CustomerInquiry.php:202 #: CustomerPurchases.php:68 CustomerTransInquiry.php:25 -#: CustomerTransInquiry.php:104 CustWhereAlloc.php:22 CustWhereAlloc.php:113 -#: DailyBankTransactions.php:127 GLAccountInquiry.php:189 +#: CustomerTransInquiry.php:104 CustWhereAlloc.php:21 CustWhereAlloc.php:111 +#: DailyBankTransactions.php:127 GLAccountInquiry.php:172 #: GLAccountReport.php:341 GLJournal.php:266 MRPReschedules.php:194 #: SalesByTypePeriodInquiry.php:336 SelectCustomer.php:424 -#: ShipmentCosting.php:536 ShipmentCosting.php:613 StockCategories.php:236 +#: ShipmentCosting.php:536 ShipmentCosting.php:613 StockCategories.php:239 #: StockLocMovements.php:89 StockMovements.php:96 SupplierAllocations.php:454 #: SupplierInquiry.php:209 SupplierTransInquiry.php:20 #: SupplierTransInquiry.php:102 Z_CheckAllocationsFrom.php:32 @@ -1353,16 +1360,16 @@ msgid "Type" msgstr "" -#: AuditTrail.php:168 +#: AuditTrail.php:178 msgid "Table" msgstr "" -#: AuditTrail.php:169 api/api_xml-rpc.php:311 api/api_xml-rpc.php:777 +#: AuditTrail.php:179 api/api_xml-rpc.php:311 api/api_xml-rpc.php:777 #: api/api_xml-rpc.php:2187 msgid "Field Name" msgstr "" -#: AuditTrail.php:170 MaterialsNotUsed.php:38 PurchData.php:695 +#: AuditTrail.php:180 MaterialsNotUsed.php:38 PurchData.php:700 #: SellThroughSupport.php:263 ShopParameters.php:192 SystemParameters.php:362 #: includes/PDFOstdgGRNsPageHeader.inc:43 msgid "Value" @@ -1429,6 +1436,7 @@ msgstr "" #: BankAccounts.php:12 TaxAuthorities.php:150 +#: ../webSHOP/includes/Functions.php:756 msgid "Bank" msgstr "" @@ -1528,18 +1536,18 @@ msgid "Bank Address" msgstr "" -#: BankAccounts.php:196 Currencies.php:446 CustomerAllocations.php:337 +#: BankAccounts.php:196 Currencies.php:446 CustomerAllocations.php:343 #: CustomerReceipt.php:803 CustomerTransInquiry.php:114 OffersReceived.php:112 -#: PcReportTab.php:267 PcTabs.php:208 PcTabs.php:351 +#: PcReportTab.php:276 PcTabs.php:208 PcTabs.php:355 #: PO_AuthorisationLevels.php:126 PO_AuthorisationLevels.php:210 -#: PO_AuthorisationLevels.php:215 PO_AuthoriseMyOrders.php:115 -#: PO_Header.php:561 PO_SelectOSPurchOrder.php:478 PO_SelectPurchOrder.php:433 -#: PricesByCost.php:277 Prices.php:220 Prices.php:296 PurchData.php:271 -#: PurchData.php:466 PurchData.php:607 SelectSupplier.php:279 +#: PO_AuthorisationLevels.php:216 PO_AuthoriseMyOrders.php:115 +#: PO_Header.php:559 PO_SelectOSPurchOrder.php:480 PO_SelectPurchOrder.php:434 +#: PricesByCost.php:282 Prices.php:220 Prices.php:296 PurchData.php:276 +#: PurchData.php:471 PurchData.php:612 SelectSupplier.php:279 #: SellThroughSupport.php:161 SupplierCredit.php:263 SupplierInvoice.php:606 #: SupplierPriceList.php:450 SupplierTenderCreate.php:609 #: SupplierTenders.php:126 SupplierTenders.php:538 -#: SupplierTransInquiry.php:111 SuppPriceList.php:303 Z_ImportPriceList.php:96 +#: SupplierTransInquiry.php:111 SuppPriceList.php:303 #: includes/PDFBankingSummaryPageHeader.inc:42 #: includes/PDFDebtorBalsPageHeader.inc:33 #: includ... [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 `chartdetails` VALUES ('1400',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1400',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1400',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1400',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('141',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('141',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('141',2,0,0,0,0); @@ -5182,6 +5543,27 @@ INSERT INTO `chartdetails` VALUES ('1420',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1420',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1420',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1420',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1440',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1440',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1440',2,0,0,0,0); @@ -5204,6 +5586,27 @@ INSERT INTO `chartdetails` VALUES ('1440',19,0,32.5,0,0); INSERT INTO `chartdetails` VALUES ('1440',20,0,0,32.5,0); INSERT INTO `chartdetails` VALUES ('1440',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1440',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1460',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1460',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1460',2,0,0,0,0); @@ -5226,6 +5629,27 @@ INSERT INTO `chartdetails` VALUES ('1460',19,0,7356.62,2000.4758000000002,0); INSERT INTO `chartdetails` VALUES ('1460',20,0,0,9357.095800000001,0); INSERT INTO `chartdetails` VALUES ('1460',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1460',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1500',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1500',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1500',2,0,0,0,0); @@ -5248,6 +5672,27 @@ INSERT INTO `chartdetails` VALUES ('1500',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1500',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1500',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1500',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1550',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1550',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1550',2,0,0,0,0); @@ -5270,6 +5715,27 @@ INSERT INTO `chartdetails` VALUES ('1550',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1550',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1550',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1550',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1600',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1600',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1600',2,0,0,0,0); @@ -5292,6 +5758,27 @@ INSERT INTO `chartdetails` VALUES ('1600',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1600',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1600',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1600',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('161',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('161',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('161',2,0,0,0,0); @@ -5348,6 +5835,27 @@ INSERT INTO `chartdetails` VALUES ('1620',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1620',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1620',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1620',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('163',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('163',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('163',2,0,0,0,0); @@ -5387,6 +5895,27 @@ INSERT INTO `chartdetails` VALUES ('1650',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1650',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1650',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1650',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1670',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1670',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1670',2,0,0,0,0); @@ -5409,6 +5938,27 @@ INSERT INTO `chartdetails` VALUES ('1670',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1670',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1670',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1670',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('168',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('168',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('168',2,0,0,0,0); @@ -5448,6 +5998,27 @@ INSERT INTO `chartdetails` VALUES ('1700',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1700',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1700',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1700',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('171',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('171',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('171',2,0,0,0,0); @@ -5487,6 +6058,27 @@ INSERT INTO `chartdetails` VALUES ('1710',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1710',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1710',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1710',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('172',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('172',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('172',2,0,0,0,0); @@ -5526,6 +6118,27 @@ INSERT INTO `chartdetails` VALUES ('1720',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1720',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1720',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1720',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1730',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1730',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1730',2,0,0,0,0); @@ -5548,6 +6161,27 @@ INSERT INTO `chartdetails` VALUES ('1730',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1730',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1730',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1730',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1740',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1740',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1740',2,0,0,0,0); @@ -5570,6 +6204,27 @@ INSERT INTO `chartdetails` VALUES ('1740',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1740',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1740',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1740',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1750',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1750',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1750',2,0,0,0,0); @@ -5592,6 +6247,27 @@ INSERT INTO `chartdetails` VALUES ('1750',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1750',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1750',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1750',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1760',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1760',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1760',2,0,0,0,0); @@ -5614,6 +6290,27 @@ INSERT INTO `chartdetails` VALUES ('1760',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1760',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1760',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1760',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1770',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1770',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1770',2,0,0,0,0); @@ -5636,6 +6333,27 @@ INSERT INTO `chartdetails` VALUES ('1770',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1770',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1770',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1770',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1780',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1780',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1780',2,0,0,0,0); @@ -5658,6 +6376,27 @@ INSERT INTO `chartdetails` VALUES ('1780',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1780',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1780',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',40,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',41,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1780',42,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1790',0,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1790',1,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1790',2,0,0,0,0); @@ -5680,6 +6419,27 @@ INSERT INTO `chartdetails` VALUES ('1790',19,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1790',20,0,0,0,0); INSERT INTO `chartdetails` VALUES ('1790',21,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',22,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',23,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',24,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',25,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',26,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',27,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',28,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',29,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',30,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',31,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',32,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',33,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',34,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',35,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',36,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',37,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',38,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',39,0,0,0,0); +INSERT INTO `chartdetails` VALUES ('1790',40,0,0,0,0); +INSERT INTO ... [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="" />' . ' ' . $Title . '</p><br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> <div> <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> Modified: trunk/BOMInquiry.php =================================================================== --- trunk/BOMInquiry.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/BOMInquiry.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -183,7 +183,7 @@ if (DB_num_rows($BOMResult)==0){ prnMsg(_('The bill of material for this part is not set up') . ' - ' . _('there are no components defined for it'),'warn'); } else { - echo '<a href="'.$RootPath.'/index.php">'._('Return to Main Menu').'</a>'; + echo '<a href="'.$RootPath.'/index.php">' . _('Return to Main Menu') . '</a>'; echo '<p class="page_title_text"> <img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.' </p> Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/BOMs.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -22,7 +22,7 @@ if (DB_num_rows($c_result) > 0) { while ($row = DB_fetch_array($c_result)) { - //echo '<br />Parent: ' . $Parent . ' Level: ' . $Level . ' row[component]: ' . $row['component'] .'<br />'; + //echo '<br />Parent: ' . $Parent . ' Level: ' . $Level . ' row[component]: ' . $row['component'] . '<br />'; if ($Parent != $row['component']) { // indent and display the title of this child $BOMTree[$i]['Level'] = $Level; // Level @@ -111,7 +111,7 @@ OR $myrow['mbflag']=='D') { $DrillText = '%s%s'; - $DrillLink = '<div class="centre">'._('No lower levels').'</div>'; + $DrillLink = '<div class="centre">' . _('No lower levels') . '</div>'; $DrillID=''; } else { $DrillText = '<a href="%s&Select=%s">' . _('Drill Down') . '</a>'; @@ -149,7 +149,7 @@ <td>%s</td> <td class="number">%s</td> <td><a href="%s&Select=%s&SelectedComponent=%s">' . _('Edit') . '</a></td> - <td>'.$DrillText.'</td> + <td>' . $DrillText . '</td> <td><a href="%s&Select=%s&SelectedComponent=%s&delete=1&ReSelect=%s&Location=%s&WorkCentre=%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this component from the bill of material?') . '\');">' . _('Delete') . '</a></td> </tr>', $Level1, @@ -229,7 +229,7 @@ $SelectedParent = $Select; unset($Select);// = NULL; echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . - '" alt="" />' . ' ' . $Title.'</p><br />'; + '" alt="" />' . ' ' . $Title . '</p><br />'; if (isset($SelectedParent) AND isset($_POST['Submit'])) { @@ -454,9 +454,9 @@ $ix = 0; if( DB_num_rows($result) > 0 ) { echo '<table class="selection">'; - echo '<tr><td><div class="centre">'._('Manufactured parent items').' : '; + echo '<tr><td><div class="centre">' . _('Manufactured parent items').' : '; while ($myrow = DB_fetch_array($result)){ - echo (($ix)?', ':'').'<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">'. + echo (($ix)?', ':'') . '<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">' . $myrow['description'].' ('.$myrow['parent'].')</a>'; $ix++; } //end while loop @@ -477,10 +477,10 @@ $result=DB_query($sql,$db,$ErrMsg,$DbgMsg); if( DB_num_rows($result) > 0 ) { echo '<table class="selection">'; - echo '<tr><td><div class="centre">'._('Assembly parent items').' : '; + echo '<tr><td><div class="centre">' . _('Assembly parent items').' : '; $ix = 0; while ($myrow = DB_fetch_array($result)){ - echo (($ix)?', ':'').'<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">'. + echo (($ix)?', ':'') . '<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">' . $myrow['description'].' ('.$myrow['parent'].')</a>'; $ix++; } //end while loop @@ -501,10 +501,10 @@ $result=DB_query($sql,$db,$ErrMsg,$DbgMsg); if( DB_num_rows($result) > 0 ) { echo '<table class="selection">'; - echo '<tr><td><div class="centre">'._('Kit sets').' : '; + echo '<tr><td><div class="centre">' . _('Kit sets').' : '; $ix = 0; while ($myrow = DB_fetch_array($result)){ - echo (($ix)?', ':'').'<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">'. + echo (($ix)?', ':'') . '<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">' . $myrow['description'].' ('.$myrow['parent'].')</a>'; $ix++; } //end while loop @@ -526,10 +526,10 @@ if( DB_num_rows($result) > 0 ) { echo '<table class="selection"> <tr> - <td><div class="centre">'._('Phantom').' : '; + <td><div class="centre">' . _('Phantom').' : '; $ix = 0; while ($myrow = DB_fetch_array($result)){ - echo (($ix)?', ':'').'<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">'. $myrow['description'].' ('.$myrow['parent'].')</a>'; + echo (($ix)?', ':'') . '<a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Select='.$myrow['parent'].'">' . $myrow['description'].' ('.$myrow['parent'].')</a>'; $ix++; } //end while loop echo '</div></td> @@ -563,7 +563,7 @@ echo $TableHeader; if(count($BOMTree) == 0) { echo '<tr class="OddTableRows"> - <td colspan="8">'._('No materials found.').'</td> + <td colspan="8">' . _('No materials found.') . '</td> </tr>'; } else { $UltimateParent = $SelectedParent; @@ -621,7 +621,7 @@ echo '<input type="hidden" name="SelectedComponent" value="' . $SelectedComponent . '" />'; echo '<table class="selection">'; echo '<tr> - <th colspan="13"><div class="centre"><b>'. ('Edit Component Details') .'</b></div></th> + <th colspan="13"><div class="centre"><b>' . ('Edit Component Details') . '</b></div></th> </tr>'; echo '<tr> <td>' . _('Component') . ':</td> @@ -636,7 +636,7 @@ */ echo '<table class="selection">'; echo '<tr> - <th colspan="13"><div class="centre"><b>' . _('New Component Details') .'</b></div></th> + <th colspan="13"><div class="centre"><b>' . _('New Component Details') . '</b></div></th> </tr>'; echo '<tr> <td>' . _('Component code') . ':</td> @@ -861,7 +861,7 @@ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p>'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">' . - '<div class="page_help_text">'. _('Select a manufactured part') . ' (' . _('or Assembly or Kit part') . ') ' . _('to maintain the bill of material for using the options below') . '<br />' . _('Parts must be defined in the stock item entry') . '/' . _('modification screen as manufactured') . ', ' . _('kits or assemblies to be available for construction of a bill of material') .'</div>'. ' + '<div class="page_help_text">' . _('Select a manufactured part') . ' (' . _('or Assembly or Kit part') . ') ' . _('to maintain the bill of material for using the options below') . '<br />' . _('Parts must be defined in the stock item entry') . '/' . _('modification screen as manufactured') . ', ' . _('kits or assemblies to be available for construction of a bill of material') . '</div>' . ' <div> <br /> <table class="selection" cellpadding="3"> @@ -869,7 +869,7 @@ <td><input tabindex="1" type="text" name="Keywords" size="20" maxlength="25" /></td> <td><b>' . _('OR') . '</b></td> <td>' . _('Enter extract of the') . ' <b>' . _('Stock Code') . '</b>:</td> - <td><input tabindex="2" type="text" name="StockCode" size="15" maxlength="18" /></td> + <td><input tabindex="2" type="text" name="StockCode" autofocus="autofocus" size="15" maxlength="18" /></td> </tr> </table> <br /><div class="centre"><input tabindex="3" type="submit" name="Search" value="' . _('Search Now') . '" /></div>'; @@ -926,11 +926,6 @@ } //end if results to show - if (!isset($SelectedParent) or $SelectedParent=='') { - echo '<script type="text/javascript">defaultControl(document.forms[0].StockCode);</script>'; - } else { - echo '<script type="text/javascript">defaultControl(document.form.JournalProcessDate);</script>'; - } echo '</div>'; echo '</form>'; Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/BankAccounts.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -374,23 +374,23 @@ $result = DB_query("SELECT invoice FROM bankaccounts where accountcode =" . $SelectedBankAccount ,$db); while ($myrow = DB_fetch_array($result)) { if ($myrow['invoice']== 1) { - echo '<option selected="selected" value="1">'._('Fall Back Default').'</option> - <option value="2">'._('Currency Default') . '</option> - <option value="0">'._('No').'</option>'; + echo '<option selected="selected" value="1">' . _('Fall Back Default') . '</option> + <option value="2">' . _('Currency Default') . '</option> + <option value="0">' . _('No') . '</option>'; } elseif ($myrow['invoice']== 2) { - echo '<option value="0">'._('No').'</option> - <option selected="selected" value="2">'._('Currency Default') . '</option> - <option value="1">'._('Fall Back Default').'</option>'; + echo '<option value="0">' . _('No') . '</option> + <option selected="selected" value="2">' . _('Currency Default') . '</option> + <option value="1">' . _('Fall Back Default') . '</option>'; } else { - echo '<option selected="selected" value="0">'._('No').'</option> - <option value="2">'._('Currency Default') . '</option> - <option value="1">'._('Fall Back Default').'</option>'; + echo '<option selected="selected" value="0">' . _('No') . '</option> + <option value="2">' . _('Currency Default') . '</option> + <option value="1">' . _('Fall Back Default') . '</option>'; } }//end while loop } else { - echo '<option value="1">'._('Fall Back Default').'</option> - <option value="2">'._('Currency Default') . '</option> - <option value="0">'._('No').'</option>'; + echo '<option value="1">' . _('Fall Back Default') . '</option> + <option value="2">' . _('Currency Default') . '</option> + <option value="0">' . _('No') . '</option>'; } echo '</select></td>'; Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/BankMatching.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -272,7 +272,7 @@ echo '<table cellpadding="2" class="selection"> <tr> - <th class="ascending">'. _('Cheque No') . '</th> + <th class="ascending">' . _('Cheque No') . '</th> <th class="ascending">' . _('Ref') . '</th> <th class="ascending">' . $TypeName . '</th> <th class="ascending">' . _('Date') . '</th> Modified: trunk/BankReconciliation.php =================================================================== --- trunk/BankReconciliation.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/BankReconciliation.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -14,7 +14,7 @@ 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 '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/money_add.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br />'; +echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/money_add.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title . '</p><br />'; if (isset($_GET['Account'])) { $_POST['BankAccount']=$_GET['Account']; Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/COGSGLPostings.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -16,7 +16,7 @@ $SelectedCOGSPostingID=$_GET['SelectedCOGSPostingID']; } -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 />'; if (isset($_POST['submit'])) { @@ -110,7 +110,7 @@ <td>%s</td> <td>%s</td> <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</a></td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</a></td></tr>', + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</a></td></tr>', $myrow['area'], $myrow['stkcat'], $myrow['salestype'], Modified: trunk/CompanyPreferences.php =================================================================== --- trunk/CompanyPreferences.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/CompanyPreferences.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -100,7 +100,7 @@ } /* end of if submit */ echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/maintenance.png" title="' . _('Search') . - '" alt="" />' . ' ' . $Title.'</p>'; + '" alt="" />' . ' ' . $Title . '</p>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; echo '<div>'; Modified: trunk/ConfirmDispatchControlled_Invoice.php =================================================================== --- trunk/ConfirmDispatchControlled_Invoice.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/ConfirmDispatchControlled_Invoice.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -24,7 +24,7 @@ $LineNo = (int)$_POST['LineNo']; } else { echo '<div class="centre"> - <a href="' . $RootPath . '/ConfirmDispatch_Invoice.php">'. _('Select a line item to invoice').'</a> + <a href="' . $RootPath . '/ConfirmDispatch_Invoice.php">' . _('Select a line item to invoice') . '</a> <br /> <br />'; prnMsg( _('This page can only be opened if a line item on a sales order to be invoiced has been selected') . '. ' . _('Please do that first'),'error'); @@ -36,7 +36,7 @@ if (!isset($_SESSION['Items'.$identifier]) OR !isset($_SESSION['ProcessingOrder'])) { /* This page can only be called with a sales order number to invoice */ echo '<div class="centre"> - <a href="' . $RootPath . '/SelectSalesOrder.php">'. _('Select a sales order to invoice') . '</a> + <a href="' . $RootPath . '/SelectSalesOrder.php">' . _('Select a sales order to invoice') . '</a> <br />'; prnMsg( _('This page can only be opened if a sales order and line item has been selected Please do that first'),'error'); echo '</div>'; @@ -51,7 +51,7 @@ //Make sure this item is really controlled if ( $LineItem->Controlled != 1 ){ - echo '<div class="centre"><a href="' . $RootPath . '/ConfirmDispatch_Invoice.php">'. _('Back to the Sales Order'). '</a></div>'; + echo '<div class="centre"><a href="' . $RootPath . '/ConfirmDispatch_Invoice.php">' . _('Back to the Sales Order'). '</a></div>'; echo '<br />'; prnMsg( _('The line item must be defined as controlled to require input of the batch numbers or serial numbers being sold'),'error'); include('includes/footer.inc'); @@ -63,9 +63,9 @@ ********************************************/ echo '<div class="centre">'; -echo '<br /><a href="'. $RootPath. '/ConfirmDispatch_Invoice.php?identifier=' . $identifier . '">'. _('Back to Confirmation of Dispatch') . '/' . _('Invoice'). '</a>'; +echo '<br /><a href="'. $RootPath. '/ConfirmDispatch_Invoice.php?identifier=' . $identifier . '">' . _('Back to Confirmation of Dispatch') . '/' . _('Invoice'). '</a>'; -echo '<br /><b>'. _('Dispatch of up to').' '. locale_number_format($LineItem->Quantity-$LineItem->QtyInv, $LineItem->DecimalPlaces). ' '. _('Controlled items').' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('on order').' ' . $_SESSION['Items'.$identifier]->OrderNo . ' '. _('to'). ' ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></div>'; +echo '<br /><b>' . _('Dispatch of up to').' '. locale_number_format($LineItem->Quantity-$LineItem->QtyInv, $LineItem->DecimalPlaces). ' '. _('Controlled items').' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('on order').' ' . $_SESSION['Items'.$identifier]->OrderNo . ' '. _('to'). ' ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></div>'; /** vars needed by InputSerialItem : **/ $StockID = $LineItem->StockID; Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/ConfirmDispatch_Invoice.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -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; @@ -265,7 +265,7 @@ '" alt="" />' . ' ' . _('Confirm Dispatch and Invoice'). '</p>'; echo '<table class="selection"> <tr> - <th><img src="'.$RootPath.'/css/'.$Theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Customer Code') . ' :<b> ' . $_SESSION['Items'.$identifier]->DebtorNo.'</b></th> + <th><img src="'.$RootPath.'/css/'.$Theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Customer Code') . ' :<b> ' . $_SESSION['Items'.$identifier]->DebtorNo . '</b></th> <th>' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName. '</b></th> </tr> <tr> @@ -326,10 +326,10 @@ $_SESSION['Items'.$identifier]->totalWeight += ($LnItm->QtyDispatched * $LnItm->Weight); echo $RowStarter; - echo '<td>'.$LnItm->StockID.'</td> - <td title="'. $LnItm->LongDescription . '">' .$LnItm->ItemDescription.'</td> + echo '<td>' . $LnItm->StockID . '</td> + <td title="'. $LnItm->LongDescription . '">' .$LnItm->ItemDescription . '</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> - <td>'.$LnItm->Units.'</td> + <td>' . $LnItm->Units . '</td> <td class="number">' . locale_number_format($LnItm->QtyInv,$LnItm->DecimalPlaces) . '</td>'; if ($LnItm->Controlled==1){ @@ -349,9 +349,9 @@ $DisplayDiscountPercent = locale_number_format($LnItm->DiscountPercent*100,2) . '%'; $DisplayLineNetTotal = locale_number_format($LineTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces); $DisplayPrice = locale_number_format($LnItm->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces); - echo '<td class="number">'.$DisplayPrice.'</td> - <td class="number">'.$DisplayDiscountPercent.'</td> - <td class="number">'.$DisplayLineNetTotal.'</td>'; + echo '<td class="number">' . $DisplayPrice . '</td> + <td class="number">' . $DisplayDiscountPercent . '</td> + <td class="number">' . $DisplayLineNetTotal . '</td>'; /*Need to list the taxes applicable to this line */ echo '<td>'; @@ -400,8 +400,8 @@ $DisplayGrossLineTotal = locale_number_format($LineTotal+ $TaxLineTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces); - echo '<td class="number">'.$DisplayTaxAmount.'</td> - <td class="number">'.$DisplayGrossLineTotal.'</td>'; + echo '<td class="number">' . $DisplayTaxAmount . '</td> + <td class="number">' . $DisplayGrossLineTotal . '</td>'; if ($LnItm->Controlled==1){ if (!isset($_POST['ProcessInvoice'])) { @@ -461,7 +461,7 @@ $BestShipper = $ShipperReturned[0]; } else { prnMsg( _('There are no shippers defined') . '. ' . _('Please use the link below to set up shipping freight companies, the system expects the shipping company to be selected or a default freight company to be used'),'error'); - echo '<a href="' . $RootPath . 'Shippers.php">'. _('Enter') . '/' . _('Amend Freight Companies'). '</a>'; + echo '<a href="' . $RootPath . 'Shippers.php">' . _('Enter') . '/' . _('Amend Freight Companies'). '</a>'; } } } @@ -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 inc 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 inc Tax') . '</td>'; if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($_SESSION['Items'.$identifier]->FreightCost,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; } else { @@ -558,7 +558,7 @@ echo '<tr> <td colspan="8" class="number">' . _('Invoice Totals'). '</td> - <td class="number"><hr /><b>'.$DisplaySubTotal.'</b><hr /></td> + <td class="number"><hr /><b>' . $DisplaySubTotal . '</b><hr /></td> <td colspan="2"></td> <td class="number"><hr /><b>' . locale_number_format($TaxTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr /></td> <td class="number"><hr /><b>' . locale_number_format($TaxTotal+($_SESSION['Items'.$identifier]->total + $_POST['ChargeFreightCost']),$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr /></td> @@ -694,7 +694,7 @@ /*there should be the same number of items returned from this query as there are lines on the invoice - if not then someone has already invoiced or credited some lines */ if ($debug==1){ - echo '<br />'.$SQL; + echo '<br />' . $SQL; echo '<br />' . _('Number of rows returned by SQL') . ':' . DB_num_rows($Result); echo '<br />' . _('Count of items in the session') . ' ' . count($_SESSION['Items'.$identifier]->LineItems); } @@ -715,13 +715,13 @@ if ($_SESSION['Items'.$identifier]->LineItems[$myrow['orderlineno']]->Quantity != $myrow['quantity'] OR $_SESSION['Items'.$identifier]->LineItems[$myrow['orderlineno']]->QtyInv != $myrow['qtyinvoiced']) { - echo '<br />'. _('Orig order for'). ' ' . $myrow['orderlineno'] . ' '. _('has a quantity of'). ' ' . $myrow['quantity'] . ' '. _('and an invoiced qty of'). ' ' . $myrow['qtyinvoiced'] . ' '. _('the session shows quantity of'). ' ' . $_SESSION['Items'.$identifier]->LineItems[$myrow['orderlineno']]->Quantity . ' ' . _('and quantity invoice of'). ' ' . $_SESSION['Items'.$identifier]->LineItems[$myrow['orderlineno']]->QtyInv; + echo '<br />' . _('Orig order for'). ' ' . $myrow['orderlineno'] . ' '. _('has a quantity of'). ' ' . $myrow['quantity'] . ' '. _('and an invoiced qty of'). ' ' . $myrow['qtyinvoiced'] . ' '. _('the session shows quantity of'). ' ' . $_SESSION['Items'.$identifier]->LineItems[$myrow['orderlineno']]->Quantity . ' ' . _('and quantity invoice of'). ' ' . $_SESSION['Items'.$identifier]->LineItems[$myrow['orderlineno']]->QtyInv; prnMsg( _('This order has been changed or invoiced since this delivery was started to be confirmed') . ' ' . _('Processing halted.') . ' ' . _('To enter and confirm this dispatch, it must be re-selected and re-read again to update the changes made by the other user'), 'error'); echo '<br />'; - echo '<div class="centre"><a href="'. $RootPath . '/SelectSalesOrder.php">'. _('Select a sales order for confirming deliveries and invoicing'). '</a></div>'; + echo '<div class="centre"><a href="'. $RootPath . '/SelectSalesOrder.php">' . _('Select a sales order for confirming deliveries and invoicing'). '</a></div>'; unset($_SESSION['Items'.$identifier]->LineItems); unset($_SESSION['Items'.$identifier]); @@ -1232,7 +1232,7 @@ salesanalysis.salesperson"; $ErrMsg = _('The count of existing Sales analysis records could not run because'); - $DbgMsg = '<br />'. _('SQL to count the no of sales analysis records'); + $DbgMsg = '<br />' . _('SQL to count the no of sales analysis records'); $Result = DB_query($SQL,$db,$ErrMsg,$DbgMsg,true); $myrow = DB_fetch_row($Result); @@ -1632,12 +1632,12 @@ echo '<br /><div class="centre">'; if ($_SESSION['InvoicePortraitFormat']==0){ - echo '<img src="'.$RootPath.'/css/'.$Theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$RootPath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; + echo '<img src="'.$RootPath.'/css/'.$Theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$RootPath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">' . _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; } else { - echo '<img src="'.$RootPath.'/css/'.$Theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$RootPath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; + echo '<img src="'.$RootPath.'/css/'.$Theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$RootPath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">' . _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; } - echo '<a href="'.$RootPath.'/SelectSalesOrder.php">'. _('Select another order for invoicing'). '</a><br /><br />'; - echo '<a href="'.$RootPath.'/SelectOrderItems.php?NewOrder=Yes">'._('Sales Order Entry').'</a></div><br />'; + echo '<a href="'.$RootPath.'/SelectSalesOrder.php">' . _('Select another order for invoicing'). '</a><br /><br />'; + echo '<a href="'.$RootPath.'/SelectOrderItems.php?NewOrder=Yes">' . _('Sales Order Entry') . '</a></div><br />'; /*end of process invoice */ @@ -1671,8 +1671,8 @@ $j++; echo '<tr> - <td>'._('Action For Balance'). ':</td> - <td><select tabindex="'.$j.'" name="BOPolicy"><option selected="selected" value="BO">'._('Automatically put balance on back order').'</option><option value="CAN">'._('Cancel any quantities not delivered').'</option></select></td> + <td>' . _('Action For Balance'). ':</td> + <td><select tabindex="'.$j.'" name="BOPolicy"><option selected="selected" value="BO">' . _('Automatically put balance on back order') . '</option><option value="CAN">' . _('Cancel any quantities not delivered') . '</option></select></td> </tr>'; $j++; echo '<tr> Modified: trunk/ContractBOM.php =================================================================== --- trunk/ContractBOM.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/ContractBOM.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -233,7 +233,7 @@ if (isset($_SESSION['Contract'.$identifier]->ContractRef)) { echo '<tr> - <th colspan="7">' . _('Contract Reference:') .' '. $_SESSION['Contract'.$identifier]->ContractRef.'</th> + <th colspan="7">' . _('Contract Reference:') .' '. $_SESSION['Contract'.$identifier]->ContractRef . '</th> </tr>'; } @@ -241,7 +241,7 @@ <th>' . _('Item Code') . '</th> <th>' . _('Description') . '</th> <th>' . _('Quantity') . '</th> - <th>' . _('UOM') .'</th> + <th>' . _('UOM') . '</th> <th>' . _('Unit Cost') . '</th> <th>' . _('Sub-total') . '</th> </tr>'; @@ -303,12 +303,12 @@ <tr> <td><select name="StockCat">'; - echo '<option selected="selected" value="All">' . _('All').'</option>'; + echo '<option selected="selected" value="All">' . _('All') . '</option>'; while ($myrow1 = DB_fetch_array($result1)) { if (isset($_POST['StockCat']) and $_POST['StockCat']==$myrow1['categoryid']){ - echo '<option selected="selected" value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; + echo '<option selected="selected" value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'] . '</option>'; } else { - echo '<option value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; + echo '<option value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'] . '</option>'; } } @@ -373,7 +373,7 @@ if (file_exists( $_SESSION['part_pics_dir'] . '/' . $myrow['stockid'] . '.jpg') ) { $ImageSource = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=' . $myrow['stockid']. '&text=&width=50&height=50" />'; } else { - $ImageSource = '<i>'._('No Image').'</i>'; + $ImageSource = '<i>' . _('No Image') . '</i>'; } echo '<td>' . $myrow['stockid'] . '</td> Modified: trunk/ContractCosting.php =================================================================== --- trunk/ContractCosting.php 2013-08-29 01:32:47 UTC (rev 6309) +++ trunk/ContractCosting.php 2013-08-29 10:42:50 UTC (rev 6310) @@ -63,12 +63,12 @@ } elseif ($_SESSION['Contract'.$identifier]->Status==1){ echo _('Quoted') . ' '; } -echo _('Contract') . '<br />' . $_SESSION['Contract'.$identifier]->CustomerName . '<br />' . $_SESSION['Contract'.$identifier]->ContractDescription.'</p>'; +echo _('Contract') . '<br />' . $_SESSION['Contract'.$identifier]->CustomerName . '<br />' . $_SESSION['Contr... [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> - <th>' . _('Stock ID') . '</th> - <th>' . _('Description') . '</th> - <th>' . _('Quantity') . '</th> + <th colspan="6"><h3>' . _('Items in Tender') . '</h3></th> + </tr> + <tr> + <th class="ascending">' . _('Stock ID') . '</th> + <th class="ascending">' . _('Description') . '</th> + <th class="ascending">' . _('Quantity') . '</th> <th>' . _('UOM') . '</th> </tr>'; $k=0; @@ -439,16 +441,19 @@ $k=1; } echo '<td>' . $LineItems->StockID . '</td> - <td>' . $LineItems->ItemDescription . '</td> - <td class="number">' . locale_number_format($LineItems->Quantity,$LineItems->DecimalPlaces) . '</td> - <td>' . $LineItems->Units . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier,ENT_QUOTES,'UTF-8') . '&DeleteItem=' . $LineItems->LineNo . '">' . _('Delete') . '</a></td> + <td>' . $LineItems->ItemDescription . '</td> + <td class="number">' . locale_number_format($LineItems->Quantity,$LineItems->DecimalPlaces) . '</td> + <td>' . $LineItems->Units . '</td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier,ENT_QUOTES,'UTF-8') . '&DeleteItem=' . $LineItems->LineNo . '">' . _('Delete') . '</a></td> </tr>'; } } - echo '</table></td></tr></table><br />'; - - echo '<div class="centre"> + echo '</table> + </td> + </tr> + </table> + <br /> + <div class="centre"> <input type="submit" name="Suppliers" value="' . _('Select Suppliers') . '" /> <input type="submit" name="Items" value="' . _('Select Item Details') . '" /> '; Modified: trunk/WhereUsedInquiry.php =================================================================== --- trunk/WhereUsedInquiry.php 2013-08-29 10:43:46 UTC (rev 6311) +++ trunk/WhereUsedInquiry.php 2013-08-30 21:08:37 UTC (rev 6312) @@ -38,16 +38,15 @@ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($StockID)) { - echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%-]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" size="21" maxlength="20" value="' . $StockID . '" placeholder="'._('No illegal characters allowed').'" />'; + echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%-]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" autofocus="autofocus" size="21" maxlength="20" value="' . $StockID . '" placeholder="'._('No illegal characters allowed').'" />'; } else { - echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%-]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" size="21" maxlength="20" placeholder="'._('No illegal characters allowed').'" />'; + echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%-]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" autofocus="autofocus" size="21" maxlength="20" placeholder="'._('No illegal characters allowed').'" />'; } -echo '<input type="submit" name="ShowWhereUsed" value="' . _('Show Where Used') . '" />'; +echo '<input type="submit" name="ShowWhereUsed" value="' . _('Show Where Used') . '" /> + <br /> + </div>'; -echo '<br /> - </div>'; - if (isset($StockID)) { $SQL = "SELECT bom.*, @@ -64,17 +63,15 @@ prnMsg(_('The selected item') . ' ' . $StockID . ' ' . _('is not used as a component of any other parts'),'error'); } else { - echo '<table width="97%" class="selection">'; - - $TableHeader = '<tr> - <th>' . _('Used By') . '</th> - <th>' . _('Work Centre') . '</th> - <th>' . _('Location') . '</th> - <th>' . _('Quantity Required') . '</th> - <th>' . _('Effective After') . '</th> - <th>' . _('Effective To') . '</th> - </tr>'; - echo $TableHeader; + echo '<table width="97%" class="selection"> + <tr> + <th class="ascending">' . _('Used By') . '</th> + <th class="ascending">' . _('Work Centre') . '</th> + <th class="ascending">' . _('Location') . '</th> + <th class="ascending">' . _('Quantity Required') . '</th> + <th class="ascending">' . _('Effective After') . '</th> + <th class="ascending">' . _('Effective To') . '</th> + </tr>'; $k=0; while ($myrow=DB_fetch_array($result)) { @@ -87,22 +84,18 @@ } echo '<td><a target="_blank" href="' . $RootPath . '/BOMInquiry.php?StockID=' . $myrow['parent'] . '" alt="' . _('Show Bill Of Material') . '">' . $myrow['parent']. ' - ' . $myrow['description']. '</a></td> - <td>' . $myrow['workcentreadded']. '</td> - <td>' . $myrow['loccode']. '</td> - <td class="number">' . locale_number_format($myrow['quantity'],'Variable') . '</td> - <td>' . ConvertSQLDate($myrow['effectiveafter']) . '</td> - <td>' . ConvertSQLDate($myrow['effectiveto']) . '</td> + <td>' . $myrow['workcentreadded']. '</td> + <td>' . $myrow['loccode']. '</td> + <td class="number">' . locale_number_format($myrow['quantity'],'Variable') . '</td> + <td>' . ConvertSQLDate($myrow['effectiveafter']) . '</td> + <td>' . ConvertSQLDate($myrow['effectiveto']) . '</td> </tr>'; //end of page full new headings if } - echo '</table>'; } } // StockID is set - -echo '<script type="text/javascript">defaultControl(document.forms[0].StockID);</script>'; - echo '</form>'; include('includes/footer.inc'); ?> |
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 #: SellThroughSupport.php:161 SupplierCredit.php:263 SupplierInvoice.php:606 -#: SupplierPriceList.php:450 SupplierTenderCreate.php:609 -#: SupplierTenders.php:126 SupplierTenders.php:538 +#: SupplierPriceList.php:457 SupplierTenderCreate.php:614 +#: SupplierTenders.php:126 SupplierTenders.php:536 #: SupplierTransInquiry.php:111 SuppPriceList.php:303 #: includes/PDFBankingSummaryPageHeader.inc:42 #: includes/PDFDebtorBalsPageHeader.inc:33 @@ -1673,7 +1673,7 @@ #: PrintCustTransPortrait.php:65 SalesGraph.php:218 SalesGraph.php:247 #: SalesGraph.php:251 StockLocTransferReceive.php:306 #: StockLocTransferReceive.php:444 Stocks.php:300 Stocks.php:305 -#: StockStatus.php:351 StockStatus.php:392 StockTransfers.php:448 +#: StockStatus.php:353 StockStatus.php:394 StockTransfers.php:448 #: includes/PDFAgedDebtorsPageHeader.inc:18 #: includes/PDFAgedSuppliersPageHeader.inc:17 #: includes/PDFChequeListingPageHeader.inc:17 @@ -1779,7 +1779,7 @@ msgstr "" #: BankMatching.php:279 ConfirmDispatch_Invoice.php:297 Credit_Invoice.php:297 -#: CustomerAllocations.php:371 CustomerReceipt.php:918 +#: CustomerAllocations.php:365 CustomerReceipt.php:918 #: CustomerTransInquiry.php:113 CustWhereAlloc.php:115 GLJournalInquiry.php:85 #: ImportBankTransAnalysis.php:208 ImportBankTransAnalysis.php:288 #: PaymentAllocations.php:67 Payments.php:1049 Payments.php:1054 @@ -1804,7 +1804,7 @@ #: BankMatching.php:280 BankReconciliation.php:217 BankReconciliation.php:294 #: PDFOrdersInvoiced.php:361 PDFOrderStatus.php:332 #: PO_SelectOSPurchOrder.php:240 PO_SelectPurchOrder.php:216 -#: Shipt_Select.php:193 SuppCreditGRNs.php:279 +#: Shipt_Select.php:193 SuppCreditGRNs.php:291 #: includes/PDFStatementPageHeader.inc:173 #: includes/PDFStatementPageHeader.inc:180 msgid "Outstanding" @@ -1911,7 +1911,7 @@ msgstr "" #: BankReconciliation.php:214 BankReconciliation.php:291 -#: CustomerAllocations.php:339 CustomerAllocations.php:369 +#: CustomerAllocations.php:333 CustomerAllocations.php:363 #: CustomerInquiry.php:203 CustomerTransInquiry.php:105 CustWhereAlloc.php:112 #: EmailCustTrans.php:15 GLAccountInquiry.php:173 ImportBankTrans.php:538 #: PrintCustTrans.php:509 PrintCustTrans.php:731 PrintCustTrans.php:964 @@ -1925,7 +1925,7 @@ #: includes/PDFQuotationPortraitPageHeader.inc:86 #: includes/PDFStatementPageHeader.inc:168 #: includes/PDFStatementPageHeader.inc:179 includes/PDFTransPageHeader.inc:44 -#: includes/PDFTransPageHeaderPortrait.inc:52 +#: includes/PDFTransPageHeaderPortrait.inc:54 msgid "Number" msgstr "" @@ -1987,7 +1987,7 @@ #: BankReconciliation.php:361 CounterReturns.php:740 CounterSales.php:832 #: Customers.php:1177 SelectOrderItems.php:1452 Stocks.php:1392 -#: WorkOrderCosting.php:551 WorkOrderEntry.php:590 +#: WorkOrderCosting.php:551 WorkOrderEntry.php:589 msgid "Are You Sure?" msgstr "" @@ -2050,16 +2050,16 @@ #: BOMExtendedQty.php:263 BOMExtendedQty.php:330 BOMExtendedQty.php:331 #: BOMExtendedQty.php:332 BOMExtendedQty.php:333 BOMIndented.php:315 -#: BOMIndentedReverse.php:295 BOMInquiry.php:201 BOMs.php:557 BOMs.php:737 +#: BOMIndentedReverse.php:295 BOMInquiry.php:201 BOMs.php:557 BOMs.php:736 #: ContractBOM.php:243 ContractBOM.php:357 ContractCosting.php:81 #: ContractCosting.php:87 ContractCosting.php:152 ContractOtherReqts.php:99 #: Contracts.php:994 Contracts.php:1030 CounterReturns.php:669 #: CounterReturns.php:1674 CounterReturns.php:1802 CounterSales.php:745 -#: CounterSales.php:2103 CounterSales.php:2291 CounterSales.php:2428 +#: CounterSales.php:2103 CounterSales.php:2284 CounterSales.php:2416 #: Credit_Invoice.php:291 CustomerPurchases.php:73 DeliveryDetails.php:872 -#: DeliveryDetails.php:942 GoodsReceived.php:101 GoodsReceived.php:105 -#: GoodsReceived.php:108 InternalStockRequestFulfill.php:318 -#: InternalStockRequestFulfill.php:319 InternalStockRequest.php:631 +#: DeliveryDetails.php:942 GoodsReceived.php:102 GoodsReceived.php:106 +#: GoodsReceived.php:109 InternalStockRequestFulfill.php:318 +#: InternalStockRequestFulfill.php:319 InternalStockRequest.php:632 #: InventoryPlanningPrefSupplier.php:78 InventoryQuantities.php:248 #: MRPDemands.php:297 MRPDemands.php:395 MRPPlannedPurchaseOrders.php:341 #: MRPPlannedWorkOrders.php:261 MRPPlannedWorkOrders.php:395 MRPReport.php:413 @@ -2073,16 +2073,16 @@ #: SalesAnalReptCols.php:16 SalesAnalReptCols.php:18 SalesGraph.php:193 #: SalesGraph.php:276 SalesInquiry.php:993 SalesTopItemsInquiry.php:225 #: SelectCreditItems.php:688 SelectCreditItems.php:1068 -#: SelectOrderItems.php:1374 SelectOrderItems.php:1543 -#: SelectOrderItems.php:1743 SelectOrderItems.php:1878 ShipmentCosting.php:149 +#: SelectOrderItems.php:1374 SelectOrderItems.php:1542 +#: SelectOrderItems.php:1730 SelectOrderItems.php:1862 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:307 -#: StockMovements.php:101 StockStatus.php:355 StockUsageGraph.php:12 -#: SuppCreditGRNs.php:279 SuppCreditGRNs.php:280 SupplierCredit.php:318 -#: SupplierTenderCreate.php:428 SupplierTenderCreate.php:847 -#: SupplierTenders.php:124 SupplierTenders.php:327 SupplierTenders.php:533 -#: SupplierTenders.php:536 SupplierTenders.php:692 WorkOrderReceive.php:902 +#: StockCounts.php:114 StockLocMovements.php:93 StockLocTransfer.php:306 +#: StockMovements.php:101 StockStatus.php:357 StockUsageGraph.php:12 +#: SuppCreditGRNs.php:291 SuppCreditGRNs.php:292 SupplierCredit.php:318 +#: SupplierTenderCreate.php:430 SupplierTenderCreate.php:851 +#: SupplierTenders.php:124 SupplierTenders.php:327 SupplierTenders.php:531 +#: SupplierTenders.php:534 SupplierTenders.php:690 WorkOrderReceive.php:902 #: WOSerialNos.php:262 WOSerialNos.php:268 WOSerialNos.php:302 #: includes/InputSerialItemsFile.php:200 includes/InputSerialItems.php:128 #: includes/InputSerialItems.php:134 includes/OutputSerialItems.php:38 @@ -2146,7 +2146,7 @@ #: BOMExtendedQty.php:312 BOMIndented.php:302 BOMIndentedReverse.php:282 #: GLAccountReport.php:327 InventoryPlanningPrefSupplier.php:58 #: InventoryQuantities.php:234 MRPPlannedPurchaseOrders.php:320 -#: MRPPlannedWorkOrders.php:374 MRPReport.php:816 MRPReschedules.php:180 +#: MRPPlannedWorkOrders.php:374 MRPReport.php:817 MRPReschedules.php:180 #: MRPShortages.php:334 PDFOrderStatus.php:315 PDFPriceList.php:345 #: PDFReceipt.php:31 PO_Header.php:840 PO_PDFPurchOrder.php:64 #: PO_SelectOSPurchOrder.php:511 ReorderLevel.php:283 StockDispatch.php:476 @@ -2184,7 +2184,7 @@ #: FixedAssetRegister.php:367 GLAccountReport.php:327 #: InventoryPlanningPrefSupplier.php:58 InventoryQuantities.php:235 #: MRPPlannedPurchaseOrders.php:321 MRPPlannedWorkOrders.php:375 -#: MRPReport.php:817 MRPReschedules.php:181 MRPShortages.php:335 +#: MRPReport.php:818 MRPReschedules.php:181 MRPShortages.php:335 #: PDFPriceList.php:345 PDFReceipt.php:31 PDFRemittanceAdvice.php:218 #: PrintCustOrder.php:170 PrintCustTrans.php:769 PrintCustTrans.php:978 #: PrintCustTrans.php:1027 PrintCustTransPortrait.php:814 @@ -2231,7 +2231,7 @@ #: includes/PDFTagProfitAndLossPageHeader.inc:30 #: includes/PDFTaxPageHeader.inc:21 includes/PDFTopItemsHeader.inc:34 #: includes/PDFTransPageHeader.inc:65 -#: includes/PDFTransPageHeaderPortrait.inc:23 +#: includes/PDFTransPageHeaderPortrait.inc:26 #: includes/PDFTrialBalancePageHeader.inc:18 #: includes/PO_PDFOrderPageHeader.inc:17 msgid "Page" @@ -2245,13 +2245,13 @@ msgid "Build" msgstr "" -#: BOMExtendedQty.php:323 BOMInquiry.php:110 BOMs.php:889 -#: CounterReturns.php:1670 CounterSales.php:2099 CounterSales.php:2287 -#: InternalStockRequest.php:627 PO_SelectOSPurchOrder.php:239 +#: BOMExtendedQty.php:323 BOMInquiry.php:110 BOMs.php:887 +#: CounterReturns.php:1670 CounterSales.php:2099 CounterSales.php:2280 +#: InternalStockRequest.php:628 PO_SelectOSPurchOrder.php:239 #: PO_SelectPurchOrder.php:215 ReorderLevelLocation.php:73 #: ReorderLevelLocation.php:74 SelectCompletedOrder.php:556 -#: SelectOrderItems.php:1539 SelectOrderItems.php:1739 -#: SelectSalesOrder.php:612 SelectWorkOrder.php:211 Shipt_Select.php:192 +#: SelectOrderItems.php:1538 SelectOrderItems.php:1726 +#: SelectSalesOrder.php:612 SelectWorkOrder.php:215 Shipt_Select.php:192 #: TopItems.php:168 includes/PDFTopItemsHeader.inc:54 msgid "On Hand" msgstr "" @@ -2318,44 +2318,44 @@ msgstr "" #: BOMIndented.php:312 BOMIndentedReverse.php:292 BOMInquiry.php:109 -#: BOMInquiry.php:200 BOMs.php:554 BOMs.php:888 ContractBOM.php:242 +#: BOMInquiry.php:200 BOMs.php:554 BOMs.php:886 ContractBOM.php:242 #: ContractBOM.php:354 ContractOtherReqts.php:98 CounterReturns.php:1668 -#: CounterSales.php:2097 CounterSales.php:2285 CreditStatus.php:152 +#: CounterSales.php:2097 CounterSales.php:2278 CreditStatus.php:152 #: CreditStatus.php:243 CustomerPurchases.php:67 EmailConfirmation.php:218 #: EmailConfirmation.php:348 FixedAssetCategories.php:167 #: FixedAssetDepreciation.php:91 FixedAssetRegister.php:87 #: FixedAssetRegister.php:388 FixedAssetTransfer.php:60 #: FixedAssetTransfer.php:162 GLTags.php:63 GLTags.php:82 -#: GLTransInquiry.php:47 GoodsReceived.php:100 +#: GLTransInquiry.php:47 GoodsReceived.php:101 #: InternalStockCategoriesByRole.php:168 InternalStockRequest.php:342 -#: InternalStockRequest.php:557 InternalStockRequest.php:625 +#: InternalStockRequest.php:556 InternalStockRequest.php:626 #: InventoryQuantities.php:246 Labels.php:288 MaintenanceTasks.php:95 #: MaintenanceUserSchedule.php:50 MaterialsNotUsed.php:35 MRPDemands.php:92 #: MRPDemands.php:295 MRPDemandTypes.php:113 MRPPlannedWorkOrders.php:258 -#: MRPReport.php:536 MRPReport.php:749 MRPReschedules.php:192 +#: MRPReport.php:536 MRPReport.php:750 MRPReschedules.php:192 #: MRPShortages.php:350 NoSalesItems.php:187 PaymentTerms.php:182 #: PcExpenses.php:190 PcExpenses.php:296 PcExpensesTypeTab.php:171 #: PcReportTab.php:179 PcTypeTabs.php:164 PDFOrdersInvoiced.php:358 -#: PDFOrderStatus.php:329 PO_Items.php:718 PO_Items.php:1156 +#: PDFOrderStatus.php:329 PO_Items.php:718 PO_Items.php:1158 #: PO_SelectOSPurchOrder.php:238 PO_SelectPurchOrder.php:214 #: PricesByCost.php:153 ReorderLevelLocation.php:71 ReorderLevel.php:298 -#: ReverseGRN.php:391 SalesCategories.php:509 SecurityTokens.php:95 -#: SecurityTokens.php:104 SecurityTokens.php:120 SelectAsset.php:265 +#: ReverseGRN.php:391 SalesCategories.php:509 SecurityTokens.php:94 +#: SecurityTokens.php:103 SecurityTokens.php:120 SelectAsset.php:264 #: SelectCompletedOrder.php:555 SelectContract.php:144 -#: SelectCreditItems.php:1022 SelectOrderItems.php:1537 -#: SelectOrderItems.php:1737 SelectProduct.php:545 SelectProduct.php:771 -#: SelectSalesOrder.php:611 SelectWorkOrder.php:210 Shipt_Select.php:191 +#: SelectCreditItems.php:1022 SelectOrderItems.php:1536 +#: SelectOrderItems.php:1724 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 -#: SuppCreditGRNs.php:187 SuppFixedAssetChgs.php:78 SuppInvGRNs.php:126 -#: SuppInvGRNs.php:303 SupplierCredit.php:317 SupplierCredit.php:385 -#: SupplierInvoice.php:665 SupplierInvoice.php:745 SupplierPriceList.php:40 -#: SupplierPriceList.php:264 SupplierPriceList.php:526 -#: SupplierTenderCreate.php:427 SupplierTenderCreate.php:685 -#: SupplierTenderCreate.php:844 SupplierTenders.php:326 -#: SupplierTenders.php:421 SupplierTenders.php:689 SuppPriceList.php:309 +#: 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 +#: SupplierPriceList.php:271 SupplierPriceList.php:533 +#: SupplierTenderCreate.php:429 SupplierTenderCreate.php:690 +#: SupplierTenderCreate.php:848 SupplierTenders.php:326 +#: SupplierTenders.php:421 SupplierTenders.php:687 SuppPriceList.php:309 #: TaxAuthorities.php:147 TopItems.php:164 WorkCentres.php:127 -#: WorkOrderCosting.php:98 WorkOrderCosting.php:130 WorkOrderEntry.php:643 +#: WorkOrderCosting.php:98 WorkOrderCosting.php:130 WorkOrderEntry.php:648 #: WorkOrderIssue.php:707 Z_ItemsWithoutPicture.php:33 #: includes/DefineLabelClass.php:12 includes/DefineLabelClass.php:45 #: includes/PDFGrnHeader.inc:29 includes/PDFInventoryPlanPageHeader.inc:51 @@ -2363,7 +2363,7 @@ #: includes/PDFStockLocTransferHeader.inc:65 #: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50 #: includes/PDFTransPageHeader.inc:208 -#: includes/PDFTransPageHeaderPortrait.inc:263 api/api_xml-rpc.php:3489 +#: includes/PDFTransPageHeaderPortrait.inc:265 api/api_xml-rpc.php:3489 #: ../webSHOP/includes/PlaceOrder.php:233 msgid "Description" msgstr "" @@ -2409,11 +2409,11 @@ msgid "Costed Bill Of Material" msgstr "" -#: BOMInquiry.php:20 BOMs.php:866 +#: BOMInquiry.php:20 BOMs.php:864 msgid "Select a manufactured part" msgstr "" -#: BOMInquiry.php:20 BOMs.php:866 +#: BOMInquiry.php:20 BOMs.php:864 msgid "or Assembly or Kit part" msgstr "" @@ -2421,61 +2421,61 @@ msgid "to view the costed bill of materials" msgstr "" -#: BOMInquiry.php:21 BOMs.php:866 +#: BOMInquiry.php:21 BOMs.php:864 msgid "Parts must be defined in the stock item entry" msgstr "" -#: BOMInquiry.php:21 BOMs.php:866 +#: BOMInquiry.php:21 BOMs.php:864 msgid "modification screen as manufactured" msgstr "" -#: BOMInquiry.php:21 BOMs.php:866 +#: BOMInquiry.php:21 BOMs.php:864 msgid "" "kits or assemblies to be available for construction of a bill of material" msgstr "" -#: BOMInquiry.php:26 BOMs.php:870 MRPDemands.php:336 +#: BOMInquiry.php:26 BOMs.php:868 MRPDemands.php:336 #: PO_SelectOSPurchOrder.php:216 PO_SelectPurchOrder.php:190 -#: Shipt_Select.php:169 WorkOrderEntry.php:628 WorkOrderIssue.php:678 +#: Shipt_Select.php:169 WorkOrderEntry.php:627 WorkOrderIssue.php:678 msgid "Enter text extracts in the" msgstr "" -#: BOMInquiry.php:26 BOMs.php:870 MRPDemands.php:336 +#: BOMInquiry.php:26 BOMs.php:868 MRPDemands.php:336 #: PO_SelectOSPurchOrder.php:216 PO_SelectPurchOrder.php:190 -#: Shipt_Select.php:169 WorkOrderEntry.php:628 WorkOrderIssue.php:678 +#: Shipt_Select.php:169 WorkOrderEntry.php:627 WorkOrderIssue.php:678 msgid "description" msgstr "" -#: BOMInquiry.php:28 BOMs.php:872 ContractBOM.php:332 ContractBOM.php:337 +#: BOMInquiry.php:28 BOMs.php:870 ContractBOM.php:332 ContractBOM.php:337 #: Contracts.php:759 Contracts.php:762 CounterReturns.php:1638 -#: CounterSales.php:2249 CustomerReceipt.php:1129 CustomerReceipt.php:1132 +#: CounterSales.php:2247 CustomerReceipt.php:1129 CustomerReceipt.php:1132 #: DiscountCategories.php:112 DiscountCategories.php:114 #: DiscountCategories.php:118 DiscountCategories.php:120 #: FixedAssetTransfer.php:94 InternalStockRequest.php:351 MRPDemands.php:338 -#: MRPDemands.php:341 MRPReport.php:543 PO_Header.php:542 PO_Items.php:1135 -#: PO_Items.php:1139 PO_SelectOSPurchOrder.php:220 PO_SelectPurchOrder.php:195 +#: MRPDemands.php:341 MRPReport.php:546 PO_Header.php:542 PO_Items.php:1137 +#: PO_Items.php:1141 PO_SelectOSPurchOrder.php:220 PO_SelectPurchOrder.php:195 #: PurchData.php:383 SelectAsset.php:104 SelectCompletedOrder.php:534 #: 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:1701 SelectProduct.php:552 -#: SelectSalesOrder.php:595 SelectSupplier.php:228 SelectWorkOrder.php:197 +#: SelectOrderItems.php:622 SelectOrderItems.php:1691 SelectProduct.php:552 +#: SelectSalesOrder.php:595 SelectSupplier.php:228 SelectWorkOrder.php:201 #: SellThroughSupport.php:202 Shipt_Select.php:174 SuppFixedAssetChgs.php:126 -#: SupplierPriceList.php:47 SupplierPriceList.php:399 -#: SupplierTenderCreate.php:556 SupplierTenderCreate.php:696 -#: SupplierTenders.php:433 WorkOrderEntry.php:631 WorkOrderIssue.php:683 +#: SupplierPriceList.php:49 SupplierPriceList.php:406 +#: SupplierTenderCreate.php:561 SupplierTenderCreate.php:701 +#: SupplierTenders.php:433 WorkOrderEntry.php:632 WorkOrderIssue.php:683 msgid "OR" msgstr "" -#: BOMInquiry.php:29 BOMs.php:873 MRPDemands.php:339 +#: BOMInquiry.php:29 BOMs.php:871 MRPDemands.php:339 #: PO_SelectOSPurchOrder.php:220 PO_SelectPurchOrder.php:195 -#: Shipt_Select.php:174 WorkOrderEntry.php:631 WorkOrderIssue.php:683 +#: Shipt_Select.php:174 WorkOrderEntry.php:632 WorkOrderIssue.php:683 msgid "Enter extract of the" msgstr "" -#: BOMInquiry.php:29 BOMs.php:873 EmailConfirmation.php:217 +#: BOMInquiry.php:29 BOMs.php:871 EmailConfirmation.php:217 #: EmailConfirmation.php:347 InternalStockRequest.php:152 -#: InternalStockRequest.php:351 MRPDemands.php:339 MRPReport.php:543 +#: InternalStockRequest.php:351 MRPDemands.php:339 MRPReport.php:546 #: PO_SelectOSPurchOrder.php:220 PO_SelectPurchOrder.php:195 #: SalesInquiry.php:765 SalesInquiry.php:776 SalesInquiry.php:796 #: SalesInquiry.php:822 SalesInquiry.php:841 SalesInquiry.php:951 @@ -2484,86 +2484,86 @@ #: StockAdjustments.php:403 StockCounts.php:113 StockCounts.php:155 #: StockMovements.php:36 StockReorderLevel.php:47 StockStatus.php:62 #: StockTransfers.php:49 StockTransfers.php:470 StockUsage.php:64 -#: SupplierPriceList.php:47 SupplierTenderCreate.php:696 -#: SupplierTenders.php:433 WorkOrderEntry.php:631 WorkOrderIssue.php:683 +#: 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 msgid "Stock Code" msgstr "" -#: BOMInquiry.php:35 BOMs.php:877 ContractBOM.php:342 Contracts.php:769 -#: CounterReturns.php:1642 CounterSales.php:2255 CustomerReceipt.php:1139 +#: BOMInquiry.php:35 BOMs.php:875 ContractBOM.php:342 Contracts.php:769 +#: CounterReturns.php:1642 CounterSales.php:2253 CustomerReceipt.php:1139 #: FixedAssetTransfer.php:107 InternalStockRequest.php:362 MRPDemands.php:343 -#: MRPReport.php:555 PO_Header.php:549 PO_Items.php:1143 SelectAsset.php:116 +#: 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:1709 +#: SelectGLAccount.php:103 SelectOrderItems.php:629 SelectOrderItems.php:1699 #: SelectProduct.php:560 SelectSupplier.php:238 SelectSupplier.php:271 -#: SupplierPriceList.php:55 SupplierTenderCreate.php:562 -#: SupplierTenderCreate.php:601 SupplierTenderCreate.php:707 -#: SupplierTenders.php:445 WorkOrderEntry.php:635 WorkOrderIssue.php:690 +#: SupplierPriceList.php:61 SupplierTenderCreate.php:567 +#: SupplierTenderCreate.php:606 SupplierTenderCreate.php:712 +#: SupplierTenders.php:445 WorkOrderEntry.php:638 WorkOrderIssue.php:690 msgid "Search Now" msgstr "" -#: BOMInquiry.php:47 BOMs.php:807 ContractBOM.php:52 MRPDemands.php:56 -#: MRPReport.php:577 PO_Items.php:853 PO_SelectOSPurchOrder.php:65 +#: BOMInquiry.php:47 BOMs.php:805 ContractBOM.php:52 MRPDemands.php:56 +#: MRPReport.php:578 PO_Items.php:855 PO_SelectOSPurchOrder.php:65 #: PO_SelectPurchOrder.php:48 SelectCompletedOrder.php:97 #: SelectCreditItems.php:301 SelectProduct.php:573 SelectSalesOrder.php:448 -#: SelectWorkOrder.php:51 Shipt_Select.php:61 SupplierPriceList.php:69 -#: SupplierTenderCreate.php:722 SupplierTenders.php:578 WorkOrderEntry.php:86 +#: SelectWorkOrder.php:51 Shipt_Select.php:61 SupplierPriceList.php:76 +#: SupplierTenderCreate.php:726 SupplierTenders.php:576 WorkOrderEntry.php:86 #: WorkOrderIssue.php:379 msgid "" "Stock description keywords have been used in preference to the Stock code " "extract entered" msgstr "" -#: BOMInquiry.php:50 BOMs.php:810 MRPDemands.php:59 +#: BOMInquiry.php:50 BOMs.php:808 MRPDemands.php:59 msgid "" "At least one stock description keyword or an extract of a stock code must be " "entered for the search" msgstr "" -#: BOMInquiry.php:95 BOMs.php:856 MRPCalendar.php:213 MRPDemands.php:80 +#: BOMInquiry.php:95 BOMs.php:854 MRPCalendar.php:213 MRPDemands.php:80 #: MRPDemands.php:289 POReport.php:481 POReport.php:1256 SalesInquiry.php:754 msgid "The SQL to find the parts selected failed with the message" msgstr "" -#: BOMInquiry.php:108 BOMs.php:553 BOMs.php:887 ContractBOM.php:353 -#: CounterReturns.php:1667 CounterSales.php:2096 CounterSales.php:2284 +#: BOMInquiry.php:108 BOMs.php:553 BOMs.php:885 ContractBOM.php:353 +#: CounterReturns.php:1667 CounterSales.php:2096 CounterSales.php:2277 #: CustomerBranches.php:382 CustomerReceipt.php:1150 GLCodesInquiry.php:26 -#: InternalStockRequest.php:556 InternalStockRequest.php:624 +#: InternalStockRequest.php:555 InternalStockRequest.php:625 #: MaterialsNotUsed.php:34 MRPDemands.php:91 MRPPlannedWorkOrders.php:257 -#: MRPReport.php:748 NoSalesItems.php:186 PDFOrdersInvoiced.php:357 -#: PDFOrderStatus.php:328 PO_Header.php:556 PO_Items.php:1155 +#: MRPReport.php:749 NoSalesItems.php:186 PDFOrdersInvoiced.php:357 +#: PDFOrderStatus.php:328 PO_Header.php:556 PO_Items.php:1157 #: PO_SelectOSPurchOrder.php:237 PO_SelectPurchOrder.php:213 #: 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:1536 -#: SelectOrderItems.php:1736 SelectProduct.php:770 SelectSalesOrder.php:610 -#: SelectSupplier.php:277 SelectWorkOrder.php:209 SellThroughSupport.php:159 -#: Shipt_Select.php:190 SpecialOrder.php:149 SupplierPriceList.php:263 -#: SupplierPriceList.php:448 SupplierTenderCreate.php:607 -#: SupplierTenderCreate.php:843 SupplierTenders.php:688 SuppPriceList.php:308 -#: TopItems.php:163 WorkOrderEntry.php:642 WorkOrderIssue.php:706 +#: SelectCustomer.php:420 SelectGLAccount.php:112 SelectOrderItems.php:1535 +#: SelectOrderItems.php:1723 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 +#: SupplierTenderCreate.php:847 SupplierTenders.php:686 SuppPriceList.php:308 +#: TopItems.php:163 WorkOrderEntry.php:647 WorkOrderIssue.php:706 #: includes/PDFTaxPageHeader.inc:38 includes/PDFTopItemsHeader.inc:49 #: includes/PO_PDFOrderPageHeader.inc:75 ../webSHOP/ItemDetails.php:72 msgid "Code" msgstr "" -#: BOMInquiry.php:111 BOMs.php:890 ConfirmDispatch_Invoice.php:289 +#: BOMInquiry.php:111 BOMs.php:888 ConfirmDispatch_Invoice.php:289 #: ContractBOM.php:355 CounterReturns.php:1669 CounterSales.php:2098 -#: CounterSales.php:2286 Credit_Invoice.php:290 GoodsReceived.php:102 -#: GoodsReceived.php:106 InternalStockRequestAuthorisation.php:89 -#: InternalStockRequestFulfill.php:320 InternalStockRequest.php:559 -#: InternalStockRequest.php:626 MRPReport.php:751 NoSalesItems.php:190 -#: OffersReceived.php:109 PO_Items.php:1159 PO_SelectOSPurchOrder.php:241 +#: CounterSales.php:2279 Credit_Invoice.php:290 GoodsReceived.php:103 +#: GoodsReceived.php:107 InternalStockRequestAuthorisation.php:89 +#: InternalStockRequestFulfill.php:320 InternalStockRequest.php:558 +#: InternalStockRequest.php:627 MRPReport.php:752 NoSalesItems.php:190 +#: OffersReceived.php:109 PO_Items.php:1161 PO_SelectOSPurchOrder.php:241 #: PO_SelectPurchOrder.php:217 SelectCompletedOrder.php:559 -#: SelectCreditItems.php:1023 SelectOrderItems.php:1538 -#: SelectOrderItems.php:1738 SelectProduct.php:130 SelectProduct.php:773 -#: SelectSalesOrder.php:613 SelectWorkOrder.php:212 Shipments.php:402 +#: SelectCreditItems.php:1023 SelectOrderItems.php:1537 +#: SelectOrderItems.php:1725 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:265 SupplierTenderCreate.php:845 -#: SupplierTenders.php:690 TopItems.php:166 WorkOrderCosting.php:100 -#: WorkOrderEntry.php:644 WorkOrderIssue.php:708 WorkOrderIssue.php:778 +#: SupplierPriceList.php:272 SupplierTenderCreate.php:849 +#: SupplierTenders.php:688 TopItems.php:166 WorkOrderCosting.php:100 +#: WorkOrderEntry.php:649 WorkOrderIssue.php:708 WorkOrderIssue.php:778 #: includes/DefineLabelClass.php:21 includes/PDFInventoryValnPageHeader.inc:34 msgid "Units" msgstr "" @@ -2588,7 +2588,7 @@ msgid "per" msgstr "" -#: BOMInquiry.php:199 BOMs.php:628 WorkOrderReceive.php:176 +#: BOMInquiry.php:199 BOMs.php:627 WorkOrderReceive.php:176 #: WorkOrderReceive.php:396 Z_BottomUpCosts.php:33 msgid "Component" msgstr "" @@ -2696,8 +2696,8 @@ msgid "Drill Down" msgstr "" -#: BOMs.php:122 BOMs.php:128 BOMs.php:136 BOMs.php:906 -#: InternalStockRequest.php:577 OrderDetails.php:192 PaymentTerms.php:190 +#: BOMs.php:122 BOMs.php:128 BOMs.php:136 BOMs.php:904 +#: InternalStockRequest.php:576 OrderDetails.php:192 PaymentTerms.php:190 #: PaymentTerms.php:196 PO_SelectOSPurchOrder.php:516 #: SalesAnalReptCols.php:285 SelectProduct.php:128 SelectProduct.php:175 #: SelectProduct.php:255 SelectProduct.php:256 SelectProduct.php:791 @@ -2883,30 +2883,30 @@ msgid "Level" msgstr "" -#: BOMs.php:555 BOMs.php:687 Contracts.php:876 FixedAssetRegister.php:89 +#: BOMs.php:555 BOMs.php:686 Contracts.php:876 FixedAssetRegister.php:89 #: 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 #: StockStatus.php:86 StockStatus.php:91 SupplierTenderCreate.php:135 -#: WhereUsedInquiry.php:72 WorkCentres.php:128 WorkCentres.php:222 +#: WhereUsedInquiry.php:70 WorkCentres.php:128 WorkCentres.php:223 #: includes/PDFPeriodStockTransListingPageHeader.inc:51 #: includes/PDFStockNegativesHeader.inc:31 api/api_xml-rpc.php:2531 #: api/api_xml-rpc.php:2577 api/api_xml-rpc.php:2773 msgid "Location" msgstr "" -#: BOMs.php:556 WhereUsedInquiry.php:71 includes/MainMenuLinksArray.php:311 +#: BOMs.php:556 WhereUsedInquiry.php:69 includes/MainMenuLinksArray.php:311 msgid "Work Centre" msgstr "" -#: BOMs.php:558 BOMs.php:756 WhereUsedInquiry.php:74 +#: BOMs.php:558 BOMs.php:755 WhereUsedInquiry.php:72 #: includes/PDFBOMListingPageHeader.inc:40 msgid "Effective After" msgstr "" -#: BOMs.php:559 BOMs.php:760 PurchData.php:703 SellThroughSupport.php:267 -#: WhereUsedInquiry.php:75 includes/PDFBOMListingPageHeader.inc:41 +#: BOMs.php:559 BOMs.php:759 PurchData.php:703 SellThroughSupport.php:267 +#: WhereUsedInquiry.php:73 includes/PDFBOMListingPageHeader.inc:41 msgid "Effective To" msgstr "" @@ -2922,55 +2922,55 @@ msgid "No materials found." msgstr "" -#: BOMs.php:619 +#: BOMs.php:618 msgid "Edit the details of the selected component in the fields below" msgstr "" -#: BOMs.php:619 +#: BOMs.php:618 msgid "Click on the Enter Information button to update the component details" msgstr "" -#: BOMs.php:640 +#: BOMs.php:639 msgid "New Component Details" msgstr "" -#: BOMs.php:643 +#: BOMs.php:642 msgid "Component code" msgstr "" -#: BOMs.php:673 +#: BOMs.php:672 msgid "Could not retrieve the list of potential components because" msgstr "" -#: BOMs.php:674 +#: BOMs.php:673 msgid "The SQL used to retrieve the list of potential components part was" msgstr "" -#: BOMs.php:709 +#: BOMs.php:708 msgid "Work Centre Added" msgstr "" -#: BOMs.php:715 Contracts.php:891 +#: BOMs.php:714 Contracts.php:891 msgid "There are no work centres set up yet" msgstr "" -#: BOMs.php:715 Contracts.php:891 +#: BOMs.php:714 Contracts.php:891 msgid "Please use the link below to set up work centres" msgstr "" -#: BOMs.php:716 Contracts.php:892 +#: BOMs.php:715 Contracts.php:892 msgid "Work Centre Maintenance" msgstr "" -#: BOMs.php:738 +#: BOMs.php:737 msgid "Enter the quantity of this item required for the parent item" msgstr "" -#: BOMs.php:766 +#: BOMs.php:765 msgid "Auto Issue this Component to Work Orders" msgstr "" -#: BOMs.php:866 +#: BOMs.php:864 msgid "to maintain the bill of material for using the options below" msgstr "" @@ -3324,17 +3324,17 @@ #: CompanyPreferences.php:469 ConfirmDispatch_Invoice.php:648 #: ConfirmDispatch_Invoice.php:1687 Credit_Invoice.php:1563 #: FixedAssetItems.php:127 FixedAssetItems.php:652 GLBudgets.php:240 -#: GLTags.php:68 GoodsReceived.php:251 GoodsReceived.php:257 -#: GoodsReceived.php:264 GoodsReceived.php:746 ImportBankTransAnalysis.php:154 +#: GLTags.php:68 GoodsReceived.php:257 GoodsReceived.php:263 +#: GoodsReceived.php:270 GoodsReceived.php:752 ImportBankTransAnalysis.php:154 #: ImportBankTransAnalysis.php:185 InternalStockRequestAuthorisation.php:104 #: InternalStockRequestFulfill.php:359 InternalStockRequest.php:247 #: MRPCalendar.php:315 Payments.php:922 PcAuthorizeExpenses.php:108 #: PcAuthorizeExpenses.php:293 PO_AuthoriseMyOrders.php:142 #: PricesByCost.php:223 PurchData.php:758 ReorderLevelLocation.php:130 -#: SecurityTokens.php:98 SelectCreditItems.php:957 SellThroughSupport.php:476 +#: 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 -#: TaxAuthorityRates.php:84 WorkOrderEntry.php:588 WOSerialNos.php:336 +#: TaxAuthorityRates.php:84 WorkOrderEntry.php:587 WOSerialNos.php:336 msgid "Update" msgstr "" @@ -3447,7 +3447,7 @@ msgstr "" #: ConfirmDispatch_Invoice.php:268 Contracts.php:778 CustLoginSetup.php:32 -#: CustomerAllocations.php:337 CustomerBranches.php:378 +#: CustomerAllocations.php:331 CustomerBranches.php:378 #: CustomerBranches.php:557 CustomerBranches.php:604 CustomerInquiry.php:130 #: CustomerPurchases.php:31 CustomerReceipt.php:92... [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 FixedAssetItems.php:50 Manufacturers.php:49 -#: Manufacturers.php:121 SalesCategories.php:56 Stocks.php:87 +#: Manufacturers.php:121 SalesCategories.php:56 Stocks.php:90 #: Z_MakeNewCompany.php:59 msgid "The existing image could not be removed" msgstr "" #: Contracts.php:141 FixedAssetItems.php:57 Manufacturers.php:56 -#: Manufacturers.php:128 SalesCategories.php:63 Stocks.php:94 +#: Manufacturers.php:128 SalesCategories.php:63 Stocks.php:97 #: Z_MakeNewCompany.php:145 msgid "File url" msgstr "" @@ -5281,11 +5281,11 @@ msgid "The SQL that was used to insert the contract item failed was" msgstr "" -#: Contracts.php:502 Stocks.php:662 Z_ImportStocks.php:238 +#: Contracts.php:502 Stocks.php:665 Z_ImportStocks.php:238 msgid "The locations for the item" msgstr "" -#: Contracts.php:502 Factors.php:80 Stocks.php:662 SupplierCredit.php:756 +#: Contracts.php:502 Factors.php:80 Stocks.php:665 SupplierCredit.php:756 #: SupplierCredit.php:815 SupplierCredit.php:1202 SupplierCredit.php:1256 #: SupplierCredit.php:1284 SupplierInvoice.php:1140 SupplierInvoice.php:1198 #: SupplierInvoice.php:1563 SupplierInvoice.php:1798 SupplierInvoice.php:1827 @@ -5293,11 +5293,11 @@ msgid "could not be added because" msgstr "" -#: Contracts.php:503 Stocks.php:663 Z_ImportStocks.php:239 +#: Contracts.php:503 Stocks.php:666 Z_ImportStocks.php:239 msgid "NB Locations records can be added by opening the utility page" msgstr "" -#: Contracts.php:503 Stocks.php:663 Z_ImportStocks.php:239 +#: Contracts.php:503 Stocks.php:666 Z_ImportStocks.php:239 msgid "The SQL that was used to add the location records that failed was" msgstr "" @@ -5369,7 +5369,7 @@ #: InternalStockRequest.php:666 PO_Header.php:411 PO_Header.php:485 #: SelectCreditItems.php:182 SelectOrderItems.php:405 SelectOrderItems.php:452 #: SelectOrderItems.php:534 SelectOrderItems.php:575 SelectOrderItems.php:1570 -#: SelectOrderItems.php:1758 SpecialOrder.php:68 SpecialOrder.php:92 +#: SelectOrderItems.php:1757 SpecialOrder.php:68 SpecialOrder.php:92 #: StockCheck.php:222 StockLocStatus.php:196 StockLocStatus.php:220 #: StockLocStatus.php:251 StockStatus.php:123 StockStatus.php:147 #: StockStatus.php:167 StockStatus.php:189 StockStatus.php:206 @@ -5496,7 +5496,7 @@ #: Contracts.php:852 InventoryQuantities.php:237 PDFPriceList.php:366 #: PricesByCost.php:245 ReorderLevelLocation.php:169 ReorderLevel.php:286 #: SalesCategoryPeriodInquiry.php:164 SalesTopItemsInquiry.php:221 -#: SpecialOrder.php:697 StockDispatch.php:486 Stocks.php:1022 +#: SpecialOrder.php:697 StockDispatch.php:486 Stocks.php:1025 #: SuppPriceList.php:237 SuppPriceList.php:299 Z_ItemsWithoutPicture.php:31 #: includes/PDFInventoryValnPageHeader.inc:32 #: includes/PDFInventoryValnPageHeader.inc:38 @@ -5504,12 +5504,12 @@ msgstr "" #: Contracts.php:856 PricesBasedOnMarkUp.php:108 SpecialOrder.php:701 -#: Stocks.php:1026 +#: Stocks.php:1029 msgid "The stock categories could not be retrieved because" msgstr "" #: Contracts.php:857 FixedAssetItems.php:517 PricesBasedOnMarkUp.php:109 -#: SpecialOrder.php:702 Stocks.php:1027 +#: SpecialOrder.php:702 Stocks.php:1030 msgid "The SQL used to retrieve stock categories and failed was" msgstr "" @@ -6039,21 +6039,21 @@ msgid "Search for Items" msgstr "" -#: CounterReturns.php:1607 CounterSales.php:2216 SelectOrderItems.php:1657 +#: CounterReturns.php:1607 CounterSales.php:2216 SelectOrderItems.php:1656 msgid "" ", Searches the database for items, you can narrow the results by selecting a " "stock category, or just enter a partial item description or partial item code" msgstr "" -#: CounterReturns.php:1610 CounterSales.php:2220 SelectOrderItems.php:1660 +#: CounterReturns.php:1610 CounterSales.php:2220 SelectOrderItems.php:1659 msgid "Select a Stock Category" msgstr "" -#: CounterReturns.php:1635 CounterSales.php:2243 SelectOrderItems.php:1684 +#: CounterReturns.php:1635 CounterSales.php:2243 SelectOrderItems.php:1683 msgid "Enter partial Description" msgstr "" -#: CounterReturns.php:1643 CounterSales.php:2254 SelectOrderItems.php:1700 +#: CounterReturns.php:1643 CounterSales.php:2254 SelectOrderItems.php:1699 msgid "Use Quick Entry" msgstr "" @@ -6076,7 +6076,7 @@ #: CounterSales.php:2397 InternalStockRequest.php:546 #: InternalStockRequest.php:622 InternalStockRequest.php:742 MRPReport.php:741 #: SelectAsset.php:251 SelectCustomer.php:413 SelectCustomer.php:490 -#: SelectOrderItems.php:1721 SelectOrderItems.php:1844 SelectProduct.php:760 +#: SelectOrderItems.php:1720 SelectOrderItems.php:1843 SelectProduct.php:760 #: SelectSupplier.php:268 SelectSupplier.php:332 SupplierPriceList.php:261 #: SupplierTenderCreate.php:603 msgid "Next" @@ -6084,20 +6084,20 @@ #: CounterReturns.php:1671 CounterSales.php:2100 CounterSales.php:2281 #: InternalStockRequest.php:629 SelectOrderItems.php:1539 -#: SelectOrderItems.php:1727 +#: SelectOrderItems.php:1726 msgid "On Demand" msgstr "" #: CounterReturns.php:1672 CounterSales.php:2101 CounterSales.php:2282 #: InternalStockRequest.php:630 ReorderLevel.php:302 SelectOrderItems.php:1540 -#: SelectOrderItems.php:1728 StockLocStatus.php:178 StockStatus.php:98 +#: SelectOrderItems.php:1727 StockLocStatus.php:178 StockStatus.php:98 #: TopItems.php:169 msgid "On Order" msgstr "" #: CounterReturns.php:1673 CounterSales.php:2102 CounterSales.php:2283 #: InternalStockRequest.php:631 SelectOrderItems.php:1541 -#: SelectOrderItems.php:1729 StockDispatch.php:516 StockDispatch.php:517 +#: SelectOrderItems.php:1728 StockDispatch.php:516 StockDispatch.php:517 #: StockLocStatus.php:177 StockStatus.php:97 includes/OutputSerialItems.php:37 #: includes/PDFStockCheckPageHeader.inc:40 msgid "Available" @@ -6105,7 +6105,7 @@ #: CounterReturns.php:1699 CounterSales.php:2130 CounterSales.php:2309 #: InternalStockRequest.php:666 SelectOrderItems.php:1569 -#: SelectOrderItems.php:1758 StockCheck.php:222 StockLocStatus.php:196 +#: SelectOrderItems.php:1757 StockCheck.php:222 StockLocStatus.php:196 #: StockLocStatus.php:220 StockStatus.php:123 StockStatus.php:147 msgid "The demand for this product from" msgstr "" @@ -6114,7 +6114,7 @@ #: CounterSales.php:2163 CounterSales.php:2328 CounterSales.php:2342 #: InternalStockRequest.php:686 InternalStockRequest.php:700 #: SelectOrderItems.php:1589 SelectOrderItems.php:1603 -#: SelectOrderItems.php:1779 SelectOrderItems.php:1793 +#: SelectOrderItems.php:1778 SelectOrderItems.php:1792 msgid "The order details for this product cannot be retrieved because" msgstr "" @@ -6135,13 +6135,13 @@ msgstr "" #: CounterReturns.php:1824 CounterSales.php:2430 SelectCreditItems.php:1014 -#: SelectCreditItems.php:1065 SelectOrderItems.php:1854 -#: SelectOrderItems.php:1882 +#: SelectCreditItems.php:1065 SelectOrderItems.php:1853 +#: SelectOrderItems.php:1881 msgid "Quick Entry" msgstr "" #: CounterReturns.php:1825 CounterSales.php:2431 SelectCreditItems.php:1083 -#: SelectOrderItems.php:1883 SelectOrderItems.php:1913 +#: SelectOrderItems.php:1882 SelectOrderItems.php:1912 msgid "Search Parts" msgstr "" @@ -6240,7 +6240,7 @@ #: SupplierTransInquiry.php:107 Z_ImportChartOfAccounts.php:28 #: Z_ImportGLAccountGroups.php:26 Z_ImportGLAccountSections.php:29 #: Z_ImportPartCodes.php:31 includes/PDFOrderPageHeader_generic.inc:58 -#: includes/PO_PDFOrderPageHeader.inc:65 ../webSHOP/Checkout.php:433 +#: includes/PO_PDFOrderPageHeader.inc:65 ../webSHOP/Checkout.php:435 msgid "Comments" msgstr "" @@ -6290,7 +6290,7 @@ msgstr "" #: CounterSales.php:1103 DeliveryDetails.php:394 -#: RecurringSalesOrdersProcess.php:146 ../webSHOP/includes/PlaceOrder.php:68 +#: RecurringSalesOrdersProcess.php:146 ../webSHOP/includes/PlaceOrder.php:71 msgid "The order cannot be added because" msgstr "" @@ -6299,7 +6299,7 @@ msgstr "" #: CounterSales.php:1135 DeliveryDetails.php:423 -#: ../webSHOP/includes/PlaceOrder.php:90 +#: ../webSHOP/includes/PlaceOrder.php:93 msgid "Unable to add the sales order line" msgstr "" @@ -6417,7 +6417,7 @@ msgstr "" #: CounterSales.php:2262 InternalStockRequest.php:607 -#: SelectOrderItems.php:1712 +#: SelectOrderItems.php:1711 msgid "" "Select an item by entering the quantity required. Click Order when ready." msgstr "" @@ -6947,8 +6947,8 @@ #: Currencies.php:298 Currencies.php:457 CustomerBranches.php:663 #: Customers.php:474 Customers.php:778 Customers.php:817 #: DeliveryDetails.php:1071 FreightCosts.php:215 Suppliers.php:696 -#: Suppliers.php:900 ../webSHOP/Checkout.php:413 ../webSHOP/Checkout.php:472 -#: ../webSHOP/CreditCardPayPalPro.php:293 ../webSHOP/Register.php:651 +#: Suppliers.php:900 ../webSHOP/Checkout.php:415 ../webSHOP/Checkout.php:474 +#: ../webSHOP/CreditCardPayPalPro.php:294 ../webSHOP/Register.php:651 #: ../webSHOP/Register.php:693 msgid "Country" msgstr "" @@ -7019,7 +7019,7 @@ msgstr "" #: CustEDISetup.php:31 CustLoginSetup.php:51 Customers.php:66 -#: InternalStockCategoriesByRole.php:24 Stocks.php:135 SuppLoginSetup.php:51 +#: InternalStockCategoriesByRole.php:24 Stocks.php:138 SuppLoginSetup.php:51 #: TaxCategories.php:31 WorkCentres.php:35 WWW_Users.php:73 #: Z_ChangeBranchCode.php:28 Z_ImportStocks.php:116 msgid "or a space" @@ -7188,8 +7188,8 @@ msgstr "" #: CustLoginSetup.php:150 SMTPServer.php:103 SuppLoginSetup.php:133 -#: WWW_Users.php:454 includes/Login.php:99 ../webSHOP/Checkout.php:300 -#: ../webSHOP/Register.php:600 ../webSHOP/includes/header.php:224 +#: WWW_Users.php:454 includes/Login.php:99 ../webSHOP/Checkout.php:302 +#: ../webSHOP/Register.php:600 ../webSHOP/includes/header.php:239 msgid "Password" msgstr "" @@ -7570,7 +7570,7 @@ #: SupplierTenderCreate.php:366 SupplierTenderCreate.php:370 #: SupplierTenderCreate.php:374 SupplierTenderCreate.php:378 #: SupplierTenderCreate.php:382 SupplierTenderCreate.php:386 -#: ../webSHOP/includes/Functions.php:759 +#: ../webSHOP/includes/Functions.php:758 msgid "Address" msgstr "" @@ -7978,7 +7978,7 @@ msgstr "" #: CustomerInquiry.php:143 CustomerReceipt.php:987 PrintCustStatements.php:360 -#: SalesPeople.php:206 Shipments.php:406 Stocks.php:1163 Stocks.php:1165 +#: SalesPeople.php:206 Shipments.php:406 Stocks.php:1166 Stocks.php:1168 #: SupplierInquiry.php:143 includes/PDFAgedDebtorsPageHeader.inc:50 #: includes/PDFAgedSuppliersPageHeader.inc:36 msgid "Current" @@ -9108,7 +9108,7 @@ #: SelectCompletedOrder.php:88 SelectCompletedOrder.php:236 #: SelectContract.php:34 SelectSalesOrder.php:437 SelectSalesOrder.php:441 #: SelectWorkOrder.php:131 Shipt_Select.php:48 StockMovements.php:61 -#: Stocks.php:387 Stocks.php:1342 includes/PDFBOMListingPageHeader.inc:21 +#: Stocks.php:390 Stocks.php:1345 includes/PDFBOMListingPageHeader.inc:21 #: includes/PDFCustomerListPageHeader.inc:31 #: includes/PDFCustomerListPageHeader.inc:53 #: includes/PDFDebtorBalsPageHeader.inc:17 @@ -9580,7 +9580,7 @@ msgstr "" #: DeliveryDetails.php:1156 -msgid "Charge Freight Cost inc tax" +msgid "Charge Freight Cost ex tax" msgstr "" #: DeliveryDetails.php:1160 @@ -9603,7 +9603,7 @@ msgid "Quotation Only" msgstr "" -#: DeliveryDetails.php:1205 ../webSHOP/index.php:91 +#: DeliveryDetails.php:1205 ../webSHOP/index.php:95 msgid "Place Order" msgstr "" @@ -9787,7 +9787,7 @@ msgstr "" #: DiscountCategories.php:212 DiscountMatrix.php:162 StockDispatch.php:239 -#: Stocks.php:1251 +#: Stocks.php:1254 msgid "Discount Category" msgstr "" @@ -10569,8 +10569,8 @@ msgstr "" #: EmailConfirmation.php:215 EmailConfirmation.php:345 -#: SelectOrderItems.php:1370 SelectOrderItems.php:1859 -#: SelectOrderItems.php:1895 +#: SelectOrderItems.php:1370 SelectOrderItems.php:1858 +#: SelectOrderItems.php:1894 msgid "PO Line" msgstr "" @@ -10583,7 +10583,7 @@ #: EmailConfirmation.php:220 EmailConfirmation.php:350 MRPDemands.php:298 #: MRPDemands.php:399 MRPPlannedPurchaseOrders.php:339 #: MRPPlannedWorkOrders.php:260 MRPPlannedWorkOrders.php:393 MRPReport.php:414 -#: MRPReport.php:420 SelectOrderItems.php:1384 SelectOrderItems.php:1863 +#: MRPReport.php:420 SelectOrderItems.php:1384 SelectOrderItems.php:1862 #: SupplierTransInquiry.php:108 msgid "Due Date" msgstr "" @@ -10672,7 +10672,7 @@ msgid "A new factoring company for" msgstr "" -#: Factors.php:85 SalesAnalReptCols.php:186 Stocks.php:667 Suppliers.php:582 +#: Factors.php:85 SalesAnalReptCols.php:186 Stocks.php:670 Suppliers.php:582 msgid "has been added to the database" msgstr "" @@ -11093,7 +11093,7 @@ msgstr "" #: FixedAssetItems.php:57 Manufacturers.php:56 Manufacturers.php:128 -#: Stocks.php:94 Z_MakeNewCompany.php:145 +#: Stocks.php:97 Z_MakeNewCompany.php:145 msgid "Something is wrong with uploading a file" msgstr "" @@ -11109,7 +11109,7 @@ "description is required" msgstr "" -#: FixedAssetItems.php:94 Stocks.php:148 Z_ImportStocks.php:125 +#: FixedAssetItems.php:94 Stocks.php:151 Z_ImportStocks.php:125 msgid "The barcode must be 20 characters or less long" msgstr "" @@ -11176,7 +11176,7 @@ msgid "The new asset has been added to the database with an asset code of:" msgstr "" -#: FixedAssetItems.php:286 Stocks.php:705 +#: FixedAssetItems.php:286 Stocks.php:708 msgid "Validation failed, no updates or deletes took place" msgstr "" @@ -11234,7 +11234,7 @@ msgid "Asset Description" msgstr "" -#: FixedAssetItems.php:467 Stocks.php:959 +#: FixedAssetItems.php:467 Stocks.php:962 msgid "short" msgstr "" @@ -11242,7 +11242,7 @@ msgid "Enter the description of the item. Up to 50 characters can be used." msgstr "" -#: FixedAssetItems.php:477 Stocks.php:983 +#: FixedAssetItems.php:477 Stocks.php:986 msgid "long" msgstr "" @@ -11252,7 +11252,7 @@ "characters are allowed." msgstr "" -#: FixedAssetItems.php:484 SalesCategories.php:363 Stocks.php:987 +#: FixedAssetItems.php:484 SalesCategories.php:363 Stocks.php:990 msgid "Image File (.jpg)" msgstr "" @@ -11285,7 +11285,7 @@ msgid "Add Asset Location" msgstr "" -#: FixedAssetItems.php:560 StockCounts.php:112 Stocks.php:1241 +#: FixedAssetItems.php:560 StockCounts.php:112 Stocks.php:1244 #: includes/DefineLabelClass.php:50 msgid "Bar Code" msgstr "" @@ -11694,7 +11694,7 @@ msgstr "" #: FreightCosts.php:28 FreightCosts.php:83 -#: ../webSHOP/includes/PlaceOrder.php:271 +#: ../webSHOP/includes/PlaceOrder.php:274 msgid "Freight Costs" msgstr "" @@ -14262,8 +14262,8 @@ msgstr "" #: InternalStockRequest.php:545 MRPReport.php:740 SelectAsset.php:250 -#: SelectCustomer.php:412 SelectCustomer.php:489 SelectOrderItems.php:1719 -#: SelectOrderItems.php:1842 SelectProduct.php:759 SelectSupplier.php:267 +#: SelectCustomer.php:412 SelectCustomer.php:489 SelectOrderItems.php:1718 +#: SelectOrderItems.php:1841 SelectProduct.php:759 SelectSupplier.php:267 #: SelectSupplier.php:331 SupplierPriceList.php:260 #: SupplierTenderCreate.php:602 msgid "Previous" @@ -14279,7 +14279,7 @@ msgstr "" #: InternalStockRequest.php:581 SelectProduct.php:81 SelectProduct.php:796 -#: Stocks.php:1168 Stocks.php:1170 +#: Stocks.php:1171 Stocks.php:1173 msgid "Obsolete" msgstr "" @@ -14551,7 +14551,7 @@ #: MRPPlannedWorkOrders.php:321 PricesByCost.php:8 ReorderLevelLocation.php:12 #: ReorderLevel.php:194 SelectProduct.php:87 StockDispatch.php:319 #: StockMovements.php:22 StockQties_csv.php:8 StockQuantityByDate.php:10 -#: StockReorderLevel.php:18 StockSerialItemResearch.php:9 +#: StockReorderLevel.php:20 StockSerialItemResearch.php:9 #: StockSerialItems.php:9 StockStatus.php:45 StockTransferControlled.php:14 #: SuppLoginSetup.php:24 WWW_Users.php:16 includes/MainMenuLinksArray.php:26 msgid "Inventory" @@ -16359,7 +16359,7 @@ msgid "Offer ID" msgstr "" -#: OffersReceived.php:107 PurchData.php:459 Stocks.php:558 +#: OffersReceived.php:107 PurchData.php:459 Stocks.php:561 #: includes/PDFPeriodStockTransListingPageHeader.inc:47 msgid "Stock Item" msgstr "" @@ -16475,7 +16475,7 @@ msgid "The SQL that failed to get the order header was" msgstr "" -#: OrderDetails.php:56 ../webSHOP/index.php:85 +#: OrderDetails.php:56 ../webSHOP/index.php:89 msgid "Order Details" msgstr "" @@ -16578,7 +16578,7 @@ #: OutstandingGRNs.php:183 SpecialOrder.php:735 #: includes/PDFTransPageHeader.inc:209 #: includes/PDFTransPageHeaderPortrait.inc:266 -#: ../webSHOP/includes/PlaceOrder.php:235 +#: ../webSHOP/includes/PlaceOrder.php:238 msgid "Unit Price" msgstr "" @@ -19845,7 +19845,7 @@ msgid "Price per item" msgstr "" -#: PO_Items.php:839 Stocks.php:1107 includes/PO_ReadInOrder.inc:179 +#: PO_Items.php:839 Stocks.php:1110 includes/PO_ReadInOrder.inc:179 msgid "each" msgstr "" @@ -20830,7 +20830,7 @@ msgstr "" #: Prices.php:32 PurchData.php:51 StockCostUpdate.php:18 -#: StockReorderLevel.php:15 Stocks.php:61 WhereUsedInquiry.php:15 +#: StockReorderLevel.php:17 Stocks.php:61 WhereUsedInquiry.php:15 msgid "Back to Items" msgstr "" @@ -21834,20 +21834,20 @@ msgstr "" #: PurchData.php:771 SelectProduct.php:400 StockCostUpdate.php:195 -#: StockLocMovements.php:53 StockMovements.php:61 StockReorderLevel.php:112 +#: StockLocMovements.php:53 StockMovements.php:61 StockReorderLevel.php:109 #: StockUsage.php:193 msgid "Show Stock Movements" msgstr "" #: PurchData.php:772 SelectProduct.php:405 SelectSalesOrder.php:6 #: StockAdjustments.php:514 StockCostUpdate.php:197 StockMovements.php:207 -#: StockReorderLevel.php:114 StockStatus.php:400 StockTransfers.php:579 +#: StockReorderLevel.php:111 StockStatus.php:400 StockTransfers.php:579 #: StockUsage.php:195 msgid "Search Outstanding Sales Orders" msgstr "" #: PurchData.php:773 SelectProduct.php:406 StockAdjustments.php:516 -#: StockCostUpdate.php:198 StockMovements.php:208 StockReorderLevel.php:115 +#: StockCostUpdate.php:198 StockMovements.php:208 StockReorderLevel.php:112 #: StockStatus.php:401 StockTransfers.php:581 StockUsage.php:197 msgid "Search Completed Sales Orders" msgstr "" @@ -21923,17 +21923,17 @@ msgid "Recurring Order for Customer" msgstr "" -#: RecurringSalesOrders.php:393 ../webSHOP/Checkout.php:452 -#: ../webSHOP/Checkout.php:456 ../webSHOP/CreditCardPayPalPro.php:280 +#: RecurringSalesOrders.php:393 ../webSHOP/Checkout.php:454 +#: ../webSHOP/Checkout.php:458 ../webSHOP/CreditCardPayPalPro.php:281 msgid "Street" msgstr "" -#: RecurringSalesOrders.php:397 ../webSHOP/Checkout.php:460 +#: RecurringSalesOrders.php:397 ../webSHOP/Checkout.php:462 msgid "Suburb" msgstr "" -#: RecurringSalesOrders.php:401 ../webSHOP/Checkout.php:464 -#: ../webSHOP/CreditCardPayPalPro.php:282 +#: RecurringSalesOrders.php:401 ../webSHOP/Checkout.php:466 +#: ../webSHOP/CreditCardPayPalPro.php:283 msgid "City" msgstr "" @@ -24078,11 +24078,11 @@ msgid "Process Credit Note" msgstr "" -#: SelectCreditItems.php:1013 SelectOrderItems.php:1703 +#: SelectCreditItems.php:1013 SelectOrderItems.php:1702 msgid "Change Customer" msgstr "" -#: SelectCreditItems.php:1067 SelectOrderItems.php:1861 +#: SelectCreditItems.php:1067 SelectOrderItems.php:1860 #: Z_ImportPartCodes.php:29 msgid "Part Code" msgstr "" @@ -24636,68 +24636,68 @@ msgid "Enter Delivery Details and Confirm Order" msgstr "" -#: SelectOrderItems.php:1651 SelectOrderItems.php:1720 -#: SelectOrderItems.php:1843 +#: SelectOrderItems.php:1650 SelectOrderItems.php:1719 +#: SelectOrderItems.php:1842 msgid "Add to Sales Order" msgstr "" -#: SelectOrderItems.php:1656 SelectOrderItems.php:1657 +#: SelectOrderItems.php:1655 SelectOrderItems.php:1656 msgid "Search for Order Items" msgstr "" -#: SelectOrderItems.php:1704 +#: SelectOrderItems.php:1703 msgid "Fixed Asset Disposal" msgstr "" -#: SelectOrderItems.php:1854 +#: SelectOrderItems.php:1853 msgid "Use this screen for the " msgstr "" -#: SelectOrderItems.php:1854 +#: SelectOrderItems.php:1853 msgid " of products to be ordered" msgstr "" -#: SelectOrderItems.php:1871 +#: SelectOrderItems.php:1870 msgid "Enter the customer purchase order reference" msgstr "" -#: SelectOrderItems.php:1873 +#: SelectOrderItems.php:1872 msgid "Enter the item code ordered" msgstr "" -#: SelectOrderItems.php:1874 +#: SelectOrderItems.php:1873 msgid "Enter the quantity of the item ordered by the customer" msgstr "" -#: SelectOrderItems.php:1876 +#: SelectOrderItems.php:1875 msgid "Enter the date that the customer requires delivery by" msgstr "" -#: SelectOrderItems.php:1889 +#: SelectOrderItems.php:1888 msgid "Use this screen to select an asset to dispose of to this customer" msgstr "" -#: SelectOrderItems.php:1896 +#: SelectOrderItems.php:1895 msgid "Enter the customer's purchase order reference" msgstr "" -#: SelectOrderItems.php:1900 +#: SelectOrderItems.php:1899 msgid "Asset to Dispose Of" msgstr "" -#: SelectOrderItems.php:1903 +#: SelectOrderItems.php:1902 msgid "Select Asset To Dispose of From the List Below" msgstr "" -#: SelectOrderItems.php:1912 +#: SelectOrderItems.php:1911 msgid "Add Asset To Order" msgstr "" -#: SelectOrderItems.php:1926 +#: SelectOrderItems.php:1925 msgid "Cancel Whole Order" msgstr "" -#: SelectOrderItems.php:1926 +#: SelectOrderItems.php:1925 msgid "Are you sure you wish to cancel this entire order?" msgstr "" @@ -24786,7 +24786,7 @@ msgstr "" #: SelectProduct.php:331 StockLocStatus.php:173 StockQuantityByDate.php:109 -#: StockReorderLevel.php:55 StockSerialItems.php:108 StockSerialItems.php:111 +#: StockReorderLevel.php:57 StockSerialItems.php:108 StockSerialItems.php:111 #: StockSerialItems.php:114 StockSerialItems.php:119 StockSerialItems.php:123 #: StockSerialItems.php:127 StockStatus.php:93 msgid "Quantity On Hand" @@ -24825,7 +24825,7 @@ msgstr "" #: SelectProduct.php:403 StockAdjustments.php:512 StockCostUpdate.php:196 -#: StockMovements.php:206 StockReorderLevel.php:113 StockTransfers.php:577 +#: StockMovements.php:206 StockReorderLevel.php:110 StockTransfers.php:577 #: StockUsage.php:93 msgid "Show Stock Usage" msgstr "" @@ -25946,9 +25946,9 @@ msgid "Enter the raw html without any line breaks" msgstr "" -#: ShopParameters.php:254 ../webSHOP/Checkout.php:196 +#: ShopParameters.php:254 ../webSHOP/Checkout.php:198 #: ../webSHOP/CreditCardPayFlowPro.php:199 -#: ../webSHOP/CreditCardPayPalPro.php:205 ../webSHOP/index.php:14 +#: ../webSHOP/CreditCardPayPalPro.php:206 ../webSHOP/index.php:14 #: ../webSHOP/ItemDetails.php:22 ../webSHOP/Register.php:482 #: ../webSHOP/includes/footer.php:6 ../webSHOP/includes/InfoLinks.php:6 msgid "Terms and Conditions" @@ -25960,11 +25960,11 @@ "conditions associated with sales from the web-shop" msgstr "" -#: ShopParameters.php:260 ../webSHOP/Checkout.php:200 +#: ShopParameters.php:260 ../webSHOP/Checkout.php:202 #: ../webSHOP/CreditCardPayFlowPro.php:203 -#: ../webSHOP/CreditCardPayPalPro.php:209 ../webSHOP/index.php:18 +#: ../webSHOP/CreditCardPayPalPro.php:210 ../webSHOP/index.php:18 #: ../webSHOP/ItemDetails.php:26 ../webSHOP/Register.php:486 -#: ../webSHOP/includes/footer.php:7 ../webSHOP/includes/InfoLinks.php:18 +#: ../webSHOP/includes/footer.php:9 ../webSHOP/includes/InfoLinks.php:18 msgid "About Us" msgstr "" @@ -25974,8 +25974,7 @@ "us to users of the web-store." msgstr "" -#: ShopParameters.php:265 ../webSHOP/includes/footer.php:9 -#: ../webSHOP/includes/header.php:210 +#: ShopParameters.php:265 ../webSHOP/includes/footer.php:10 msgid "Contact Us" msgstr "" @@ -25985,7 +25984,9 @@ "information to users of the web-store." msgstr "" -#: ShopParameters.php:271 +#: ShopParameters.php:271 ../webSHOP/Checkout.php:214 ../webSHOP/index.php:26 +#: ../webSHOP/ItemDetails.php:34 ../webSHOP/Register.php:498 +#: ../webSHOP/includes/footer.php:8 ../webSHOP/includes/InfoLinks.php:14 msgid "Freight Policy" msgstr "" @@ -26655,7 +26656,7 @@ msgid "Check Part" msgstr "" -#: StockAdjustments.php:423 StockReorderLevel.php:50 StockTransfers.php:491 +#: StockAdjustments.php:423 StockReorderLevel.php:52 StockTransfers.php:491 msgid "In Units of" msgstr "" @@ -27399,7 +27400,7 @@ msgid "Only items currently on order" msgstr "" -#: StockLocStatus.php:163 StockReorderLevel.php:40 StockStatus.php:77 +#: StockLocStatus.php:163 StockReorderLevel.php:42 StockStatus.php:77 msgid "The stock held at each location cannot be retrieved because" msgstr "" @@ -27413,7 +27414,7 @@ msgid "Bin Loc" msgstr "رقم القطاع" -#: StockLocStatus.php:175 StockReorderLevel.php:56 StockStatus.php:94 +#: StockLocStatus.php:175 StockReorderLevel.php:58 StockStatus.php:94 msgid "Re-Order Level" msgstr "" @@ -27816,10 +27817,22 @@ msgid "Stock Re-Order Level Maintenance" msgstr "" -#: StockReorderLevel.php:47 +#: StockReorderLevel.php:49 +#, fuzzy +msgid "" +"The stock id should not contains illegal characters and blank or percentage " +"mark is not allowed" +msgstr "لا يمكن ان يحتوى اسم العضوية على الحرف" + +#: StockReorderLevel.php:49 msgid "Show Re-Order Levels" msgstr "" +#: StockReorderLevel.php:89 +#, php-format +msgid "Input safety stock quantity" +msgstr "" + #: StockSerialItemResearch.php:5 msgid "Serial Item Research" msgstr "" @@ -27925,7 +27938,7 @@ #: SupplierTenders.php:331 includes/InputSerialItems.php:122 #: includes/InputSerialItems.php:129 includes/OutputSerialItems.php:39 #: includes/OutputSerialItems.php:44 ../webSHOP/CreditCardPayFlowPro.php:245 -#: ../webSHOP/CreditCardPayPalPro.php:310 +#: ../webSHOP/CreditCardPayPalPro.php:311 msgid "Expiry Date" msgstr "" @@ -27938,555 +27951,561 @@ msgid "Total quantity" msgstr "" -#: Stocks.php:117 Z_ImportStocks.php:104 +#: Stocks.php:84 msgid "" +"No tmp directory set. You must have a tmp directory set in your PHP for " +"upload of files. " +msgstr "" + +#: Stocks.php:120 Z_ImportStocks.php:104 +msgid "" "The stock item description must be entered and be fifty characters or less " "long" msgstr "" -#: Stocks.php:117 Z_ImportStocks.php:104 +#: Stocks.php:120 Z_ImportStocks.php:104 msgid "It cannot be a zero length string either" msgstr "" -#: Stocks.php:117 Z_ImportStocks.php:104 +#: Stocks.php:120 Z_ImportStocks.php:104 msgid "a description is required" msgstr "" -#: Stocks.php:123 Z_ImportStocks.php:108 +#: Stocks.php:126 Z_ImportStocks.php:108 msgid "The stock item description cannot be a zero length string" msgstr "" -#: Stocks.php:123 Z_ImportStocks.php:108 +#: Stocks.php:126 Z_ImportStocks.php:108 msgid "a long description is required" msgstr "" -#: Stocks.php:129 Z_ImportStocks.php:112 +#: Stocks.php:132 Z_ImportStocks.php:112 msgid "The Stock Item code cannot be empty" msgstr "" -#: Stocks.php:135 Z_ImportStocks.php:116 +#: Stocks.php:138 Z_ImportStocks.php:116 msgid "The stock item code cannot contain any of the following characters" msgstr "" -#: Stocks.php:142 Z_ImportStocks.php:121 +#: Stocks.php:145 Z_ImportStocks.php:121 msgid "The unit of measure must be 20 characters or less long" msgstr "" -#: Stocks.php:154 Z_ImportStocks.php:133 +#: Stocks.php:157 Z_ImportStocks.php:133 msgid "The volume of the packaged item in cubic metres must be numeric" msgstr "" -#: Stocks.php:160 Z_ImportStocks.php:137 +#: Stocks.php:163 Z_ImportStocks.php:137 msgid "The volume of the packaged item must be a positive number" msgstr "" -#: Stocks.php:166 +#: Stocks.php:169 msgid "The weight of the packaged item in Gross Weight must be numeric" msgstr "" -#: Stocks.php:172 Z_ImportStocks.php:145 +#: Stocks.php:175 Z_ImportStocks.php:145 msgid "The weight of the packaged item must be a positive number" msgstr "" -#: Stocks.php:178 +#: Stocks.php:181 #, fuzzy msgid "The net weight of the item in Net Weight must be numeric" msgstr "يجب ان يكون القسم فى الحساب عدد صحيح" -#: Stocks.php:184 +#: Stocks.php:187 #, fuzzy msgid "The net weight of the item must be a positive number" msgstr "قسم الرقم يجب ان يكون عدد صحيح" -#: Stocks.php:190 Z_ImportStocks.php:149 +#: Stocks.php:193 Z_ImportStocks.php:149 msgid "The economic order quantity must be numeric" msgstr "" -#: Stocks.php:196 Z_ImportStocks.php:153 +#: Stocks.php:199 Z_ImportStocks.php:153 msgid "The economic order quantity must be a positive number" msgstr "" -#: Stocks.php:202 Z_ImportStocks.php:157 +#: Stocks.php:205 Z_ImportStocks.php:157 msgid "The item can only be serialised if there is lot control enabled already" msgstr "" -#: Stocks.php:202 Z_ImportStocks.php:157 +#: Stocks.php:205 Z_ImportStocks.php:157 msgid "Batch control" msgstr "" -#: Stocks.php:202 Z_ImportStocks.php:157 +#: Stocks.php:205 Z_ImportStocks.php:157 msgid "" "with any number of items in a lot/bundle/roll is enabled when controlled is " "enabled" msgstr "" -#: Stocks.php:202 Z_ImportStocks.php:157 +#: Stocks.php:205 Z_ImportStocks.php:157 msgid "Serialised control requires that only one item is in the batch" msgstr "" -#: Stocks.php:202 Z_ImportStocks.php:157 +#: Stocks.php:205 Z_ImportStocks.php:157 msgid "For serialised control" msgstr "" -#: Stocks.php:202 Z_ImportStocks.php:157 +#: Stocks.php:205 Z_ImportStocks.php:157 msgid "both controlled and serialised must be enabled" msgstr "" -#: Stocks.php:208 +#: Stocks.php:211 msgid "" "The item can only have automatically generated serial numbers if it is a " "serialised item" msgstr "" -#: Stocks.php:214 +#: Stocks.php:217 msgid "" "The item can only have automatically generated serial numbers if it is a " "manufactured item" msgstr "" -#: Stocks.php:225 +#: Stocks.php:228 msgid "" "Assembly/Kitset/Phantom/Service/Labour items cannot also be controlled items" msgstr "" -#: Stocks.php:225 +#: Stocks.php:228 msgid "" "Assemblies/Dummies/Phantom and Kitsets are not physical items and batch/" "serial control is therefore not appropriate" msgstr "" -#: Stocks.php:231 Z_ImportStocks.php:171 +#: Stocks.php:234 Z_ImportStocks.php:171 msgid "" "There are no inventory categories defined. All inventory items must belong " "to a valid inventory category," msgstr "" -#: Stocks.php:237 +#: Stocks.php:240 msgid "Pansize quantity must be numeric" msgstr "" -#: Stocks.php:243 +#: Stocks.php:246 msgid "Shrinkage factor quantity must be numeric" msgstr "" -#: Stocks.php:300 Stocks.php:305 +#: Stocks.php:303 Stocks.php:308 msgid "The make or buy flag cannot be changed from" msgstr "" -#: Stocks.php:300 +#: Stocks.php:303 msgid "where there is a quanti... [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 "" "Project-Id-Version: PACKAGE 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: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -3992,7 +3992,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 "" @@ -34406,7 +34406,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 "" @@ -34624,6 +34624,30 @@ 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 +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/en_US.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/en_US.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/en_US.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/en_US.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: WebERP 4.10.1\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-11 10:48-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: WebERP Translation Team <web-erp-translation@lists." @@ -4244,7 +4244,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 "" @@ -37893,7 +37893,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 "" @@ -38118,6 +38118,34 @@ 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 "The Shipping cost record could not be updated because" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +msgid "Updated sales analysis for customer code" +msgstr "" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Territory code" + +#: 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/es_ES.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: WebERP 4.081\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-12 18:32-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: TecnoSoluciones.com <web...@te...>\n" @@ -4367,7 +4367,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 "porque" @@ -40040,7 +40040,7 @@ msgid "Could not recalculate the current cost of the assembly item" msgstr "No se pudo recalcular el costo actual del artículo ensamblado" -#: Z_ReApplyCostToSA.php:75 +#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40 msgid "Could not update the sales analysis records for" msgstr "No se pudo actualizar los registros de análisis de ventas para" @@ -40271,6 +40271,37 @@ msgid "Please re-select the reporting period" msgstr "Vuelva a seleccionar el período" +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6 +#, fuzzy +msgid "Apply Current Customer and Branch data to Sales Analysis" +msgstr "Aplicar Costo Corriente al Análisis de Ventas" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14 +#, fuzzy +msgid "Update Sales Analysis Customer Data" +msgstr "Actualizar el Analisis de Costo de Venta" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29 +#, fuzzy +msgid "Could not retrieve the customer records to be updated because" +msgstr "No se pudieron obtener los registros de análisis de ventas porque" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "Updated sales analysis for customer code" +msgstr "Se actualizó el análisis de ventas para el período" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Código de sucursal" + +#: 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 "Actualizar WebERP 3.01 - 3.02" Modified: trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: 4.0.8\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:24-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: Estonian <kal...@ee...>\n" @@ -4264,7 +4264,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 "" @@ -37345,7 +37345,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 "" @@ -37567,6 +37567,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 "Ei leidnud emadetaili kirjeldust, kuna" + +#: 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/fa_IR.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/fa_IR.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Persian & rtl support\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:25-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: Persian <hos...@io...>\n" @@ -4324,7 +4324,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 "زیرا" @@ -40447,7 +40447,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 #, fuzzy msgid "Could not update the sales analysis records for" msgstr "بروز رسانی می تواند دسته ای / پرونده سهام سریال نیست" @@ -40706,6 +40706,36 @@ msgid "Please re-select the reporting period" msgstr "لطفا reselect دوره گزارش" +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6 +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 "" Modified: trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/fr_CA.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: WebERP 4.10.1\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:55-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: french <none>\n" @@ -4347,7 +4347,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 "car" @@ -40222,7 +40222,7 @@ msgid "Could not recalculate the current cost of the assembly item" msgstr "Impossible de recalculer le coût actuel de l'élément de montage" -#: Z_ReApplyCostToSA.php:75 +#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40 msgid "Could not update the sales analysis records for" msgstr "Impossible de mettre à jour les dossiers d'analyse des ventes pour" @@ -40452,6 +40452,39 @@ msgid "Please re-select the reporting period" msgstr "S'il vous plaît re-sélectionner la période de déclaration" +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6 +#, fuzzy +msgid "Apply Current Customer and Branch data to Sales Analysis" +msgstr "Appliquer le coût actuel d'analyse des ventes" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14 +#, fuzzy +msgid "Update Sales Analysis Customer Data" +msgstr "Les coûts de mise à jour d'analyse des ventes" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29 +#, fuzzy +msgid "Could not retrieve the customer records to be updated because" +msgstr "" +"Impossible de récupérer les dossiers d'analyse des ventes à être mis à jour " +"en raison" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "Updated sales analysis for customer code" +msgstr "Mise à jour l'analyse des ventes pour la période" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Code Magasin" + +#: 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 "Mise à jour webERP 3,01 à 3,02" Modified: trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: weberp 3.12\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:54-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: French <none>\n" @@ -4425,7 +4425,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 "car" @@ -40768,7 +40768,7 @@ msgid "Could not recalculate the current cost of the assembly item" msgstr "Impossible de recalculer le coût actuel de l'élément de montage" -#: Z_ReApplyCostToSA.php:75 +#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40 msgid "Could not update the sales analysis records for" msgstr "Impossible de mettre à jour les dossiers d'analyse des ventes pour" @@ -40998,6 +40998,39 @@ msgid "Please re-select the reporting period" msgstr "S'il vous plaît re-sélectionner la période de déclaration" +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6 +#, fuzzy +msgid "Apply Current Customer and Branch data to Sales Analysis" +msgstr "Appliquer le coût actuel aux analyses des ventes" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14 +#, fuzzy +msgid "Update Sales Analysis Customer Data" +msgstr "Les coûts de mise à jour d'analyse des ventes" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29 +#, fuzzy +msgid "Could not retrieve the customer records to be updated because" +msgstr "" +"Impossible de récupérer les dossiers d'analyse des ventes à être mis à jour " +"en raison" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "Updated sales analysis for customer code" +msgstr "Mise à jour l'analyse des ventes pour la période" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Code succursale" + +#: 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 "Mise à jour webERP 3,01 à 3,02" Modified: trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo =================================================================== --- trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo 2013-09-06 10:24:12 UTC (rev 6329) @@ -2535,7 +2535,7 @@ -+ Modified: trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/hi_IN.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:29-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: Swahili <sw...@li...>\n" @@ -4310,7 +4310,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 "क्योंकि" @@ -39031,7 +39031,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 "अद्यतन करने के लिए नहीं किया जा सका बिक्री विश्लेषण रिकॉर्ड" @@ -39253,6 +39253,38 @@ 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 "3.01 webERP अपग्रेड - 3.02" Modified: trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: 3.12\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:29-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: Miroslav Mazurek <mma...@sf...>\n" @@ -4228,7 +4228,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 "" @@ -37433,7 +37433,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 "" @@ -37655,6 +37655,35 @@ 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 +#, fuzzy +msgid "Update Sales Analysis Customer Data" +msgstr "Izvješće o analizi prodaje" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29 +#, fuzzy +msgid "Could not retrieve the customer records to be updated because" +msgstr "Podaci o prodaji nisu dohvaćeni zbog" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +msgid "Updated sales analysis for customer code" +msgstr "" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Šifra podružnice" + +#: 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/hu_HU.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/hu_HU.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:31-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: HUNGARIAN <LL...@li...>\n" @@ -4298,7 +4298,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 "mert" @@ -39323,7 +39323,7 @@ msgid "Could not recalculate the current cost of the assembly item" msgstr "Nem lehet újraszámolni a jelenlegi érték az egység elem" -#: Z_ReApplyCostToSA.php:75 +#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40 msgid "Could not update the sales analysis records for" msgstr "Nem sikerült frissíteni az értékesítési elemzés nyilvántartást" @@ -39550,6 +39550,38 @@ msgid "Please re-select the reporting period" msgstr "Kérjük, válasszon újra a jelentési időszak" +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6 +#, fuzzy +msgid "Apply Current Customer and Branch data to Sales Analysis" +msgstr "Alkalmazni Jelenlegi költség az értékesítési elemzés" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14 +#, fuzzy +msgid "Update Sales Analysis Customer Data" +msgstr "Update Értékesítés elemzés költségei" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29 +#, fuzzy +msgid "Could not retrieve the customer records to be updated because" +msgstr "" +"Nem lehet letölteni az értékesítési elemzés rekordokat frissíteni kell, mert" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "Updated sales analysis for customer code" +msgstr "Frissítve értékesítési elemzés időszakra" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Telephely kód" + +#: 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-3,02" Modified: trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: weberp\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:32-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: www.baliboss.com <op...@ba...>\n" @@ -4298,7 +4298,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 "karena" @@ -38745,7 +38745,7 @@ msgid "Could not recalculate the current cost of the assembly item" msgstr "Tdk dapat menghitung-ulg HPP saat ini utk item rakitan" -#: Z_ReApplyCostToSA.php:75 +#: Z_ReApplyCostToSA.php:75 Z_UpdateSalesAnalysisWithLatestCustomerData.php:40 msgid "Could not update the sales analysis records for" msgstr "Tdk dapat memperbarui data analisa penjualan utk" @@ -38969,6 +38969,37 @@ msgid "Please re-select the reporting period" msgstr "Silahkan pilih-ulg periode laporan" +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:6 +#, fuzzy +msgid "Apply Current Customer and Branch data to Sales Analysis" +msgstr "Gunakan HPP Saat-Ini ke Analisa Penjualan" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:14 +#, fuzzy +msgid "Update Sales Analysis Customer Data" +msgstr "Perbarui HPP Analisa Penjualan" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:29 +#, fuzzy +msgid "Could not retrieve the customer records to be updated because" +msgstr "Tdk dapat mengambil data analisa penjualan utk diperbarui karena" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "Updated sales analysis for customer code" +msgstr "Telah memperbarui analisa penjualan utk periode" + +#: Z_UpdateSalesAnalysisWithLatestCustomerData.php:43 +#, fuzzy +msgid "and branch code" +msgstr "Kode Cabang" + +#: 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 - 3.02" Modified: trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po 2013-09-06 08:45:56 UTC (rev 6328) +++ trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po 2013-09-06 10:24:12 UTC (rev 6329) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Weberp\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:33-0600\n" "Last-Translator: Rafael Chacon <raf...@gm...>\n" "Language-Team: italian <none>\n" @@ -4411,7 +4411,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 "perchè" @@ -405... [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.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. 11/3/12 Vitaly: Added missing file encodings_maps.php to TCPDF 11/3/12 Dr. Magdy Salib - ar_EG.utf8 arabic translation started 11/3/12 James Dupin: French language translation update 8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php -7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro -7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro +7/3/12 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro +7/3/12 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro 6/3/12 Exson: Rule out 'Pending' status PO from On Order Quantity in ReorderLevel.php Suggested by Brian May 6/3/12 Exson: Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie 03/06/12 Exson: add condition to prevent blank stock category description in StockCategories.php @@ -408,9 +410,9 @@ 3/3/12 Phil: SelectProduct.php checked for existence of part pic before displaying a link that could potnetially fail 29/2/12 Phil: Changed all htmlentities calls to htmlspecialchars calls 28/2/12 Tim: Added functionality that allows for the set up of internal departments, and for the request of stock to be issued - a new issue account is defined in stockcategories. Issue requests must be authorised by a department manager and then issues fulfilled creates a stock adjustment with posting in the gl to the item category issue account. -28/02/2012 Vitaly: Added DB_escape_string() to narrative in SQL INSERT statements. Fixes a problem posting to database when the string contains quotes. -26/02/2012 Exson: Fixed bug that when set frequently sold items, there are sql errors which claimed that no group set for sum() function. -26/02/2012 Exson: PO_Items.php Add $_SESSION and $_POST variables to fixed extra lines added while page refreshing or push F5. Reported by CQZ and Ke from webERP Chinese forum QQ group. +28/02/12 Vitaly: Added DB_escape_string() to narrative in SQL INSERT statements. Fixes a problem posting to database when the string contains quotes. +26/02/12 Exson: Fixed bug that when set frequently sold items, there are sql errors which claimed that no group set for sum() function. +26/02/12 Exson: PO_Items.php Add $_SESSION and $_POST variables to fixed extra lines added while page refreshing or push F5. Reported by CQZ and Ke from webERP Chinese forum QQ group. 25/2/12 Vitaly: sql in PDFSuppTransListing.php would not fetch any data and debug message was not showing. Missing FROM in upgrade4.07-4.08.sql. 25/2/12 James Dupin: Remove extra ) after Create GL entries for stock transactions in CompanyPreferences.php Modified: trunk/javascripts/MiscFunctions.js =================================================================== --- trunk/javascripts/MiscFunctions.js 2013-09-06 22:41:12 UTC (rev 6333) +++ trunk/javascripts/MiscFunctions.js 2013-09-07 07:26:30 UTC (rev 6334) @@ -319,22 +319,20 @@ ds[i].onclick=clickDate; ds[i].onchange=changeDate; } + if(ds[i].getAttribute("data-type") == 'code') ds[i].pattern="(?!^ +$)[^?\'\"+.&\\><]*"; if (ds[i].className=="number") ds[i].onkeypress=rTN; if (ds[i].className=="integer") ds[i].onkeypress=rTI; if (ds[i].className=="number"){ 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();}; } + + } - var ds=document.getElementsByTagName("th"); - + var ds=document.getElementsByTagName("th"); for (i=0;i<ds.length;i++){ if (ds[i].className=="ascending"){ ds[i].onclick=SortSelect; |
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 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. 11/3/12 Vitaly: Added missing file encodings_maps.php to TCPDF 11/3/12 Dr. Magdy Salib - ar_EG.utf8 arabic translation started 11/3/12 James Dupin: French language translation update 8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php -7/3/12 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro -7/3/12 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro +7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro +7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro 6/3/12 Exson: Rule out 'Pending' status PO from On Order Quantity in ReorderLevel.php Suggested by Brian May 6/3/12 Exson: Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie 03/06/12 Exson: add condition to prevent blank stock category description in StockCategories.php @@ -410,9 +410,9 @@ 3/3/12 Phil: SelectProduct.php checked for existence of part pic before displaying a link that could potnetially fail 29/2/12 Phil: Changed all htmlentities calls to htmlspecialchars calls 28/2/12 Tim: Added functionality that allows for the set up of internal departments, and for the request of stock to be issued - a new issue account is defined in stockcategories. Issue requests must be authorised by a department manager and then issues fulfilled creates a stock adjustment with posting in the gl to the item category issue account. -28/02/12 Vitaly: Added DB_escape_string() to narrative in SQL INSERT statements. Fixes a problem posting to database when the string contains quotes. -26/02/12 Exson: Fixed bug that when set frequently sold items, there are sql errors which claimed that no group set for sum() function. -26/02/12 Exson: PO_Items.php Add $_SESSION and $_POST variables to fixed extra lines added while page refreshing or push F5. Reported by CQZ and Ke from webERP Chinese forum QQ group. +28/02/2012 Vitaly: Added DB_escape_string() to narrative in SQL INSERT statements. Fixes a problem posting to database when the string contains quotes. +26/02/2012 Exson: Fixed bug that when set frequently sold items, there are sql errors which claimed that no group set for sum() function. +26/02/2012 Exson: PO_Items.php Add $_SESSION and $_POST variables to fixed extra lines added while page refreshing or push F5. Reported by CQZ and Ke from webERP Chinese forum QQ group. 25/2/12 Vitaly: sql in PDFSuppTransListing.php would not fetch any data and debug message was not showing. Missing FROM in upgrade4.07-4.08.sql. 25/2/12 James Dupin: Remove extra ) after Create GL entries for stock transactions in CompanyPreferences.php Modified: trunk/javascripts/MiscFunctions.js =================================================================== --- trunk/javascripts/MiscFunctions.js 2013-09-07 07:26:30 UTC (rev 6334) +++ trunk/javascripts/MiscFunctions.js 2013-09-07 08:13:53 UTC (rev 6335) @@ -319,20 +319,23 @@ ds[i].onclick=clickDate; ds[i].onchange=changeDate; } - if(ds[i].getAttribute("data-type") == 'code') ds[i].pattern="(?!^ +$)[^?\'\"+.&\\><]*"; + if(ds[i].getAttribute("data-type") == 'no-illegal-chars') ds[i].pattern="(?!^ +$)[^?\'\"+.&\\><]*"; if (ds[i].className=="number") ds[i].onkeypress=rTN; if (ds[i].className=="integer") ds[i].onkeypress=rTI; if (ds[i].className=="number"){ 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(); + }; } - - } - var ds=document.getElementsByTagName("th"); + var ds=document.getElementsByTagName("th"); + for (i=0;i<ds.length;i++){ if (ds[i].className=="ascending"){ ds[i].onclick=SortSelect; |
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 decrease (negative)') . '</td> + <td><input type="text" name="IncreasePercent" class="number" size="4" maxlength="4" value="' . $_POST['IncreasePercent'] . '" /></td></tr></table>'; echo '<br /><div class="centre"><input type="submit" name="UpdatePrices" value="' . _('Update Prices') . '" onclick="return confirm(\'' . _('Are you sure you wish to update or add all the prices according to the criteria selected?') . '\');" /></div>'; @@ -358,4 +362,4 @@ } } include('includes/footer.inc'); -?> \ No newline at end of file +?> Modified: trunk/PurchData.php =================================================================== --- trunk/PurchData.php 2013-09-13 00:58:50 UTC (rev 6337) +++ trunk/PurchData.php 2013-09-28 05:10:46 UTC (rev 6338) @@ -382,7 +382,7 @@ <td><input type="text" name="Keywords" size="20" maxlength="25" /></td> <td><b>' . _('OR') . '</b></td> <td>' . _('Text in Supplier') . ' <b>' . _('CODE') . '</b>:</td> - <td><input type="text" name="SupplierCode" pattern="[0-9a-zA-Z_\-]*" size="20" maxlength="50" /></td> + <td><input type="text" name="SupplierCode" data-type="no-illegal-chars" size="20" maxlength="50" /></td> </tr> </table> <br /> Added: trunk/PurchaseByPrefSupplier.php =================================================================== --- trunk/PurchaseByPrefSupplier.php (rev 0) +++ trunk/PurchaseByPrefSupplier.php 2013-09-28 05:10:46 UTC (rev 6338) @@ -0,0 +1,575 @@ +<?php + +/* $Id: PrefSupplierOrdering.php 5785 2012-12-29 04:47:42Z daintree $ */ + +include('includes/session.inc'); +$Title=_('Preferred Supplier Purchasing'); +include('includes/header.inc'); + +if (isset($_POST['CreatePO']) AND isset($_POST['Supplier'])){ + include('includes/SQL_CommonFunctions.inc'); + $InputError =0; //Always hope for the best + + //Make an array of the Items to purchase + $PurchItems = array(); + $OrderValue =0; + foreach ($_POST as $FormVariable => $Quantity) { + if (mb_strpos($FormVariable,'OrderQty')!==false) { + if ($Quantity > 0) { + $StockID = $_POST['StockID' . mb_substr($FormVariable,8)]; + $PurchItems[$StockID]['Quantity'] = filter_number_format($Quantity); + + $sql = "SELECT description, + units, + stockact + FROM stockmaster INNER JOIN stockcategory + ON stockcategory.categoryid = stockmaster.categoryid + WHERE stockmaster.stockid = '". $StockID . "'"; + + $ErrMsg = _('The item details for') . ' ' . $StockID . ' ' . _('could not be retrieved because'); + $DbgMsg = _('The SQL used to retrieve the item details but failed was'); + $ItemResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); + if (DB_num_rows($ItemResult)==1){ + $ItemRow = DB_fetch_array($ItemResult); + + $sql = "SELECT price, + conversionfactor, + supplierdescription, + suppliersuom, + suppliers_partno, + leadtime, + MAX(purchdata.effectivefrom) AS latesteffectivefrom + FROM purchdata + WHERE purchdata.supplierno = '" . $_POST['Supplier'] . "' + AND purchdata.effectivefrom <='" . Date('Y-m-d') . "' + AND purchdata.stockid = '". $StockID . "' + GROUP BY purchdata.price, + purchdata.conversionfactor, + purchdata.supplierdescription, + purchdata.suppliersuom, + purchdata.suppliers_partno, + purchdata.leadtime + ORDER BY latesteffectivefrom DESC"; + + $ErrMsg = _('The purchasing data for') . ' ' . $StockID . ' ' . _('could not be retrieved because'); + $DbgMsg = _('The SQL used to retrieve the purchasing data but failed was'); + $PurchDataResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); + if (DB_num_rows($PurchDataResult)>0){ //the purchasing data is set up + $PurchRow = DB_fetch_array($PurchDataResult); + + /* Now to get the applicable discounts */ + $sql = "SELECT discountpercent, + discountamount + FROM supplierdiscounts + WHERE supplierno= '" . $_POST['Supplier'] . "' + AND effectivefrom <='" . Date('Y-m-d') . "' + AND (effectiveto >='" . Date('Y-m-d') . "' + OR effectiveto ='0000-00-00') + AND stockid = '". $StockID . "'"; + + $ItemDiscountPercent = 0; + $ItemDiscountAmount = 0; + $ErrMsg = _('Could not retrieve the supplier discounts applicable to the item'); + $DbgMsg = _('The SQL used to retrive the supplier discounts that failed was'); + $DiscountResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); + while ($DiscountRow = DB_fetch_array($DiscountResult)) { + $ItemDiscountPercent += $DiscountRow['discountpercent']; + $ItemDiscountAmount += $DiscountRow['discountamount']; + } + if ($ItemDiscountPercent != 0) { + prnMsg(_('Taken accumulated supplier percentage discounts of') . ' ' . locale_number_format($ItemDiscountPercent*100,2) . '%','info'); + } + $PurchItems[$StockID]['Price'] = ($PurchRow['price']*(1-$ItemDiscountPercent) - $ItemDiscountAmount)/$PurchRow['conversionfactor']; + $PurchItems[$StockID]['ConversionFactor'] = $PurchRow['conversionfactor']; + $PurchItems[$StockID]['GLCode'] = $ItemRow['stockact']; + + $PurchItems[$StockID]['SupplierDescription'] = $PurchRow['suppliers_partno'] .' - '; + if (mb_strlen($PurchRow['supplierdescription'])>2){ + $PurchItems[$StockID]['SupplierDescription'] .= $PurchRow['supplierdescription']; + } else { + $PurchItems[$StockID]['SupplierDescription'] .= $ItemRow['description']; + } + $PurchItems[$StockID]['UnitOfMeasure'] = $PurchRow['suppliersuom']; + $PurchItems[$StockID]['SuppliersPartNo'] = $PurchRow['suppliers_partno']; + $LeadTime = $PurchRow['leadtime']; + /* Work out the delivery date based on today + lead time */ + $PurchItems[$StockID]['DeliveryDate'] = DateAdd(Date($_SESSION['DefaultDateFormat']),'d',$LeadTime); + } else { // no purchasing data setup + $PurchItems[$StockID]['Price'] = 0; + $PurchItems[$StockID]['ConversionFactor'] = 1; + $PurchItems[$StockID]['SupplierDescription'] = $ItemRow['description']; + $PurchItems[$StockID]['UnitOfMeasure'] = $ItemRow['units']; + $PurchItems[$StockID]['SuppliersPartNo'] = 'each'; + $LeadTime = 1; + $PurchItems[$StockID]['DeliveryDate'] = Date($_SESSION['DefaultDateFormat']); + } + $OrderValue += $PurchItems[$StockID]['Quantity']*$PurchItems[$StockID]['Price']; + } else { //item could not be found + $InputError =1; + prnmsg(_('An item where a quantity was entered could not be retrieved from the database. The order cannot proceed. The item code was:') . ' ' . $StockID,'error'); + } + } //end if the quantity entered into the form is positive + } //end if the form variable name is OrderQtyXXX + }//end loop around the form variables + + if ($InputError==0) { //only if all continues smoothly + + $sql = "SELECT suppliers.suppname, + suppliers.currcode, + currencies.decimalplaces, + currencies.rate, + suppliers.paymentterms, + suppliers.address1, + suppliers.address2, + suppliers.address3, + suppliers.address4, + suppliers.address5, + suppliers.address6, + suppliers.telephone + FROM suppliers INNER JOIN currencies + ON suppliers.currcode=currencies.currabrev + WHERE supplierid='" . $_POST['Supplier'] . "'"; + $SupplierResult = DB_query($sql, $db); + $SupplierRow = DB_fetch_array($SupplierResult); + + $sql = "SELECT deladd1, + deladd2, + deladd3, + deladd4, + deladd5, + deladd6, + tel, + contact + FROM locations + WHERE loccode='" . $_SESSION['UserStockLocation'] . "'"; + $LocnAddrResult = DB_query($sql, $db); + if (DB_num_rows($LocnAddrResult) == 1) { + $LocnRow = DB_fetch_array($LocnAddrResult); + } else { + prnMsg(_('Your default inventory location is set to a non-existant inventory location. This purchase order cannot proceed'), 'error'); + $InputError =1; + } + if (IsEmailAddress($_SESSION['UserEmail'])){ + $UserDetails = ' <a href="mailto:' . $_SESSION['UserEmail'] . '">' . $_SESSION['UsersRealName']. '</a>'; + } else { + $UserDetails = ' ' . $_SESSION['UsersRealName'] . ' '; + } + if ($_SESSION['AutoAuthorisePO']==1) { + //if the user has authority to authorise the PO then it will automatically be authorised + $AuthSQL ="SELECT authlevel + FROM purchorderauth + WHERE userid='" . $_SESSION['UserID'] . "' + AND currabrev='" . $SupplierRow['currcode'] ."'"; + + $AuthResult=DB_query($AuthSQL,$db); + $AuthRow=DB_fetch_array($AuthResult); + + if (DB_num_rows($AuthResult) > 0 AND $AuthRow['authlevel'] > $OrderValue) { //user has authority to authrorise as well as create the order + $StatusComment=date($_SESSION['DefaultDateFormat']).' - ' . _('Order Created and Authorised by') . $UserDetails; + $AllowPrintPO=1; + $Status = 'Authorised'; + } else { // no authority to authorise this order + if (DB_num_rows($AuthResult) ==0){ + $AuthMessage = _('Your authority to approve purchase orders in') . ' ' . $SupplierRow['currcode'] . ' ' . _('has not yet been set up') . '<br />'; + } else { + $AuthMessage = _('You can only authorise up to') . ' ' . $SupplierRow['currcode'] . ' '.$AuthRow['authlevel'] .'.<br />'; + } + + prnMsg( _('You do not have permission to authorise this purchase order').'.<br />' . _('This order is for') . ' ' . $SupplierRow['currcode'] . ' '. $OrderValue . ' ' . + $AuthMessage . + _('If you think this is a mistake please contact the systems administrator') . '<br />'. + _('The order will be created with a status of pending and will require authorisation'), 'warn'); + + $AllowPrintPO=0; + $StatusComment=date($_SESSION['DefaultDateFormat']).' - ' . _('Order Created by') . ' ' . $UserDetails; + $Status = 'Pending'; + } + } else { //auto authorise is set to off + $AllowPrintPO=0; + $StatusComment=date($_SESSION['DefaultDateFormat']).' - ' . _('Order Created by') . ' ' . $UserDetails; + $Status = 'Pending'; + } + + /*Get the order number */ + $OrderNo = GetNextTransNo(18, $db); + + /*Insert to purchase order header record */ + $sql = "INSERT INTO purchorders ( orderno, + supplierno, + orddate, + rate, + initiator, + intostocklocation, + deladd1, + deladd2, + deladd3, + deladd4, + deladd5, + deladd6, + tel, + suppdeladdress1, + suppdeladdress2, + suppdeladdress3, + suppdeladdress4, + suppdeladdress5, + suppdeladdress6, + supptel, + contact, + revised, + deliveryby, + status, + stat_comment, + deliverydate, + paymentterms, + allowprint) + VALUES( '" . $OrderNo . "', + '" . $_POST['Supplier'] . "', + '" . Date('Y-m-d') . "', + '" . $SupplierRow['rate'] . "', + '" . $_SESSION['UserID'] . "', + '" . $_SESSION['UserStockLocation'] . "', + '" . $LocnRow['deladd1'] . "', + '" . $LocnRow['deladd2'] . "', + '" . $LocnRow['deladd3'] . "', + '" . $LocnRow['deladd4'] . "', + '" . $LocnRow['deladd5'] . "', + '" . $LocnRow['deladd6'] . "', + '" . $LocnRow['tel'] . "', + '" . $SupplierRow['address1'] . "', + '" . $SupplierRow['address2'] . "', + '" . $SupplierRow['address3'] . "', + '" . $SupplierRow['address4'] . "', + '" . $SupplierRow['address5'] . "', + '" . $SupplierRow['address6'] . "', + '" . $SupplierRow['telephone']. "', + '" . $LocnRow['contact'] . "', + '" . Date('Y-m-d') . "', + '" . Date('Y-m-d',mktime(0,0,0,Date('m'),Date('d')+1,Date('Y'))) . "', + '" . $Status . "', + '" . htmlspecialchars($StatusComment,ENT_QUOTES,'UTF-8') . "', + '" . Date('Y-m-d',mktime(0,0,0,Date('m'),Date('d')+1,Date('Y'))) . "', + '" . $SupplierRow['paymentterms'] . "', + '" . $AllowPrintPO . "' )"; + + $ErrMsg = _('The purchase order header record could not be inserted into the database because'); + $DbgMsg = _('The SQL statement used to insert the purchase order header record and failed was'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + + /*Insert the purchase order detail records */ + foreach ($PurchItems as $StockID=>$POLine) { + + //print_r($POLine); + + $sql = "INSERT INTO purchorderdetails (orderno, + itemcode, + deliverydate, + itemdescription, + glcode, + unitprice, + quantityord, + shiptref, + jobref, + suppliersunit, + suppliers_partno, + assetid, + conversionfactor ) + VALUES ('" . $OrderNo . "', + '" . $StockID . "', + '" . FormatDateForSQL($POLine['DeliveryDate']) . "', + '" . DB_escape_string($POLine['SupplierDescription']) . "', + '" . $POLine['GLCode'] . "', + '" . $POLine['Price'] . "', + '" . $POLine['Quantity'] . "', + '0', + '0', + '" . $POLine['UnitOfMeasure'] . "', + '" . $POLine['SuppliersPartNo'] . "', + '0', + '" . $POLine['ConversionFactor'] . "')"; + $ErrMsg =_('One of the purchase order detail records could not be inserted into the database because'); + $DbgMsg =_('The SQL statement used to insert the purchase order detail record and failed was'); + + $result =DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + } /* end of the loop round the detail line items on the order */ + echo '<p />'; + prnMsg(_('Purchase Order') . ' ' . $OrderNo . ' ' . _('has been created.') . ' ' . _('Total order value of') . ': ' . locale_number_format($OrderValue,$SupplierRow['decimalplaces']) . ' ' . $SupplierRow['currcode'] ,'success'); + echo '<br /><a href="' . $RootPath . '/PO_PDFPurchOrder.php?OrderNo=' . $OrderNo . '">' . _('Print Order') . '</a> + <br /><a href="' . $RootPath . '/PO_Header.php?ModifyOrderNumber=' . $OrderNo . '">' . _('Edit Order') . '</a>'; + exit; + } else { + prnMsg(_('Unable to create the order'),'error'); + } +} + + +echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/inventory.png" title="' . _('Search') . '" alt="" />' . ' ' . $Title.'</p><br /> + <form id="SupplierPurchasing" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> + <div> + <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> + <table class="selection"> + <tr> + <td>' . _('For Supplier') . ':</td> + <td><select name="Supplier">'; + +$sql = "SELECT supplierid, suppname FROM suppliers WHERE supptype<>7 ORDER BY suppname"; +$SuppResult=DB_query($sql,$db); + +echo '<option value="">' . _('Not Yet Selected') . '</option>'; + +while ($myrow=DB_fetch_array($SuppResult)){ + if (isset($_POST['Supplier']) AND $_POST['Supplier']==$myrow['supplierid']){ + echo '<option selected="selected" value="' . $myrow['supplierid'] . '">' . $myrow['suppname'] . '</option>'; + } else { + echo '<option value="' . $myrow['supplierid'] . '">' . $myrow['suppname'] . '</option>'; + } +} +echo '</select></td></tr>'; + +/* +echo '<tr> + <td>' . _('Months Buffer Stock to Hold') . ':</td> + <td><select name="NumberMonthsHolding">'; + +if (!isset($_POST['NumberMonthsHolding'])){ + $_POST['NumberMonthsHolding']=1; +} +if ($_POST['NumberMonthsHolding']==0.5){ + echo '<option selected="selected" value="0.5">' . _('Two Weeks') . '</option>'; +} else { + echo '<option value="0.5">' . _('Two Weeks') . '</option>'; +} +if ($_POST['NumberMonthsHolding']==1){ + echo '<option selected="selected" value="1">' . _('One Month') . '</option>'; +} else { + echo '<option selected="selected" value="1">' . _('One Month') . '</option>'; +} +if ($_POST['NumberMonthsHolding']==1.5){ + echo '<option selected="selected" value="1.5">' . _('Six Weeks') . '</option>'; +} else { + echo '<option value="1.5">' . _('Six Weeks') . '</option>'; +} +if ($_POST['NumberMonthsHolding']==2){ + echo '<option selected="selected" value="2">' . _('Two Months') . '</option>'; +} else { + echo '<option value="2">' . _('Two Months') . '</option>'; +} +echo '</select></td> + </tr>'; +*/ +echo '</table> + <br /> + <div class="centre"> + <input type="submit" name="ShowItems" value="' . _('Show Items') . '" /> + </div>'; + +if (isset($_POST['Supplier']) AND isset($_POST['ShowItems']) AND $_POST['Supplier']!=''){ + + $SQL = "SELECT stockmaster.description, + stockmaster.eoq, + stockmaster.decimalplaces, + locstock.stockid, + purchdata.supplierno, + suppliers.suppname, + purchdata.leadtime/30 AS monthsleadtime, + locstock.bin, + SUM(locstock.quantity) AS qoh + FROM locstock, + stockmaster, + purchdata, + suppliers + WHERE locstock.stockid=stockmaster.stockid + AND purchdata.supplierno=suppliers.supplierid + AND (stockmaster.mbflag='B' OR stockmaster.mbflag='M') + AND purchdata.stockid=stockmaster.stockid + AND purchdata.preferred=1 + AND purchdata.supplierno='" . $_POST['Supplier'] . "' + AND locstock.loccode='" . $_SESSION['UserStockLocation'] . "' + GROUP BY + purchdata.supplierno, + stockmaster.description, + stockmaster.eoq, + locstock.stockid + ORDER BY purchdata.supplierno, + stockmaster.stockid"; + + $ItemsResult = DB_query($SQL, $db, '', '', false, false); + $ListCount = DB_num_rows($ItemsResult); + + if (DB_error_no($db) !=0) { + $Title = _('Supplier Ordering') . ' - ' . _('Problem Report') . '....'; + include('includes/header.inc'); + prnMsg(_('The supplier inventory quantities could not be retrieved by the SQL because') . ' - ' . DB_error_msg($db),'error'); + echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>'; + if ($debug==1){ + echo '<br />' . $SQL; + } + include('includes/footer.inc'); + exit; + } else { + //head up a new table + echo '<table> + <tr> + <th class="ascending">' . _('Item Code') . '</th> + <th class="ascending">' . _('Item Description') . '</th> + <th class="ascending">' . _('Bin') . '</th> + <th class="ascending">' . _('On Hand') . '</th> + <th class="ascending">' . _('Demand') . '</th> + <th class="ascending">' . _('Supp Ords') . '</th> + <th class="ascending">' . _('Previous') . '<br />' ._('Month') . '</th> + <th class="ascending">' . _('Last') . '<br />' ._('Month') . '</th> + <th class="ascending">' . _('Week') . '<br />' ._('3') . '</th> + <th class="ascending">' . _('Week') . '<br />' ._('2') . '</th> + <th class="ascending">' . _('Last') . '<br />' ._('Week') . '</th> + <th>' . _('Order Qty') . '</th> + </tr>'; + + $i=0; + + while ($ItemRow = DB_fetch_array($ItemsResult,$db)){ + + + $SQL = "SELECT SUM(CASE WHEN (trandate>='" . Date('Y-m-d',mktime(0,0,0, date('m')-2, date('d'), date('Y'))) . "' AND + trandate<='" . Date('Y-m-d',mktime(0,0,0, date('m')-1, date('d'), date('Y'))) . "') THEN -qty ELSE 0 END) AS previousmonth, + SUM(CASE WHEN (trandate>='" . Date('Y-m-d',mktime(0,0,0, date('m')-1, date('d'), date('Y'))) . "' AND + trandate<='" . Date('Y-m-d') . "') THEN -qty ELSE 0 END) AS lastmonth, + SUM(CASE WHEN (trandate>='" . Date('Y-m-d',mktime(0,0,0, date('m'), date('d')-(3*7), date('Y'))) . "' AND + trandate<='" . Date('Y-m-d',mktime(0,0,0, date('m'), date('d')-(2*7), date('Y'))) . "') THEN -qty ELSE 0 END) AS wk3, + SUM(CASE WHEN (trandate>='" . Date('Y-m-d',mktime(0,0,0, date('m'), date('d')-(2*7), date('Y'))) . "' AND + trandate<='" . Date('Y-m-d',mktime(0,0,0, date('m'), date('d')-7, date('Y'))) . "') THEN -qty ELSE 0 END) AS wk2, + SUM(CASE WHEN (trandate>='" . Date('Y-m-d',mktime(0,0,0, date('m'), date('d')-7, date('Y'))) . "' AND + trandate<='" . Date('Y-m-d') . "') THEN -qty ELSE 0 END) AS wk1 + FROM stockmoves + WHERE stockid='" . $ItemRow['stockid'] . "' + AND (type=10 OR type=11)"; + $SalesResult=DB_query($SQL,$db,'','',FALSE,FALSE); + + if (DB_error_no($db) !=0) { + $Title = _('Preferred supplier purchasing') . ' - ' . _('Problem Report') . '....'; + include('includes/header.inc'); + prnMsg( _('The sales quantities could not be retrieved by the SQL because') . ' - ' . DB_error_msg($db),'error'); + echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>'; + if ($debug==1){ + echo '<br />'. $SQL; + } + include('includes/footer.inc'); + exit; + } + + $SalesRow = DB_fetch_array($SalesResult); + + $SQL = "SELECT SUM(salesorderdetails.quantity - salesorderdetails.qtyinvoiced) AS qtydemand + FROM salesorderdetails INNER JOIN salesorders + ON salesorderdetails.orderno=salesorders.orderno + WHERE salesorderdetails.stkcode = '" . $ItemRow['stockid'] . "' + AND salesorderdetails.completed = 0 + AND salesorders.quotation=0"; + + $DemandResult = DB_query($SQL, $db, '', '', false, false); + + + if (DB_error_no($db) !=0) { + $Title = _('Preferred supplier purchasing') . ' - ' . _('Problem Report') . '....'; + include('includes/header.inc'); + prnMsg( _('The sales order demand quantities could not be retrieved by the SQL because') . ' - ' . DB_error_msg($db),'error'); + echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>'; + if ($debug==1){ + echo '<br />'.$SQL; + } + include('includes/footer.inc'); + exit; + } + + // Also need to add in the demand as a component of an assembly items if this items has any assembly parents. + + $SQL = "SELECT SUM((salesorderdetails.quantity-salesorderdetails.qtyinvoiced)*bom.quantity) AS dem + FROM salesorderdetails INNER JOIN bom + ON salesorderdetails.stkcode=bom.parent + INNER JOIN stockmaster + ON stockmaster.stockid=bom.parent + INNER JOIN salesorders + ON salesorders.orderno = salesorderdetails.orderno + WHERE salesorderdetails.quantity-salesorderdetails.qtyinvoiced > 0 + AND bom.component='" . $ItemRow['stockid'] . "' + AND stockmaster.mbflag='A' + AND salesorderdetails.completed=0 + AND salesorders.quotation=0"; + + $BOMDemandResult = DB_query($SQL,$db,'','',false,false); + + if (DB_error_no($db) !=0) { + $Title = _('Preferred supplier purchasing') . ' - ' . _('Problem Report') . '....'; + include('includes/header.inc'); + prnMsg( _('The sales order demand quantities from parent assemblies could not be retrieved by the SQL because') . ' - ' . DB_error_msg($db),'error'); + echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>'; + if ($debug==1){ + echo '<br />'.$SQL; + } + include('includes/footer.inc'); + exit; + } + + $SQL = "SELECT SUM(purchorderdetails.quantityord- purchorderdetails.quantityrecd) as qtyonorder + FROM purchorderdetails + LEFT JOIN purchorders + ON purchorderdetails.orderno = purchorders.orderno + LEFT JOIN purchdata + ON purchorders.supplierno=purchdata.supplierno + AND purchorderdetails.itemcode=purchdata.stockid + WHERE purchorderdetails.itemcode = '" . $ItemRow['stockid'] . "' + AND purchorderdetails.completed = 0 + AND purchorders.status <> 'Cancelled' + AND purchorders.status <> 'Rejected' + AND purchorders.status <> 'Pending' + AND purchorders.status <> 'Completed'"; + + $DemandRow = DB_fetch_array($DemandResult); + $BOMDemandRow = DB_fetch_array($BOMDemandResult); + $TotalDemand = $DemandRow['qtydemand'] + $BOMDemandRow['dem']; + + $OnOrdResult = DB_query($SQL, $db, '', '', false, false); + if (DB_error_no($db) !=0) { + $Title = _('Preferred supplier purchasing') . ' - ' . _('Problem Report') . '....'; + include('includes/header.inc'); + prnMsg( _('The purchase order quantities could not be retrieved by the SQL because') . ' - ' . DB_error_msg($db),'error'); + echo '<br /><a href="' .$RootPath .'/index.php">' . _('Back to the menu') . '</a>'; + if ($debug==1){ + echo '<br />'. $SQL; + } + include('includes/footer.inc'); + exit; + } + + $OnOrdRow = DB_fetch_array($OnOrdResult); + if (!isset($_POST['OrderQty' . $i])){ + $_POST['OrderQty' . $i] =0; + } + echo '<tr> + <td>' . $ItemRow['stockid'] . '</td> + <td>' . $ItemRow['description'] . '</td> + <td>' . $ItemRow['bin'] . '</td> + <td class="number">' . round($ItemRow['qoh'],$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($TotalDemand,$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($OnOrdRow['qtyonorder'],$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($SalesRow['previousmonth'],$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($SalesRow['lastmonth'],$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($SalesRow['wk3'],$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($SalesRow['wk2'],$ItemRow['decimalplaces']) . '</td> + <td class="number">' . round($SalesRow['wk1'],$ItemRow['decimalplaces']) . '</td> + <td><input type="hidden" name="StockID' . $i . '" value="' . $ItemRow['stockid'] . '" /><input type="text" class="number" name="OrderQty' . $i . '" value="' . $_POST['OrderQty' . $i] . '" title="' . _('Enter the quantity to purchase of this item') . '" size="6" maxlength="6" /></td> + </tr>'; + $i++; + } /*end preferred supplier items while loop */ + echo '<tr> + <td colspan="7"><input type="submit" name="CreatePO" value="' . _('Create Purchase Order') . '" onclick="return confirm(\'' . _('Clicking this button will create a purchase order for all the quantities in the grid above for immediate delivery. Are you sure?') . '\');"/></td> + </tr> + </table>'; + + } +} + +echo '</div> + </form>'; + +include('includes/footer.inc'); + +?> Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2013-09-13 00:58:50 UTC (rev 6337) +++ trunk/StockCategories.php 2013-09-28 05:10:46 UTC (rev 6338) @@ -344,7 +344,7 @@ echo '<table class="selection"> <tr> <td>' . _('Category Code') . ':</td> - <td><input type="text" name="CategoryID" required="required" autofocus="autofocus" pattern="[0-9a-zA-Z_]{1,6}" title="' . _('Enter up to six alphanumeric characters or underscore as a code for this stock category') . '" size="7" maxlength="6" value="' . $_POST['CategoryID'] . '" /></td> + <td><input type="text" name="CategoryID" required="required" autofocus="autofocus" data-type="no-illegal-chars" title="' . _('Enter up to six alphanumeric characters or underscore as a code for this stock category') . '" size="7" maxlength="6" value="' . $_POST['CategoryID'] . '" /></td> </tr>'; } Modified: trunk/StockStatus.php =================================================================== --- trunk/StockStatus.php 2013-09-13 00:58:50 UTC (rev 6337) +++ trunk/StockStatus.php 2013-09-28 05:10:46 UTC (rev 6338) @@ -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="[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 _('Stock Code') . ':<input type="text" data-type="no-illegal-chars" 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-13 00:58:50 UTC (rev 6337) +++ trunk/Stocks.php 2013-09-28 05:10:46 UTC (rev 6338) @@ -803,14 +803,14 @@ /*and cascade delete the bill of material if any */ $sql = "DELETE FROM bom WHERE parent='".$StockID."'"; $result=DB_query($sql,$db,_('Could not delete the bill of material because'),'',true); - $sql="DELETE FROM stockmaster WHERE stockid='".$StockID."'"; - $result=DB_query($sql,$db, _('Could not delete the item record'),'',true); //and cascade delete the item properties $sql="DELETE FROM stockitemproperties WHERE stockid='".$StockID."'"; $result=DB_query($sql,$db, _('Could not delete the item properties'),'',true); //and cascade delete the item descriptions in other languages $sql = "DELETE FROM stockdescriptiontranslations WHERE stockid='" . $StockID . "'"; $result=DB_query($sql,$db,_('Could not delete the item language descriptions'),'',true); + $sql="DELETE FROM stockmaster WHERE stockid='".$StockID."'"; + $result=DB_query($sql,$db, _('Could not delete the item record'),'',true); $result = DB_Txn_Commit($db); Modified: trunk/SuppTransGLAnalysis.php =================================================================== --- trunk/SuppTransGLAnalysis.php 2013-09-13 00:58:50 UTC (rev 6337) +++ trunk/SuppTransGLAnalysis.php 2013-09-28 05:10:46 UTC (rev 6338) @@ -187,7 +187,7 @@ echo '<tr> <td>' . _('Account Code') . ':</td> - <td><input type="text" pattern="[a-zA-Z0-9_-]{0,20}" title="'._('The input must be alpha-numeric characters').'" placeholder="'._('less than 20 alpha-numeric characters').'" name="GLCode" size="21" maxlength="20" value="' . $_POST['GLCode'] . '" /> + <td><input type="text" data-type="no-illegal-chars" title="'._('The input must be alpha-numeri... [truncated message content] |