Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Numbers.ftl
------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Numbers.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Numbers.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Numbers.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,69 @@ +<#-- +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. +--> + +<table class="tableButtons" cellspacing="5"> + <tr> + <td> + <a href="<@ofbizUrl>AddPayCash</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayCash}</a> + </td> + <td> + <a href="<@ofbizUrl>AddPayCheck</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayCheck}</a> + </td> + <td> + <a href="<@ofbizUrl>AddPayGiftCard</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayGiftCard}</a> + </td> + </tr> + <tr> + <td> + <a href="<@ofbizUrl>AddPayCreditCard</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayCreditCard}</a> + </td> + <td> + <#if (totalDue = 0.00)> + <a href="<@ofbizUrl>PayFinish</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayFinish}</a> + <#else> + <span class="disabled">${uiLabelMap.WebPosButtonPayFinish}</span> + </#if> + </td> + <td> + <a href="<@ofbizUrl>AddPaySetRef</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPaySetRef}</a> + </td> + </tr> + <tr> + <td> + <a href="<@ofbizUrl>PayClear?idx=0</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayClear}</a> + </td> + <td> + <a href="<@ofbizUrl>PayClearAll</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPayClearAll}</a> + </td> + <td> + <a href="<@ofbizUrl>main</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonMain}</a> + </td> + </tr> +</table> +<#if cart?has_content> + <#if (totalDue > 0.00)> + <div class="errorPosMessage"> + <p>${uiLabelMap.WebPosTransactionTotalDue} <@ofbizCurrency amount=totalDue isoCode=cart.getCurrency()/></p> + </div> + <#else> + <div class="errorPosMessage"> + <p>${uiLabelMap.WebPosCompleteSale}</p> + </div> + </#if> +</#if> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Payment.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,36 @@ +<#-- +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. +--> + +<table class="tableButtons" cellspacing="5"> + <tr> + <td> + <#if isOpen?default(false) == true> + <a href="<@ofbizUrl>AddPromoCode</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonPromoCode}</a> + <#else> + <span class="disabled">${uiLabelMap.WebPosButtonPromoCode}</span> + </#if> + </td> + <td> + <a href="<@ofbizUrl>main</@ofbizUrl>" class="posButton">${uiLabelMap.WebPosButtonMain}</a> + </td> + <td> + <a href="<@ofbizUrl>main</@ofbizUrl>" class="posButton"> </a> + </td> + </tr> +</table> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/buttons/Promo.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,57 @@ +<#-- +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. +--> +<div id="microCart"> + <#if (shoppingCartSize > 0)> + <table class="basic-table" cellspacing="1" cellpadding="2"> + <tr> + <td><b>${uiLabelMap.WebPosTransactionId}</b></td> + <td><b>${transactionId?default("NA")}</b></td> + <td><b>${(paymentCash.get("description", locale))?if_exists}</b></td> + <td align="right"><b><@ofbizCurrency amount=cashAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td><b>${uiLabelMap.OrderSalesTax}</b></td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getTotalSalesTax() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosDrawer}</b></td> + <td><b>${drawerNumber?default(0)}</b></td> + <td><b>${(paymentCheck.get("description", locale))?if_exists}</b></td> + <td align="right"><b><@ofbizCurrency amount=checkAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td><b>${uiLabelMap.WebPosCartTotal}</b></td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getDisplayGrandTotal() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosEmployee}</b></td> + <td><b>${userLoginId?default("NA")}</b></td> + <td><b>${(paymentGift.get("description", locale))?if_exists}</b></td> + <td align="right"><b><@ofbizCurrency amount=giftAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td colspan="2"> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosTransactionDate}</b></td> + <td><b>${transactionDate?default("NA")}</b></td> + <td><b>${(paymentCredit.get("description", locale))?if_exists}</b></td> + <td align="right"><b><@ofbizCurrency amount=creditAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td><b>${uiLabelMap.WebPosTransactionTotalDue}</b></td> + <td align="right"><b><@ofbizCurrency amount=totalDue isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + </table> + <#else> + + </#if> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/MicroCart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,126 @@ +<#-- +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. +--> +<script language="JavaScript" type="text/javascript"> + function toggle(e) { + e.checked = !e.checked; + } + + function checkToggle(e) { + var cform = document.cartform; + if (e.checked) { + var len = cform.elements.length; + var allchecked = true; + for (var i = 0; i < len; i++) { + var element = cform.elements[i]; + if (element.name == "selectedItem" && !element.checked) { + allchecked = false; + } + cform.selectAll.checked = allchecked; + } + } else { + cform.selectAll.checked = false; + } + } + + function toggleAll(e) { + var cform = document.cartform; + var len = cform.elements.length; + for (var i = 0; i < len; i++) { + var element = cform.elements[i]; + if (element.name == "selectedItem" && element.checked != e.checked) { + toggle(element); + } + } + } + + function removeSelected() { + var cform = document.cartform; + cform.removeSelected.value = true; + cform.submit(); + } +</script> +<div class="pos-cart-scroll"> + <table class="basic-table" cellspacing="0"> + <tr class="header-row"> + <td nowrap> </td> + <td nowrap><b>${uiLabelMap.OrderProduct}</b></td> + <td nowrap> </td> + <td nowrap align="center"><b>${uiLabelMap.CommonQuantity}</b></td> + <td nowrap align="right"><b>${uiLabelMap.WebPosUnitPrice}</b></td> + <td nowrap align="right"><b>${uiLabelMap.WebPosAdjustments}</b></td> + <td nowrap align="right"><b>${uiLabelMap.WebPosItemTotal}</b></td> + <td nowrap align="center"><input type="checkbox" name="selectAll" value="0" onclick="javascript:toggleAll(this);"></td> + </tr> + <#if (shoppingCartSize > 0)> + <form method="post" action="<@ofbizUrl>ModifyCart</@ofbizUrl>" name="cartform"> + <input type="hidden" name="removeSelected" value="false"> + <#assign itemsFromList = false> + <#-- set initial row color --> + <#assign alt_row = false> + <#list shoppingCart.items() as cartLine> + <#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)> + <#-- show adjustment info --> + <#list cartLine.getAdjustments() as cartLineAdjustment> + <!-- cart line ${cartLineIndex} adjustment: ${cartLineAdjustment} --> + </#list> + <tr <#if alt_row>class="alternate-row pos-cart-hover-bar"<#else>class="pos-cart-hover-bar"</#if>> + <td> </td> + <td> + <div> + <#if cartLine.getProductId()?exists> + <#-- product item --> + <#-- start code to display a small image of the product --> + <#if cartLine.getParentProductId()?exists> + <#assign parentProductId = cartLine.getParentProductId()/> + <#else> + <#assign parentProductId = cartLine.getProductId()/> + </#if> + <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists> + <#if !smallImageUrl?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if> + <#if smallImageUrl?has_content> + <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" align="left" width="50" class="imageborder" border="0"/> + </#if> + <#-- end code to display a small image of the product --> + ${cartLine.getProductId()} - ${cartLine.getName()?if_exists} : ${cartLine.getDescription()?if_exists} + <#else> + <#-- this is a non-product item --> + <b>${cartLine.getItemTypeDescription()?if_exists}</b> : ${cartLine.getName()?if_exists} + </#if> + </div> + </td> + <td nowrap align="right"> + + </td> + <td nowrap align="center"> + <div> + <input size="6" type="text" name="update_${cartLineIndex}" value="${cartLine.getQuantity()?string.number}"> + </div> + </td> + <td nowrap align="right"><div><@ofbizCurrency amount=cartLine.getDisplayPrice() isoCode=shoppingCart.getCurrency()/></div></td> + <td nowrap align="right"><div><@ofbizCurrency amount=cartLine.getOtherAdjustments() isoCode=shoppingCart.getCurrency()/></div></td> + <td nowrap align="right"><div><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=shoppingCart.getCurrency()/></div></td> + <td nowrap align="center"><div><#if !cartLine.getIsPromo()><input type="checkbox" name="selectedItem" value="${cartLineIndex}" onclick="javascript:checkToggle(this);"><#else> </#if></div></td> + </tr> + <#-- toggle the row color --> + <#assign alt_row = !alt_row> + </#list> + </form> + </#if> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp Tue Sep 23 14:09:28 2008 @@ -0,0 +1,52 @@ +<%-- +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. +--%> +<%@ page import="org.ofbiz.base.util.*" %> +<html> +<head> +<title>Open For Business Message</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<% String errorMsg = (String) request.getAttribute("_ERROR_MESSAGE_"); %> + +<body bgcolor="#FFFFFF"> +<div align="center"> + <br/> + <table width="100%" border="1" height="200"> + <tr> + <td> + <table width="100%" border="0" height="200"> + <tr bgcolor="#CC6666"> + <td height="45"> + <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="#FFFFFF"><b>:ERROR MESSAGE:</b></font></div> + </td> + </tr> + <tr> + <td> + <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><%=UtilFormatOut.replaceString(errorMsg, "\n", "<br/>")%></font></div> + </td> + </tr> + </table> + </td> + </tr> + </table> +</div> +<div align="center"></div> +</body> +</html> Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/error/error.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js Tue Sep 23 14:09:28 2008 @@ -0,0 +1,84 @@ +Event.observe(window, 'load', function() { + + // Autocompleter for good identification field + var j = 0; + var autoCompleteIdent = null; + var productsIdent = []; + var productsIdIdent = []; + var previousIdent = ''; + Event.observe($('productGoodIdentification'), 'focus', function(s) { + var ident = $('productGoodIdentification').value; + if (j == 0 || previousIdent != ident) { + var pars = 'productGoodIdentification' + $('productGoodIdentification').value; + new Ajax.Request("FindProductsByIdentification", + { + asynchronous: false, + parameters: pars, + onSuccess: function(transport) { + var data = transport.responseText.evalJSON(true); + productsIdent = data.productsList; + productsIdIdent = data.productsId; + autoComplete = new Autocompleter.Local('productGoodIdentification', 'productsIdent', productsIdent, {partialSearch: false}); + } + }); + previousIdent = ident; + j++; + } + }); + + Event.observe($('productGoodIdentification'), 'blur', function(s) { + identValues = $('productGoodIdentification').value; + var l = 0; + productsIdent.each(function(product) { + if (identValues == product) { + $('add_product_id').value = productsIdIdent[l]; + throw $break; + } + l++; + }); + }); + + // Autocompleter for search by field + Event.observe($('searchBy'), 'change', function(s) { + $('add_product_id').value = ''; + $('productToSearch').value = ''; + Form.Element.focus('productToSearch'); + }); + + var i = 0; + var autoComplete = null; + var products = []; + var productsId = []; + var previousSearchBy = ''; + Event.observe($('productToSearch'), 'focus', function(s) { + var searchBy = $('searchBy').value; + if (i == 0 || previousSearchBy != searchBy) { + var pars = 'searchBy=' + $('searchBy').value + '&productToSearch=' + $('productToSearch').value; + new Ajax.Request("FindProducts", + { + asynchronous: false, + parameters: pars, + onSuccess: function(transport) { + var data = transport.responseText.evalJSON(true); + products = data.productsList; + productsId = data.productsId; + autoComplete = new Autocompleter.Local('productToSearch', 'products', products, {partialSearch: false}); + } + }); + previousSearchBy = searchBy; + i++; + } + }); + + Event.observe($('productToSearch'), 'blur', function(s) { + productToSearchValues = $('productToSearch').value; + var p = 0; + products.each(function(product){ + if (productToSearchValues == product) { + $('add_product_id').value = productsId[p]; + throw $break; + } + p++; + }); + }); +}); \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/js/SearchProducts.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css Tue Sep 23 14:09:28 2008 @@ -0,0 +1,147 @@ +<#-- +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. +--> +.autocomplete { + position: absolute; + height: 200px; + display: none; + background-color: #EEEEEE; + margin: 0px; + padding: 0px; + overflow: auto; +} + +.autocomplete ul li.selected { + background-color: yellow; + } + +.autocomplete ul li { + display: block; + margin: 0px; + padding: 2px; + cursor: pointer; + background-color: #EEEEEE; + width: 305px; +} + +.tableButtons { + background-color: #FFFFF; + color: #FFFF00; + width: 100%; + height: 100%; +} + +.tableButtons td { + background-color: #000099; + background-image: url(/images/gradient_sub_uns.gif); + background-repeat: repeat-x; + height: 1em; + text-align: center; + border-width: 2px; + padding-left: 0.5em; + height: 5em; + width: 5em; +} + +.posButton, A.posButton, A.posButton:visited { + color: #ffff00; + font-size: 0.9em; + font-weight: bold; + padding-left: 0.2em; + padding-right: 0.5em; +} + +A.posButton:hover { + color: #ffff00; +} + +div#panel { + border: solid 2px #EBEFF7; + background-color: #CCFFFF; + padding: 10px; + top: 250px; + left: 200px; + position: absolute; + color: #333; + overflow: auto; +} + +div.pos-cart-scroll { + height: 370px; + width: 100%; + overflow: auto; +} + +.pos-cart-hover-bar:hover { + background-color: #FFFCCF; + cursor: pointer; +} + +.errorPosMessage { + background-color: #FF0000; + border: solid #000000 0.1em; + font-size: 1.1em; + font-weight: bold; + text-align: center; + margin-top: 1em; + margin-bottom: 1em; + color: #FFFCCF; + overflow: auto; +} + +/* ===== Header Styles ===== */ +#webpos-header { + position: relative; + background: #ffffff; + height: 100px; + voice-family: "\"}\""; + voice-family: inherit; +} +#webpos-header #left { + position: absolute; + top: 0px; + left: 0px; + width: 280px; +} +#webpos-header #middle { + margin-left: 290px; + margin-right: 210px; + padding-top: 10px; + width: auto; + text-align: center; +} +#webpos-header #right { + position: absolute; + top: 0px; + right: 0px; + width: 200px; + padding: 0px; + margin-top: 20px; + text-align: right; +} +#webpos-header #middle { + margin-left: 290px; + margin-right: 210px; + padding-top: 10px; + width: auto; + text-align: center; +} +#webpos-header #middle-right { + margin-left: 290px; + width: auto; +} \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/images/webpos.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,34 @@ +<#-- +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. +--> + +<#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()> + +<br/> +<div align="center"> + <a href="http://jigsaw.w3.org/css-validator/"><img style="border:0;width:88px;height:31px" src="<@ofbizContentUrl>/images/vcss.gif</@ofbizContentUrl>" alt="Valid CSS!"/></a> + <a href="http://validator.w3.org/check?uri=referer"><img style="border:0;width:88px;height:31px" src="<@ofbizContentUrl>/images/valid-xhtml10.png</@ofbizContentUrl>" alt="Valid XHTML 1.0!"/></a> +</div> +<br/> +<div align="center"> + <div>Copyright (c) 2001-${nowTimestamp?string("yyyy")} The Apache Software Foundation - <a href="http://www.apache.org" class="tabletext" target="_blank">www.apache.org</a></div> + <div>Powered by <a href="http://ofbiz.apache.org" target="_blank">Apache OFBiz</a></div> +</div> +<br/> +</body> +</html> Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Footer.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,79 @@ +<#-- +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. +--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<#-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> --> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <title><#if title?has_content>${title}<#elseif titleProperty?has_content>${uiLabelMap.get(titleProperty)}</#if>: ${(productStore.storeName)?if_exists}</title> + <#if layoutSettings.shortcutIcon?has_content> + <link rel="shortcut icon" href="<@ofbizContentUrl>${layoutSettings.shortcutIcon}</@ofbizContentUrl>" /> + </#if> + <#if layoutSettings.javaScripts?has_content> + <#--layoutSettings.javaScripts is a list of java scripts. --> + <#list layoutSettings.javaScripts as javaScript> + <script language="javascript" src="<@ofbizContentUrl>${javaScript}</@ofbizContentUrl>" type="text/javascript"></script> + </#list> + </#if> + <#if layoutSettings.styleSheets?has_content> + <#--layoutSettings.styleSheets is a list of style sheets. So, you can have a user-specified "main" style sheet, AND a component style sheet.--> + <#list layoutSettings.styleSheets as styleSheet> + <link rel="stylesheet" href="<@ofbizContentUrl>${styleSheet}</@ofbizContentUrl>" type="text/css"/> + </#list> + </#if> + ${layoutSettings?if_exists.extraHead?if_exists} + + <#-- Append CSS for catalog --> + <#if catalogStyleSheet?exists> + <link rel="stylesheet" href="${catalogStyleSheet}" type="text/css"/> + </#if> + <#-- Append CSS for tracking codes --> + <#if sessionAttributes.overrideCss?exists> + <link rel="stylesheet" href="${sessionAttributes.overrideCss}" type="text/css"/> + </#if> + <#-- Meta tags if defined by the page action --> + <#if metaDescription?exists> + <meta name="description" content="${metaDescription}"/> + </#if> + <#if metaKeywords?exists> + <meta name="keywords" content="${metaKeywords}"/> + </#if> + + <#if requireDojo?exists> + <script type="text/javascript"> + dojo.require("dojo.widget.*"); + </script> + </#if> +</head> + +<body> +<div id="webpos-header"> + <div id="left"> + <#if sessionAttributes.overrideLogo?exists> + <img src="<@ofbizContentUrl>${sessionAttributes.overrideLogo}</@ofbizContentUrl>" alt="Logo"/> + <#elseif catalogHeaderLogo?exists> + <img src="<@ofbizContentUrl>${catalogHeaderLogo}</@ofbizContentUrl>" alt="Logo"/> + <#elseif (productStore.headerLogo)?has_content> + <img src="<@ofbizContentUrl>${productStore.headerLogo}</@ofbizContentUrl>" alt="Logo"/> + </#if> + </div> + <div id="middle-right"> + ${screens.render("component://webpos/widget/WebPosScreens.xml#MicroCart")} + </div> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Header.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,39 @@ +<#-- +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. +--> + +<div id="choose-language" class="screenlet"> + <div class="screenlet-title-bar"> + <h3>${uiLabelMap.CommonLanguageTitle}</h3> + </div> + <div class="screenlet-body" style="text-align: center;"> + <form method="post" name="chooseLanguage" action="<@ofbizUrl>setSessionLocale</@ofbizUrl>" style="margin: 0;"> + <select name="newLocale" style="width:95%" onchange="submit()"> + <#assign availableLocales = Static["org.ofbiz.base.util.UtilMisc"].availableLocales()/> + <#list availableLocales as availableLocale> + <#assign langAttr = availableLocale.toString()?replace("_", "-")> + <#assign langDir = "ltr"> + <#if "ar.iw"?contains(langAttr?substring(0, 2))> + <#assign langDir = "rtl"> + </#if> + <option lang="${langAttr}" dir="${langDir}" value="${availableLocale.toString()}"<#if locale.toString() = availableLocale.toString()> selected="selected"</#if>>${availableLocale.getDisplayName(availableLocale)}</option> + </#list> + </select> + </form> + </div> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Language.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,64 @@ +<#-- +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. +--> + +<#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if> +<#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if> +<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if> +<#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap></#if> + +<#if !errorMessage?has_content> + <#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists> +</#if> +<#if !errorMessageList?has_content> + <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists> +</#if> +<#if !eventMessage?has_content> + <#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists> +</#if> +<#if !eventMessageList?has_content> + <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists> +</#if> + +<#-- display the error messages --> +<#if (errorMessage?has_content || errorMessageList?has_content)> + <div class="errorPosMessage"> + <#if errorMessage?has_content> + <p>${errorMessage}</p> + </#if> + <#if errorMessageList?has_content> + <#list errorMessageList as errorMsg> + <p>${errorMsg}</p> + </#list> + </#if> + </div> +</#if> + +<#-- display the event messages --> +<#if (eventMessage?has_content || eventMessageList?has_content)> + <div class="errorPosMessage"> + <#if eventMessage?has_content> + <p>${eventMessage}</p> + </#if> + <#if eventMessageList?has_content> + <#list eventMessageList as eventMsg> + <p>${eventMsg}</p> + </#list> + </#if> + </div> +</#if> Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/includes/Messages.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp Tue Sep 23 14:09:28 2008 @@ -0,0 +1,19 @@ +<%-- +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. +--%> +<%response.sendRedirect("control/main");%> Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/index.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,60 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>CloseTerminal</@ofbizUrl>" name="CloseTerminalForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerCloseTerminalCashAmount}</b></td> + <td><input type="text" name="endingDrawerCashAmount" id="endingDrawerCashAmount" value="${parameters.endingDrawerCashAmount?default("")}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerCloseTerminalCheckAmount}</b></td> + <td><input type="text" name="endingDrawerCheckAmount" id="endingDrawerCheckAmount" value="${parameters.endingDrawerCheckAmount?default("")}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerCloseTerminalCcAmount}</b></td> + <td><input type="text" name="endingDrawerCcAmount" id="endingDrawerCcAmount" value="${parameters.endingDrawerCcAmount?default("")}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerCloseTerminalGcAmount}</b></td> + <td><input type="text" name="endingDrawerGcAmount" id="endingDrawerGcAmount" value="${parameters.endingDrawerGcAmount?default("")}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerCloseTerminalOtherAmount}</b></td> + <td><input type="text" name="endingDrawerOtherAmount" id="endingDrawerOtherAmount" value="${parameters.endingDrawerOtherAmount?default("")}"/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.CloseTerminalForm.endingDrawerCashAmount.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,49 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>ModifyPrice</@ofbizUrl>" name="ModifyPriceForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + + <tr> + <td><b>${uiLabelMap.WebPosManagerModifyPriceSku}</b></td> + <td><input type="text" name="sku" id="sku"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerModifyPriceNewPrice}</b></td> + <td><input type="text" name="price" id="price" value="${parameters.price?default("")}"/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.ModifyPriceForm.sku.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/ModifyPrice.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,44 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>OpenTerminal</@ofbizUrl>" name="OpenTerminalForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerOpenTerminalDrawingAmount}</b></td> + <td><input type="text" name="startingDrawerAmount" id="startingDrawerAmount" value="${parameters.startingDrawerAmount?default("")}"/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.OpenTerminalForm.startingDrawerAmount.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,60 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PaidOutAndIn</@ofbizUrl>" name="PaidOutAndInForm"> + <table border="0"> + <tr> + <td colspan="2""> <input type="hidden" name="type" value="${parameters.type?default('IN')}"/></td> + </tr> + <tr> + <td><b><#if 'IN' == parameters.type?default('IN')>${uiLabelMap.WebPosManagerPaidInAmount}<#else>${uiLabelMap.WebPosManagerPaidOutAmount}</#if></b></td> + <td><input type="text" name="amountInOut" id="amountInOut" value="${parameters.amountInOut?default("")}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerPaidOutAndIndReason}</b></td> + <td> + <select name="reasonInOut" id="reasonInOut"> + <#if 'IN' == parameters.type?default('IN')> + <#list paidReasonIn as reason> + <option value="${reason.enumId}">${reason.get("description", locale)?default(reason.enumId)}</option> + </#list> + <#else> + <#list paidReasonOut as reason> + <option value="${reason.enumId}">${reason.get("description", locale)?default(reason.enumId)}</option> + </#list> + </#if> + </select> + </td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PaidOutAndInForm.amountInOut.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,44 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>VoidOrder</@ofbizUrl>" name="VoidOrderForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosManagerVoidOrder}</b></td> + <td><input type="text" name="orderId" id="orderId"/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.VoidOrderForm.orderId.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,44 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PayCash</@ofbizUrl>" name="PayCashForm"> + <table border="0"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayCash}</b></td> + <td><input type="text" name="amount" id="amount" value="${requestParameters.amount?if_exists}"/></td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PayCashForm.amount.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,48 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PayCheck</@ofbizUrl>" name="PayCheckForm"> + <table border="0"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayCheck}</b></td> + <td><input type="text" name="amount" id="amount" value="${requestParameters.amount?if_exists}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayCheckRefNum}</b></td> + <td><input type="text" name="refNum" id="refNum" value="${requestParameters.refNum?if_exists}"/></td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PayCheckForm.amount.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,82 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PayCreditCard</@ofbizUrl>" name="PayCreditCardForm"> + <table border="0"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayCreditCardFirstName}</b><input type="text" name="firstName" id="firstName" size="20" maxlength="60" value="${requestParameters.firstName?if_exists}"/></td> + <td><b>${uiLabelMap.WebPosPayCreditCardLastName}</b><input type="text" name="lastName" id="lastName" size="20" maxlength="60" value="${requestParameters.lastName?if_exists}"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayCreditCardNum}</b><input type="text" name="cardNum" id="cardNum" size="20" maxlength="30" value="${requestParameters.cardNum?if_exists}"/></td> + <td> + <b>${uiLabelMap.WebPosPayCreditCardExp}</b> + <#assign expMonth = ""> + <#assign expYear = ""> + <select name="expMonth"> + <#assign ccExprMonth = requestParameters.expMonth?if_exists> + <#if ccExprMonth?has_content> + <option value="${ccExprMonth?if_exists}">${ccExprMonth?if_exists}</option> + </#if> + ${screens.render("component://common/widget/CommonScreens.xml#ccmonths")} + </select> + <select name="expYear"> + <#assign ccExprYear = requestParameters.expYear?if_exists> + <#if ccExprYear?has_content> + <option value="${ccExprYear?if_exists}">${ccExprYear?if_exists}</option> + </#if> + ${screens.render("component://common/widget/CommonScreens.xml#ccyears")} + </select> + </td> + </tr> + <tr> + <td> + <b>${uiLabelMap.WebPosPayCreditCardSecurityCode}</b> + <input type="text" name="securityCode" id="securityCode" size="5" maxlength="10" value="${requestParameters.securityCode?if_exists}"/> + <input type="hidden" name="postalCode" id="postalCode"/> + <input type="hidden" name="track2" id="track2"/> + </td> + <td> + <b>${uiLabelMap.WebPosPayCreditCardRefNum}</b> + <input type="text" name="refNum" id="refNum" value="${requestParameters.refNum?if_exists}"/> + </td> + </tr> + <tr> + <td> + <b>${uiLabelMap.WebPosPayCreditCard}</b> + <input type="text" name="amount" id="amount" value="${requestParameters.amount?if_exists}"/> + </td> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PayCreditCardForm.firstName.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,48 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PayGiftCard</@ofbizUrl>" name="PayGiftCardForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayGiftCard}</b></td> + <td><input type="text" name="amount" id="amount"/></td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPayGiftCardRefNum}</b></td> + <td><input type="text" name="refNum" id="refNum"/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PayGiftCardForm.amount.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,48 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PaySetRef</@ofbizUrl>" name="PaySetRefForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPaymentSetRef}</b></td> + <td> + <input type="hidden" name="idx" id="idx" value="0"/> + <input type="text" name="refNum" id="refNum"/> + </td> + + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PaySetRefForm.refNum.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/payment/PaySetRef.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,44 @@ +<#-- +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. +--> + +<div id="panel"> + <form method="post" action="<@ofbizUrl>PromoCode</@ofbizUrl>" name="PromoCodeForm"> + <table border="0"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td><b>${uiLabelMap.WebPosPromoCode}</b></td> + <td><input type="text" name="promoCode" id="promoCode"/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" name="confirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> + </form> +</div> +<script language="javascript" type="text/javascript"> + document.PromoCodeForm.promoCode.focus(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:executable = * Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl?rev=698351&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/search/SearchProducts.ftl Tue Sep 23 14:09:28 2008 @@ -0,0 +1,41 @@ +<#-- +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?if_exists}"> + <label for="productGoodIdentification"><b> ${uiLabelMap.ProductGoodIdentification}</b></label> + <input type="text" id="productGoodIdentification" name="productGoodIdentification" size="40" maxlength="100"> + <div id="productsIdent" class="autocomplete" style="display:none"></div> + <input type="submit" id="submitButton" name="submitButton" value="${uiLabelMap.OrderAddToCart}" onclick="ajaxSubmitFormUpdateAreas('SearchProducts', 'CartScreen, webpos/control/ShowCart,')"> + <br/> + <label for="searchBy"><b> ${uiLabelMap.WebPosSearchBy}</b></label> + <select id="searchBy" name="searchBy"> + <option value="productName" selected>${uiLabelMap.ProductProductName}</option> + <option value="productDescription">${uiLabelMap.ProductProductDescription}</option> + </select> + <input type="text" id="productToSearch" name="productToSearch" size="40" maxlength="100"> + <div id="products" class="autocomplete" style="display:none"></div> + </div> +</form> +<br/> +<script language="javascript" type="text/javascript"> + document.SearchProducts.productGoodIdentification.focus(); +</script> \ No newline at end of file |
Free forum by Nabble | Edit this page |