| <#-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <form name="SearchProducts" method="post" action="<@ofbizUrl>AddItem</@ofbizUrl>"> |
| <div> |
| <input type="hidden" id="quantity" name="quantity" value="1" /> |
| <input type="hidden" id="add_product_id" name="add_product_id" value="${parameters.add_product_id!}" /> |
| <input type="hidden" id="goodIdentificationTypeId" name="goodIdentificationTypeId" value="" /> |
| <label for="searchBy"><b> ${uiLabelMap.WebPosSearchBy}</b></label> |
| <select id="searchBy" name="searchBy"> |
| <option value="productName" selected="selected">${uiLabelMap.ProductProductName}</option> |
| <option value="productDescription">${uiLabelMap.ProductProductDescription}</option> |
| <option value="idValue">${uiLabelMap.ProductGoodIdentification}</option> |
| </select> |
| <input type="text" id="productToSearch" name="productToSearch" size="28" maxlength="100"/> |
| <div id="products" class="autocomplete" style="display:none"></div> |
| <br /> |
| <input type="submit" value="${uiLabelMap.CommonSearch}" id="productSearchConfirm"/> |
| </div> |
| </form> |
| <br /> |
| <script type="application/javascript"> |
| document.SearchProducts.productToSearch.focus(); |
| </script> |