Author: jleroux
Date: Mon Mar 28 11:15:43 2016 New Revision: 1736869 URL: http://svn.apache.org/viewvc?rev=1736869&view=rev Log: A patch from Pierre Smits for <<relocate .ftl files in the wepbpos component>> https://issues.apache.org/jira/browse/OFBIZ-6837 Added: ofbiz/trunk/specialpurpose/webpos/template/ ofbiz/trunk/specialpurpose/webpos/template/cart/ ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/catalog/ ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/customer/ ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/includes/ ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/manager/ ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/payment/ ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/promo/ ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/search/ ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/search/SearchProducts.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/search/SearchProductsResults.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/search/SearchSalesReps.ftl (with props) ofbiz/trunk/specialpurpose/webpos/template/shortcuts/ ofbiz/trunk/specialpurpose/webpos/template/shortcuts/Shortcuts.ftl (with props) Modified: ofbiz/trunk/specialpurpose/webpos/widget/CartScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/CatalogScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/CommonScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/CustomerScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/ManagerScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/PaymentScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/PromoScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/SearchScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/ShortcutsScreens.xml ofbiz/trunk/specialpurpose/webpos/widget/WebPosScreens.xml Added: ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,77 @@ +<#-- +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="chooseVariant" style="display:none"> + <form method="post" action="javascript:void(0);" id="ChooseVariantForm"> + <table border="0" width="100%"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <div id="features" style="display: none"/> + </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b> + <div id="variantProductDescription"></div> + <div id="variantProductPrice"></div> + </b> + </td> + </tr> + <tr id="addAmount" style="display:none"> + <td width="50%" align="right"> + ${uiLabelMap.CommonAmount} + </td> + <td width="50%" align="left"> + <input type="text" id="amount" name="add_amount" size="5" value=""/> + </td> + </tr> + <tr> + <td width="50%" align="right"> + ${uiLabelMap.CommonQuantity} + </td> + <td width="50%" align="left"> + <input type="hidden" id="variantProductId" name="add_product_id"/> + <input type="hidden" id="variant" name="variant" value="Y"/> + <input type="text" id="variantQuantity" name="variantQuantity" size="5" maxlength="5" value=""/> + </td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="chooseVariantConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="chooseVariantCancel"/> + </td> + </tr> + <tr> + <td colspan="2"> + <div class="errorPosMessage"> + <span id="chooseVariantFormServerError"/> + </div> + </td> + </tr> + </table> + </form> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ChooseVariant.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,150 @@ +<#-- +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. +--> +<input type="hidden" id="selectedItem" name="selectedItem" value="${selectedItem?default(0)}"/> +<input type="hidden" id="cartSize" name="cartSize" value="${shoppingCartSize?default(0)}"/> + +<#if (shoppingCartSize > 0)> +<div id="CartHeader"> + <table class="basic-table" cellspacing="1" cellpadding="1"> + <input type="hidden" id="totalDue" value="${totalDue}"/> + <input type="hidden" id="totalCash" value="${cashAmount}"/> + <input type="hidden" id="totalCheck" value="${checkAmount}"/> + <input type="hidden" id="totalGift" value="${giftAmount}"/> + <input type="hidden" id="totalCredit" value="${creditAmount}"/> + <input type="hidden" id="totalDueFormatted" value="<@ofbizCurrency amount=totalDue isoCode=shoppingCart.getCurrency()/>"/> + <input type="hidden" id="totalCashFormatted" value="<@ofbizCurrency amount=cashAmount isoCode=shoppingCart.getCurrency()/>"/> + <input type="hidden" id="totalCheckFormatted" value="<@ofbizCurrency amount=checkAmount isoCode=shoppingCart.getCurrency()/>"/> + <input type="hidden" id="totalGiftFormatted" value="<@ofbizCurrency amount=giftAmount isoCode=shoppingCart.getCurrency()/>"/> + <input type="hidden" id="totalCreditFormatted" value="<@ofbizCurrency amount=creditAmount isoCode=shoppingCart.getCurrency()/>"/> + <tr> + <td>${uiLabelMap.WebPosTransactionId}</td> + <td><b>${transactionId?default("NA")}</b></td> + <td>${(paymentCash.get("description", locale))!}</td> + <td align="right"><b><@ofbizCurrency amount=cashAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td>${uiLabelMap.WebPosTotalItemSubTotal}</td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getDisplaySubTotal() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + <tr> + <td>${uiLabelMap.WebPosDrawer}</td> + <td><b>${drawerNumber?default(0)}</b></td> + <td>${(paymentCheck.get("description", locale))!}</td> + <td align="right"><b><@ofbizCurrency amount=checkAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td>${uiLabelMap.WebPosTotalPromotions}</td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getOrderOtherAdjustmentTotal() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + <tr> + <td>${uiLabelMap.WebPosTerminal}</td> + <td><b><#if isOpen>${uiLabelMap.WebPosTerminalOpen}<#else>${uiLabelMap.WebPosTerminalClose}</#if></b></td> + <td>${(paymentGift.get("description", locale))!}</td> + <td align="right"><b><@ofbizCurrency amount=giftAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td>${uiLabelMap.WebPosTotalSalesTax}</td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getTotalSalesTax() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + <tr> + <td></td> + <td></td> + <td>${(paymentCredit.get("description", locale))!}</td> + <td align="right"><b><@ofbizCurrency amount=creditAmount isoCode=shoppingCart.getCurrency()/></b></td> + <td>${uiLabelMap.WebPosTotalShipping}</td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getTotalShipping() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + <tr> + <td>${uiLabelMap.WebPosTransactionTotalDue}</td> + <td align="right"><b><@ofbizCurrency amount=totalDue isoCode=shoppingCart.getCurrency()/></b></td> + <td>${uiLabelMap.WebPosTransactionTotalPay}</td> + <td align="right"><b><@ofbizCurrency amount=totalPay isoCode=shoppingCart.getCurrency()/></b></td> + <td>${uiLabelMap.WebPosTotal}</td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getDisplayGrandTotal() isoCode=shoppingCart.getCurrency()/></b></td> + </tr> + </table> +</div> +</#if> +<div id="Cart"> + <table class="basic-table" cellspacing="0"> + <thead class="CartHead"> + <tr class="header-row"> + <td nowrap><b>${uiLabelMap.OrderProduct}</b></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"><b>${uiLabelMap.CommonRemove}</b></td> + </tr> + </thead> + <#if (shoppingCartSize > 0)> + <tbody class="CartBody"> + <#-- set initial row color --> + <#assign alt_row = false> + <#list shoppingCart.items() as cartLine> + <#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)> + <tr id="cartLine${cartLineIndex}" <#if alt_row>class="pos-cart-even"<#else>class="pos-cart-odd"</#if>> + <td> + <div> + <#if cartLine.getProductId()??> + <#-- product item --> + <#-- start code to display a small image of the product --> + <#if cartLine.getParentProductId()??> + <#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, "url")!> + <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if> + <#if smallImageUrl?string?has_content> + <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" align="left" class="cssImgSmall" /> + </#if> + <#-- end code to display a small image of the product --> + ${cartLine.getProductId()} - ${cartLine.getName()!} : ${cartLine.getDescription()!} + <#else> + <#-- this is a non-product item --> + <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!} + </#if> + </div> + </td> + <td nowrap align="center"> + ${cartLine.getQuantity()?string.number} + </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"><a href="javascript:deleteCartItem('${cartLineIndex}');"><img src="/images/mini-trash.png" /></a></td> + </tr> + <#-- toggle the row color --> + <#assign alt_row = !alt_row> + </#list> + <tbody> + <tfoot class="CartFoot"> + <tr> + <td colspan="6"><b><hr/></b></td> + </tr> + <tr id="CartTotal"> + <td align="left"><b>${shoppingCartSize?default(0)}</b></td> + <td align="center"><b>${totalQuantity?default(0)}</b></td> + <td align="right"> </td> + <td align="right"> </td> + <td align="right"><b><@ofbizCurrency amount=shoppingCart.getDisplaySubTotal() isoCode=shoppingCart.getCurrency()/></b></td> + <td align="right"> </td> + </tr> + <tfoot> + </#if> + </table> +</div> +<script language="JavaScript" type="text/javascript"> + selectCartItem(); +</script> Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCart.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,75 @@ +<#-- +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 focusOnQuantity = requestParameters.focusOnQuantity!/> +<#assign cartLineIndex = requestParameters.cartLineIndex!/> +<#if cartLineIndex?? && cartLineIndex?has_content> + <#assign isInteger = Static["org.ofbiz.base.util.UtilValidate"].isInteger(cartLineIndex)> + <#if isInteger> + <#assign idx = cartLineIndex?number> + <#assign cartLine = shoppingCart.findCartItem(idx)!> + <#if cartLine?? && cartLine?has_content> + <#if cartLine.getProductId()??> + <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher, "url")!> + <#if !smallImageUrl?string?has_content> + <#assign smallImageUrl = "/images/defaultImage.jpg"> + </#if> + <#if smallImageUrl?string?has_content> + <div id="CartItemSelectedLeft"> + <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" align="left" class="cssImgSmall" /> + </div> + </#if> + <div id="CartItemSelectedRight"> + <#if cartLine.getProductId()?has_content> + ${cartLine.getProductId()} + <br/> + </#if> + <#if cartLine.getName()?has_content> + ${cartLine.getName()} + <#else> + <#if cartLine.getDescription()?has_content> + ${cartLine.getDescription()} + </#if> + </#if> + <#else> + <div id="CartItemSelectedRight"> + <#-- this is a non-product item --> + <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!} + </#if> + <br/> + <b>${uiLabelMap.CommonQuantity}</b> + <input type="text" id="itemQuantity" name="itemQuantity" value="${cartLine.getQuantity()}" size="5" maxlength="5"/> + <a href="javascript:void(0);" id="incrementQuantity"><img src="/images/expand.gif"></a> + <a href="javascript:void(0);" id="decrementQuantity"><img src="/images/collapse.gif"></a> + <br/> + <#if isManager?default(false)> + <b>${uiLabelMap.WebPosManagerModifyPriceNewPrice}</b> + <input type="hidden" id="cartLineIdx" name="cartLineIdx" value="${idx}"/> + <input type="text" id="modifyPrice" name="modifyPrice" value="${cartLine.getDisplayPrice()}" size="8"/> + <br/> + </#if> + <input type="hidden" id="lineIndex" name="lineIndex" value="${cartLineIndex}"/> + <a id="updateCartItem" name="updateCartItem" href="javascript:updateCartItem();" class="buttontext">${uiLabelMap.CommonUpdate}</a> + <a id="deleteCartItem" name="deleteCartItem" href="javascript:deleteCartItem('${cartLineIndex}');" class="buttontext">${uiLabelMap.CommonDelete}</a> + </div> + <script language="JavaScript" type="text/javascript"> + cartItemSelectedEvents('${focusOnQuantity}'); + </script> + </#if> + </#if> +</#if> Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/cart/ShowCartItemSelected.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,68 @@ +<#-- +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 productCategoryMembers??> +<table> + <#assign numButton = 1/> + <#assign cell = 0/> + <tr> + <#list productCategoryMembers as productCategoryMember> + <#assign product = productCategoryMember.getRelatedOne("Product", false)!> + <#if product?? && product?has_content> + <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "SMALL_IMAGE_URL", locale, dispatcher, "url")! /> + <#if !smallImageUrl?string?has_content> + <#assign smallImageUrl = "/images/defaultImage.jpg"> + </#if> + <#assign productName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "PRODUCT_NAME", locale, dispatcher, "html")! /> + <#if !productName?string?has_content> + <#assign productName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(product, "DESCRIPTION", locale, dispatcher, "html")! /> + </#if> + <#assign addItemLink = "javascript:addItem('" + product.productId + "', '1', 'Y');"> + <td> + <ol id="posButton"> + <#assign button = "button" + numButton> + <li id="${button}" class="notSelectedButton"> + <#if smallImageUrl?string?has_content> + <a href="${addItemLink}"> + <img src="<@ofbizContentUrl>${smallImageUrl}</@ofbizContentUrl>" align="center" class="cssImgSmall"/> + </a> + </#if> + </li> + </ol> + <div class="linkButton"> + <a href="${addItemLink}"> + <b>${productName}</b> + </a> + </div> + <td> + </#if> + <#assign numButton = numButton + 1/> + <#assign cell = cell + 1/> + <#if cell == 3> + </tr> + <#assign cell = 0/> + </#if> + </#list> + <#if cell != 3> + </tr> + </#if> +</table> +<script language="JavaScript" type="text/javascript"> + showSelectedButton(); +</script> +</#if> Propchange: ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/catalog/CategoryDetail.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl Mon Mar 28 11:15:43 2016 @@ -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. +--> +<#-- variable setup and worker calls --> +<#if (requestAttributes.topLevelList)??><#assign topLevelList = requestAttributes.topLevelList></#if> +<#if (requestAttributes.curCategoryId)??><#assign curCategoryId = requestAttributes.curCategoryId></#if> + +<#-- looping macro --> +<#macro categoryList parentCategory category wrapInBox> + <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME", "html")??> + <#assign categoryName = catContentWrappers[category.productCategoryId].get("CATEGORY_NAME", "html")> + <#else> + <#assign categoryName = category.categoryName!> + </#if> + <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION", "html")??> + <#assign categoryDescription = catContentWrappers[category.productCategoryId].get("DESCRIPTION", "html")> + <#else> + <#assign categoryDescription = category.description!> + </#if> + <#if curCategoryId?? && curCategoryId == category.productCategoryId> + <#assign browseCategoryButtonClass = "browsecategorybuttondisabled"> + <#else> + <#assign browseCategoryButtonClass = "browsecategorybutton"> + </#if> + <#if wrapInBox == "Y"> + <div id="sidedeepcategory"> + <h3><#if categoryDescription?has_content>${categoryDescription}<#else>${categoryName?default("")}</#if></h3> + <div> + <div class="browsecategorylist"> + </#if> + <li class="browsecategorytext"> + <#if parentCategory?has_content> + <#assign parentCategoryId = parentCategory.productCategoryId/> + <#else> + <#assign parentCategoryId = ""/> + </#if> + <#assign categoryUrl = "javascript:selectCategory('" + category.productCategoryId + "');"/> + <a href="${categoryUrl}" class="${browseCategoryButtonClass}"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></a> + <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?? && curCategoryId == category.productCategoryId)> + <#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)> + <#if subCatList??> + <#list subCatList as subCat> + <ol class="browsecategorylist"> + <@categoryList parentCategory=category category=subCat wrapInBox="N"/> + </ol> + </#list> + </#if> + </#if> + </li> + <#if wrapInBox == "Y"> + </div> + </div> + </div> + </#if> +</#macro> + +<#if topLevelList?has_content> +<div id="sidedeepcategory"> + <div> + <ol class="browsecategorylist"> + <#list topLevelList as category> + <@categoryList parentCategory=category category=category wrapInBox="N"/> + </#list> + </ol> + </div> +</div> +</#if> Propchange: ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/catalog/SideDeepCategory.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,98 @@ +<#-- +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="editAddress" style="display:none"> + <table border="0" width="100%"> + <tr> + <td width="100%" colspan="4"> + <br /> + </td> + </tr> + <tr> + <td width="15%"> + <b>${uiLabelMap.PartyLastName}</b> + </td> + <td width="35%"> + <input type="hidden" id="partyId" name="partyId" value="" /> + <input type="hidden" id="contactMechId" name="contactMechId" value="" /> + <input type="hidden" id="contactMechPurposeTypeId" name="contactMechPurposeTypeId" value="" /> + <input type="text" id="personLastName" name="personLastName" value="" size="40" /> + </td> + <td width="15%"> + <b>${uiLabelMap.PartyFirstName}</b> + </td> + <td width="35%"> + <input type="text" id="personFirstName" name="personFirstName" value="" size="40" /> + </td> + </tr> + <tr> + <td width="15%"> + <b>${uiLabelMap.PartyAddressLine1}</b> + </td> + <td width="35%"> + <input type="text" id="personAddress1" name="personAddress1" value="" size="40" /> + </td> + <td width="15%"> + <b>${uiLabelMap.PartyAddressLine2}</b> + </td> + <td width="35%"> + <input type="text" id="personAddress2" name="personAddress2" value="" size="40" /> + </td> + </tr> + <tr> + <td width="15%"> + <b>${uiLabelMap.CommonCountry}</b> + </td> + <td width="35%"> + <input type="text" id="countryProvinceGeo" name="countryProvinceGeo" value="" /> + </td> + <td width="15%"> + <b>${uiLabelMap.PartyState}</b> + </td> + <td width="35%"> + <input type="text" id="stateProvinceGeo" name="stateProvinceGeo" value="" /> + </td> + </tr> + <tr> + <td width="15%"> + <b>${uiLabelMap.PartyCity}</b> + </td> + <td width="35%"> + <input type="text" id="personCity" name="personCity" value="" size="40" /> + </td> + <td width="15%"> + <b>${uiLabelMap.PartyPostalCode}</b> + </td> + <td width="35%"> + <input type="text" id="personPostalCode" name="personPostalCode" value="" size="7" /> + </td> + </tr> + <tr> + <td width="100%" colspan="4"> + <br /> + </td> + </tr> + <tr> + <td width="100%" colspan="4" align="center"> + <input type="submit" id="editAddressCreateUpdate" name="editAddressCreateUpdate" value="${uiLabelMap.CommonCreate}"/> + + <input type="submit" id="editAddressCancel" name="editAddressCancel" value="${uiLabelMap.CommonCancel}"/> + </td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/customer/EditAddress.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,56 @@ +<#-- +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)!}</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> + <#-- Append CSS for catalog --> + <#if catalogStyleSheet??> + <link rel="stylesheet" href="${catalogStyleSheet}" type="text/css"/> + </#if> + <#-- Append CSS for tracking codes --> + <#if sessionAttributes.overrideCss??> + <link rel="stylesheet" href="${sessionAttributes.overrideCss}" type="text/css"/> + </#if> + <#-- Meta tags if defined by the page action --> + <#if metaDescription??> + <meta name="description" content="${metaDescription}"/> + </#if> + <#if metaKeywords??> + <meta name="keywords" content="${metaKeywords}"/> + </#if> +</head> +<body> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/includes/Header.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,66 @@ +<#-- +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??><#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> +<#if !errorMessageList?has_content> + <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_!> +</#if> +<#if !eventMessage?has_content> + <#assign eventMessage = requestAttributes._EVENT_MESSAGE_!> +</#if> +<#if !eventMessageList?has_content> + <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_!> +</#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> + +<div id="errors" style="display:none" class="errorPosMessage"/> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/includes/Messages.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl Mon Mar 28 11:15:43 2016 @@ -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="closeTerminal" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerCloseTerminalCashAmount}</td> + <td width="50%" align="left"><input type="text" id="endingDrawerCashAmount" name="endingDrawerCashAmount" size="10" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerCloseTerminalCheckAmount}</td> + <td width="50%" align="left"><input type="text" id="endingDrawerCheckAmount" name="endingDrawerCheckAmount" size="10" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerCloseTerminalCcAmount}</td> + <td width="50%" align="left"><input type="text" id="endingDrawerCcAmount" name="endingDrawerCcAmount" size="10" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerCloseTerminalGcAmount}</td> + <td width="50%" align="left"><input type="text" id="endingDrawerGcAmount" name="endingDrawerGcAmount" size="10" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerCloseTerminalOtherAmount}</td> + <td width="50%" align="left"><input type="text" id="endingDrawerOtherAmount" name="endingDrawerOtherAmount" size="10" value=""/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="closeTerminalConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="closeTerminalCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="closeTerminalFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/CloseTerminal.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl Mon Mar 28 11:15:43 2016 @@ -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. +--> +<div id="openTerminal" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerOpenTerminalDrawingAmount}</td> + <td width="50%" align="left"><input type="text" id="startingDrawerAmount" name="startingDrawerAmount" size="10" value=""/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="openTerminalConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="openTerminalCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="openTerminalFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/OpenTerminal.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,68 @@ +<#-- +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="paidOutAndIn" style="display:none"> + <input type="hidden" id="paidType" name="type"/> + <table border="0" width="100%"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td width="50%" align="right"> + <span id="amountPaidIn" style="display:none">${uiLabelMap.WebPosManagerPaidInAmount}</span> + <span id="amountPaidOut" style="display:none">${uiLabelMap.WebPosManagerPaidOutAmount}</span> + </td> + <td width="50%" align="left"><input type="text" id="amountInOut" name="amountInOut" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerPaidOutAndIndReason}</td> + <td width="50%" align="left"> + <div id="reasonIn" style="display:none"> + <select id="reasIn" name="reasonIn"> + <#list paidReasonIn as reason> + <option value="${reason.enumId}">${reason.get("description", locale)?default(reason.enumId)}</option> + </#list> + </select> + </div> + <div id="reasonOut" style="display:none"> + <select id="reasOut" name="reasonOut"> + <#list paidReasonOut as reason> + <option value="${reason.enumId}">${reason.get("description", locale)?default(reason.enumId)}</option> + </#list> + </select> + </div> + </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerPaidOutAndIndReasonComment}</td> + <td width="50%" align="left"><input type="text" id="reasonCommentInOut" name="reasonCommentInOut" value=""/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="paidOutAndInConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="paidOutAndInCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="paidOutAndInFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/PaidOutAndIn.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl Mon Mar 28 11:15:43 2016 @@ -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. +--> +<div id="voidOrder" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosManagerVoidOrderNumber}</td> + <td width="50%" align="left"><input type="text" id="orderId" name="orderId" size="10" value=""/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="voidOrderConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="voidOrderCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="voidOrderFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/manager/VoidOrder.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,54 @@ +<#-- +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="payCash" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b>${uiLabelMap.WebPosTransactionTotalDue} <span id="cashTotalDue"/></b> + </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b>${uiLabelMap.WebPosPayCashTotal} <span id="cashTotalPaid"/></b> + <a id="removeCashTotalPaid" href="javascript:void(0);"><img src="/images/collapse.gif"></a> + </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosPayCash}</td> + <td width="50%" align="left"> + <input type="text" id="amountCash" name="amountCash" size="10" value=""/> + </td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="payCashConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="payCashCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="payCashFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCash.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,56 @@ +<#-- +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="payCheck" style="display:none"> + <table border="0" width="100%"> + <tr rowspan="2"> + <td colspan="2"> </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b>${uiLabelMap.WebPosTransactionTotalDue} <span id="checkTotalDue"/></b> + </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b>${uiLabelMap.WebPosPayCheckTotal} <span id="checkTotalPaid"/></b> + <a id="removeCheckTotalPaid" href="javascript:void(0);"><img src="/images/collapse.gif"></a> + </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosPayCheck}</td> + <td width="50%" align="left"><input type="text" id="amountCheck" name="amountCheck" size="10" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosPayCheckRefNum}</td> + <td width="50%" align="left"><input type="text" id="refNumCheck" name="refNum" size="10" value=""/></td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="payCheckConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="payCheckCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="payCheckFormServerError"/></div></td> + </tr> + </table> +</div> Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCheck.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,151 @@ +<#-- +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="payCreditCard" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="4"> </td> + </tr> + <tr> + <td width="100%" align="center" colspan="4"> + <b>${uiLabelMap.WebPosTransactionTotalDue} <span id="creditCardTotalDue"/></b> + </td> + </tr> + <tr> + <td width="100%" align="center" colspan="4"> + <b>${uiLabelMap.WebPosPayCreditCardTotal} <span id="creditCardTotalPaid"/></b> + <a id="removeCreditCardTotalPaid" href="javascript:void(0);"><img src="/images/collapse.gif"></a> + </td> + </tr> + <tr> + <td width="100%" align="center" colspan="4"> + ${uiLabelMap.WebPosPayCreditCardSwipe} <input type="checkbox" id="swipeCard" name="swipeCard" value="Y" checked="checked"> + </td> + </tr> + <tr id="showSwipeData"> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardSwipeData} + </td> + <td width="75%" align="left" colspan="3"> + <input type="password" id="swipeData" name="swipeData" size="50" value=""/> + </td> + </tr> + <tr id="showCreditCardData1" style="display:none"> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardFirstName} + </td> + <td width="25%" align="left"> + <input type="text" id="firstName" name="firstName" size="20" maxlength="60" value=""/> + </td> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardLastName} + </td> + <td width="25%" align="left"> + <input type="text" id="lastName" name="lastName" size="20" maxlength="60" value=""/></td> + </td> + </tr> + <tr id="showCreditCardData2" style="display:none"> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardNum} + </td> + <td width="25%" align="left"> + <input type="text" id="cardNum" name="cardNum" size="20" maxlength="30" value=""/> + </td> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardExp} + </td> + <td width="25%" align="left"> + <#assign expMonth = ""> + <#assign expYear = ""> + <select id="expMonth" name="expMonth"> + <option value="01" <#if expMonth?default('') == '01'> selected="selected"</#if>>${uiLabelMap.CommonJanuary}</option> + <option value="02" <#if expMonth?default('') == '02'> selected="selected"</#if>>${uiLabelMap.CommonFebruary}</option> + <option value="03" <#if expMonth?default('') == '03'> selected="selected"</#if>>${uiLabelMap.CommonMarch}</option> + <option value="04" <#if expMonth?default('') == '04'> selected="selected"</#if>>${uiLabelMap.CommonApril}</option> + <option value="05" <#if expMonth?default('') == '05'> selected="selected"</#if>>${uiLabelMap.CommonMay}</option> + <option value="06" <#if expMonth?default('') == '06'> selected="selected"</#if>>${uiLabelMap.CommonJune}</option> + <option value="07" <#if expMonth?default('') == '07'> selected="selected"</#if>>${uiLabelMap.CommonJuly}</option> + <option value="08" <#if expMonth?default('') == '08'> selected="selected"</#if>>${uiLabelMap.CommonAugust}</option> + <option value="09" <#if expMonth?default('') == '09'> selected="selected"</#if>>${uiLabelMap.CommonSeptember}</option> + <option value="10" <#if expMonth?default('') == '10'> selected="selected"</#if>>${uiLabelMap.CommonOctober}</option> + <option value="11" <#if expMonth?default('') == '11'> selected="selected"</#if>>${uiLabelMap.CommonNovember}</option> + <option value="12" <#if expMonth?default('') == '12'> selected="selected"</#if>>${uiLabelMap.CommonDecember}</option> + </select> + <select id="expYear" name="expYear"> + <#assign ccExprYear = requestParameters.expYear!> + <#if ccExprYear?has_content> + <option value="${ccExprYear!}">${ccExprYear!}</option> + </#if> + ${screens.render("component://common/widget/CommonScreens.xml#ccyears")} + </select> + </td> + </tr> + <tr> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardType} + </td> + <td width="25%" align="left"> + <select id="cardType" name="cardType"> + ${screens.render("component://common/widget/CommonScreens.xml#cctypes")} + </select> + </td> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardSecurityCode} + </td> + <td width="25%" align="left"> + <input type="text" id="securityCode" name="securityCode" size="5" maxlength="10" value=""/> + <input type="hidden" name="track2" id="track2"/> + </td> + </tr> + <tr> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCard} + </td> + <td width="25%" align="left"> + <input type="text" id="amountCreditCard" name="amountCreditCard" size="10" value=""/> + </td> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardPostalCode} + </td> + <td width="25%" align="left"> + <input type="text" id="postalCode" name="postalCode" value=""/> + </td> + </tr> + <tr> + <td width="25%" align="right"> + ${uiLabelMap.WebPosPayCreditCardRefNum} + </td> + <td width="25%" align="left"> + <input type="text" id="refNumCreditCard" name="refNum" size="10" value=""/> + </td> + <td width="50%" colspan="2"> </td> + </tr> + <tr> + <td width="100%" colspan="4"> </td> + </tr> + <tr> + <td colspan="4" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="payCreditCardConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="payCreditCardCancel"/> + </td> + </tr> + <tr> + <td colspan="4"><div class="errorPosMessage"><span id="payCreditCardFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayCreditCard.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,56 @@ +<#-- +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="payGiftCard" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b>${uiLabelMap.WebPosTransactionTotalDue} <span id="giftCardTotalDue"/></b> + </td> + </tr> + <tr> + <td width="100%" align="center" colspan="2"> + <b>${uiLabelMap.WebPosPayGiftCardTotal} <span id="giftCardTotalPaid"/></b> + <a id="removeGiftCardTotalPaid" href="javascript:void(0);"><img src="/images/collapse.gif"></a> + </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosPayGiftCard}</td> + <td width="50%" align="left"><input type="text" id="amountGiftCard" name="amountGiftCard" size="10" value=""/></td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosPayGiftCardRefNum}</td> + <td width="50%" align="left"><input type="text" id="refNumGiftCard" name="refNum" size="10" value=""/></td> + </tr> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="payGiftCardConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="payGiftCardCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="payGiftCardFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/payment/PayGiftCard.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl Mon Mar 28 11:15:43 2016 @@ -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. +--> +<div id="promo" style="display:none"> + <table border="0" width="100%"> + <tr> + <td colspan="2"> </td> + </tr> + <tr> + <td width="50%" align="right">${uiLabelMap.WebPosPromoCode}</td> + <td width="50%" align="left"><input type="text" id="promoCode" name="promoCode" size="10" value=""/></td> + </tr> + <tr> + <td colspan="2""> </td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" value="${uiLabelMap.CommonConfirm}" id="promoCodeConfirm"/> + <input type="submit" value="${uiLabelMap.CommonCancel}" id="promoCodeCancel"/> + </td> + </tr> + <tr> + <td colspan="2"><div class="errorPosMessage"><span id="promoCodeFormServerError"/></div></td> + </tr> + </table> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/promo/PromoCode.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,121 @@ +<#-- +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 class="screenlet"> + <div class="screenlet-title-bar"> + <ul> + <li class="h3"> + <a id="billingAddressSelected" href="javascript:void(0);">${uiLabelMap.WebPosBillingAddress}</a> + + <a id="shippingAddressSelected" href="javascript:void(0);">${uiLabelMap.WebPosShippingAddress}</a> + </li> + </ul> + <br class="clear" /> + </div> + <div class="screenlet-body"> + <div id="customerAddress"> + <div id="centerTopBarLeft"> + <input type="hidden" id="billingLocation" name="billingLocation" value="Y"/> + <input type="hidden" id="shippingLocation" name="shippingLocation" value="N"/> + <div id="billingAddress"> + <table class="basic-table" cellspacing="0"> + <#if billingPostalAddress??> + <#if personBillTo??> + <tr> + <td><b><#if personBillTo.lastName?has_content>${personBillTo.lastName}</#if> <#if personBillTo.firstName?has_content>${personBillTo.firstName}</#if></b></td> + </tr> + </#if> + <#assign state = billingPostalAddress.getRelatedOne("StateProvinceGeo", false)!/> + <#assign country = billingPostalAddress.getRelatedOne("CountryGeo", false)!/> + <tr> + <td><#if billingPostalAddress.address1?has_content>${billingPostalAddress.address1}</#if></td> + </tr> + <tr> + <td><#if billingPostalAddress.city?has_content>${billingPostalAddress.city},</#if> <#if state?? && state?has_content && state.geoCode?has_content>${state.geoCode}</#if> <#if billingPostalAddress.postalCode?has_content>${billingPostalAddress.postalCode}</#if> + </td> + </tr> + <tr> + <td><#if country?? && country?has_content &&country.get("geoName", locale)?has_content>${country.get("geoName", locale)}</#if> + </td> + </tr> + <#else> + <tr> + <td> </td> + </tr> + <tr> + <td align="center"><b>${uiLabelMap.WebPosNoPartyInformation}</b></td> + </tr> + </#if> + </table> + </div> + <div id="shippingAddress" style="display:none"> + <table class="basic-table" cellspacing="0"> + <#if shippingPostalAddress??> + <#if personShipTo??> + <tr> + <td><b><#if personShipTo.lastName?has_content>${personShipTo.lastName}</#if> <#if personShipTo.firstName?has_content>${personShipTo.firstName}</#if></b></td> + </tr> + </#if> + <#assign state = shippingPostalAddress.getRelatedOne("StateProvinceGeo", false)!/> + <#assign country = shippingPostalAddress.getRelatedOne("CountryGeo", false)!/> + <tr> + <td><#if shippingPostalAddress.address1?has_content>${shippingPostalAddress.address1}</#if></td> + </tr> + <tr> + <td><#if shippingPostalAddress.city?has_content>${shippingPostalAddress.city},</#if> <#if state?? && state?has_content && state.geoCode?has_content>${state.geoCode}</#if> <#if shippingPostalAddress.postalCode?has_content>${shippingPostalAddress.postalCode}</#if> + </td> + </tr> + <tr> + <td> + <input type="hidden" id="shipToSelected" value="Y"/> + <#if country?? && country?has_content && country.get("geoName", locale)?has_content>${country.get("geoName", locale)}</#if> + </td> + </tr> + <#else> + <tr> + <td> </td> + </tr> + <tr> + <td align="center"><b>${uiLabelMap.WebPosNoPartyInformation}</b></td> + </tr> + </#if> + </table> + </div> + </div> + <div id="centerTopBarRight" > + ${screens.render("component://webpos/widget/SearchScreens.xml#Parties")} + <div id="billingPanel"> + <div> <br /></div> + <div> + <br /> + </div> + </div> + <div id="shipMethodPanel" style="display:none"> + <div id="shipMethodFormServerError"></div> + <div> + <label for="shipMethod"><b>${uiLabelMap.WebPosShippingMethod}</b></label> + <div id="shipMethodSelection"></div> + </div> + </div> + </div> + </div> + </div> +</div> +<script language="JavaScript" type="text/javascript"> + customerAddressSelected(); +</script> Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/CustomerAddress.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl Mon Mar 28 11:15:43 2016 @@ -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. +--> +<div> + <input type="hidden" id="partyIdentificationTypeId" name="partyIdentificationTypeId" value=""> + <label for="searchPartyBy"><b> ${uiLabelMap.WebPosSearchBy}</b></label> + <select id="searchPartyBy" name="searchPartyBy"> + <option value="lastName" selected>${uiLabelMap.PartyLastName}</option> + <option value="firstName">${uiLabelMap.PartyFirstName}</option> + <option value="idValue">${uiLabelMap.PartyPartyIdentification}</option> + </select> + <br/> + <input type="text" id="partyToSearch" name="partyToSearch" size="30" maxlength="100"> + <input type="submit" value="${uiLabelMap.CommonSearch}" id="partySearchConfirm"/> + <br/> +</div> +<script language="JavaScript" type="text/javascript"> + partyKeyEvents(); +</script> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/SearchParties.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl?rev=1736869&view=auto ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl (added) +++ ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl Mon Mar 28 11:15:43 2016 @@ -0,0 +1,86 @@ +<#-- +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="searchPartiesResults" style="display:none"> + <form method="post" action="javascript:void(0);" id="SearchPartiesResultsForm" name="SearchPartiesResultsForm"> + <table> + <tr> + <td width="12.5%"> + <label for="searchByPartyLastName"><b> ${uiLabelMap.PartyLastName}</b></label> + </td> + <td width="12.5%"> + <input type="text" id="searchByPartyLastName" name="searchByPartyLastName"/> + </td> + <td width="12.5%"> + <label for="searchByPartyFirstName"><b> ${uiLabelMap.PartyFirstName}</b></label> + </td> + <td width="12.5%"> + <input type="text" id="searchByPartyFirstName" name="searchByPartyFirstName"/> + </td> + <td width="20%"> + <label for="billingLocation"><b> ${uiLabelMap.WebPosBillingAddress}</b></label> + </td> + <td width="5%"> + <input type="checkbox" id="billingLoc" name="billingLoc"/> + </td> + <td width="20%"> + <label for="shippingLocation"><b> ${uiLabelMap.WebPosShippingAddress}</b></label> + </td> + <td width="5%"> + <input type="checkbox" id="shippingLoc" name="shippingLoc"/> + </td> + </tr> + <tr> + <td width="12.5%"> + <label for="searchByPartyIdValue"><b> ${uiLabelMap.PartyPartyIdentification}</b></label> + </td> + <td width="12.5%"> + <input type="text" id="searchByPartyIdValue" name="searchByPartyIdValue"/> + </td> + <td width="50%" colspan="4" style="text-align:center"> + <input type="submit" value="${uiLabelMap.CommonSearch}" id="searchPartiesResultsSearch"/> + + <input type="submit" value="${uiLabelMap.CommonCancel}" id="searchPartiesResultsCancel"/> + </td> + <td width="25%" colspan="2"></td> + </tr> + </table> + <table cellspacing="0" cellpadding="2" class="basic-table"> + <thead class="searchPartiesResultsHead"> + <tr class="header-row"> + <td> </td> + <td><b>${uiLabelMap.PartyPartyId}</b></td> + <td><b>${uiLabelMap.PartyLastName}</b></td> + <td><b>${uiLabelMap.PartyFirstName}</b></td> + <td><b>${uiLabelMap.PartyAddressLine1}</b></td> + <td><b>${uiLabelMap.PartyCity}</b></td> + <td><b>${uiLabelMap.PartyPostalCode}</b></td> + <td><b>${uiLabelMap.PartyState}</b></td> + <td><b>${uiLabelMap.CommonCountry}</b></td> + <td><b>B/S</b></td> + </tr> + </thead> + <tbody id="searchPartiesResultsList" class="searchPartiesResultsCartBody"> + <tr> + <td colspan="9"> + </td> + </tr> + <tbody> + </table> + </form> +</div> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/specialpurpose/webpos/template/search/SearchPartiesResults.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain |
Free forum by Nabble | Edit this page |