Thanks Jacques :) Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com
On Sat, Apr 2, 2016 at 4:10 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > You are right Deepak! > > We not only lose history when doing so but we also lose annotation which > is even more annoying. > > I will revert all the recent changes I committed and we (committers) need > to do the job directly in our working copies. > > So I'm happy from help from other committers to do so. I think it's even > easier for us than applying patches, etc. > > Note: patches should never be used to move files, we all (committers at > least) need to remember that, my bad sorry :/ > > Thanks > > Jacques > > Le 02/04/2016 12:12, Deepak Dixit a écrit : > >> Hi Jacques, >> >> I think we need to use svn mv command to move files to new location else >> we >> will lose the svn history of all files. >> >> Thanks & Regards >> -- >> Deepak Dixit >> www.hotwaxsystems.com >> >> On Mon, Mar 28, 2016 at 4:44 PM, <jler...@apache.org> wrote: >> >> Author: jleroux >>> Date: Mon Mar 28 11:14:22 2016 >>> New Revision: 1736868 >>> >>> URL: http://svn.apache.org/viewvc?rev=1736868&view=rev >>> Log: >>> A patch from Pierre Smits for <<relocate .ftl files in the order >>> component>> https://issues.apache.org/jira/browse/OFBIZ-6819 >>> >>> Added: >>> ofbiz/trunk/applications/order/template/ >>> ofbiz/trunk/applications/order/template/entry/ >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/SplitShip.ftl (with >>> props) >>> >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/addrsettings.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/billsettings.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/cart/ >>> >>> >>> ofbiz/trunk/applications/order/template/entry/cart/addItemsToShoppingList.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/cart/associatedProducts.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/cart/javascript.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/cart/manualPromotions.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/cart/minicart.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/cart/promoCodes.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/cart/promoText.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/cart/promoUseDetailsInline.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/cart/promotioncategories.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/cart/promotiondetails.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/cart/promotionproducts.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/cart/promotionsApplied.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/cart/showAllPromotions.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/cart/showcart.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/cart/showcartitems.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/catalog/ >>> >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/ProductUomDropDownOnly.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/advancedsearch.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/breadcrumbs.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/catalog/category.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/categorydetail.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/choosecatalog.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/compareproducts.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/compareproductslist.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/configproductdetail.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/editProduct.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/inlineProductDetail.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/keywordsearch.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/keywordsearchbox.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/catalog/product.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/productdetail.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/productsummary.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/catalog/quickadd.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/quickaddsummary.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/catalog/sidedeepcategory.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/catalog/tagsearch.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/checkinits.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/checkoutoptions.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/checkoutpayment.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/checkoutshippingaddress.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/customertaxinfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/custsettings.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/editShipAddress.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/optionsettings.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/order/ >>> >>> ofbiz/trunk/applications/order/template/entry/order/orderheaderinfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/order/orderitems.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/entry/order/orderpaymentinfo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/entry/order/shipGroupConfirmSummary.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/orderHeaderInfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/orderShortcuts.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/orderagreements.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/orderparty.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/orderterms.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/poheader.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/setAdditionalParty.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/entry/shipsettings.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/entry/survey.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/ >>> ofbiz/trunk/applications/order/template/order/GiftCertificates.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/order/OrderDeliveryScheduleInfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/OrderListByDate.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/OrderSalesReps.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/appendorderitem.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/companyHeader.fo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/editorderitems.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/findOrders.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/orderReportBody.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/order/orderReportConditions.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/order/orderReportContactMechs.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/order/orderReportHeaderInfo.fo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/ordercontactinfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/orderinfo.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/orderitems.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/orderlist.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/ordernotes.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/orderpaymentinfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/ordershippinginfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/orderstats.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/orderterms.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/order/receivepayment.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/order/sendconfirmationemail.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/shipGroups.fo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/order/transitions.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/order/viewimage.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/product/ >>> >>> ofbiz/trunk/applications/order/template/product/configproductdetail.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/product/productdetail.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/quote/ >>> ofbiz/trunk/applications/order/template/quote/CopyQuote.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/quote/ManageQuotePrices.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/quote/ManageQuotePricesTotals.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/quote/ViewQuoteItemInfo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/quote/ViewQuoteProfit.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/quote/quoteDate.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/quote/quoteInfo.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/quote/quoteReportBody.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/quote/quoteReportContactMechs.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/quote/quoteReportHeaderInfo.fo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/quote/quoteRoles.ftl (with >>> props) >>> ofbiz/trunk/applications/order/template/reports/ >>> >>> >>> ofbiz/trunk/applications/order/template/reports/OrderPurchaseReportPayment.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/reports/OrderPurchaseReportProduct.fo.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/reports/OrderReportPrepare.groovy >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/reports/PurchasesByOrganizationReport.fo.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/reports/SalesByStoreReport.fo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/reports/orderitemreport.xml >>> (with props) >>> ofbiz/trunk/applications/order/template/reports/orderreport.xml >>> (with props) >>> ofbiz/trunk/applications/order/template/reports/reportlist.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/request/ >>> >>> >>> ofbiz/trunk/applications/order/template/request/AddedNoteCustRequestNotification.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/request/CompletedCustRequestNotification.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/request/CopyRequestItem.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/request/CreateCustRequestNotification.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/request/QuoteLinks.ftl >>> (with >>> props) >>> >>> ofbiz/trunk/applications/order/template/request/ViewRequestItemInfo.ftl >>> (with props) >>> >>> ofbiz/trunk/applications/order/template/request/requestContactMech.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/request/requestDate.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/request/requestitemnotes.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/return/ >>> ofbiz/trunk/applications/order/template/return/quickReturn.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/return/returnHeader.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/return/returnItemInc.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/return/returnItems.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/return/returnLinks.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/return/returnList.ftl >>> (with >>> props) >>> >>> ofbiz/trunk/applications/order/template/return/returnReportBody.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/return/returnReportConditions.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/return/returnReportContactMechs.fo.ftl >>> (with props) >>> >>> >>> ofbiz/trunk/applications/order/template/return/returnReportHeaderInfo.fo.ftl >>> (with props) >>> ofbiz/trunk/applications/order/template/setup/ >>> ofbiz/trunk/applications/order/template/setup/paymentsetup.ftl >>> (with >>> props) >>> ofbiz/trunk/applications/order/template/task/ >>> ofbiz/trunk/applications/order/template/task/ordertasklist.ftl >>> (with >>> props) >>> Modified: >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/CustRequestScreens.xml >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCartScreens.xml >>> >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCatalogScreens.xml >>> >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryCommonScreens.xml >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryOrderScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderEntryScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderPrintScreens.xml >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderReportScreens.xml >>> >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderReturnScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderSetupScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderTaskScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/OrderViewScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/QuoteScreens.xml >>> ofbiz/trunk/applications/order/widget/ordermgr/ReportScreens.xml >>> >>> Added: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> (added) >>> +++ >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> Mon Mar 28 11:14:22 2016 >>> @@ -0,0 +1,40 @@ >>> +<#-- >>> +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> >>> + <#if orderHeader?has_content> >>> + <li class="h3"> >>> + ${uiLabelMap.PageTitleLookupBulkAddProduct} >>> + </li> >>> + <#else> >>> + <li class="h3"> >>> + ${uiLabelMap.CommonCreate} >>> + <#if shoppingCart.getOrderType() == "PURCHASE_ORDER"> >>> + ${uiLabelMap.OrderPurchaseOrder} >>> + <#else> >>> + ${uiLabelMap.OrderSalesOrder} >>> + </#if> >>> + </li> >>> + <li><a >>> >>> href="<@ofbizUrl>orderentry</@ofbizUrl>">${uiLabelMap.OrderOrderItems}</a></li> >>> + </#if> >>> + </ul> >>> +</div> >>> +</div> >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCatalogTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> (added) >>> +++ >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> Mon Mar 28 11:14:22 2016 >>> @@ -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. >>> +--> >>> + >>> +<#if stepTitleId??> >>> + <#assign stepTitle = uiLabelMap.get(stepTitleId)> >>> +</#if> >>> +<div class="screenlet"> >>> + <div class="screenlet-title-bar"> >>> + <ul> >>> + <li class="h3"> >>> + <#if shoppingCart.getOrderType() == "PURCHASE_ORDER"> >>> + ${uiLabelMap.OrderPurchaseOrder} >>> + <#else> >>> + ${uiLabelMap.OrderSalesOrder} >>> + </#if> >>> + : ${stepTitle!} >>> + </li> >>> + >>> + <#if isLastStep == "N"> >>> + <li><a >>> >>> href="javascript:document.checkoutsetupform.submit();">${uiLabelMap.CommonContinue}</a></li> >>> + <#else> >>> + <li><a >>> >>> href="<@ofbizUrl>processorder</@ofbizUrl>">${uiLabelMap.OrderCreateOrder}</a></li> >>> + </#if> >>> + >>> + <#list checkoutSteps?reverse as checkoutStep> >>> + <#assign stepUiLabel = uiLabelMap.get(checkoutStep.label)> >>> + <#if checkoutStep.enabled == "N"> >>> + <li><span class="disabled">${stepUiLabel}</span></li> >>> + <#else> >>> + <li><a >>> href="<@ofbizUrl>${checkoutStep.uri}</@ofbizUrl>">${stepUiLabel}</a></li> >>> + </#if> >>> + </#list> >>> + </ul> >>> + <br class="clear" /> >>> + </div> >>> +</div> >>> >>> Propchange: >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: >>> >>> ofbiz/trunk/applications/order/template/entry/OrderEntryCheckOutTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> (added) >>> +++ ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> Mon >>> Mar 28 11:14:22 2016 >>> @@ -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 class="screenlet"> >>> + <div class="screenlet-title-bar"> >>> + <ul> >>> + <li class="h3"> >>> + ${uiLabelMap.CommonCreate} >>> + <#if shoppingCart.getOrderType() == "PURCHASE_ORDER"> >>> + ${uiLabelMap.OrderPurchaseOrder} >>> + <#else> >>> + ${uiLabelMap.OrderSalesOrder} >>> + </#if> >>> + </li> >>> + <#if shoppingCart.getOrderType() == "PURCHASE_ORDER"> >>> + <#if shoppingCart.getOrderPartyId() == "_NA_" || >>> (shoppingCart.size() = 0)> >>> + <li class="disabled">${uiLabelMap.OrderFinalizeOrder}</li> >>> + <#else> >>> + <li><a >>> >>> href="<@ofbizUrl>finalizeOrder?finalizeMode=purchase&finalizeReqCustInfo=false&finalizeReqShipInfo=false&finalizeReqOptions=false&finalizeReqPayInfo=false</@ofbizUrl>">${uiLabelMap.OrderFinalizeOrder}</a></li> >>> + </#if> >>> + <#else> >>> + <#if shoppingCart.size() = 0> >>> + <li >>> class="disabled">${uiLabelMap.OrderQuickFinalizeOrder}</li> >>> + <li >>> class="disabled">${uiLabelMap.OrderFinalizeOrderDefault}</li> >>> + <li class="disabled">${uiLabelMap.OrderFinalizeOrder}</li> >>> + <#else> >>> + <li><a >>> >>> href="<@ofbizUrl>quickcheckout</@ofbizUrl>">${uiLabelMap.OrderQuickFinalizeOrder}</a></li> >>> + <li><a >>> >>> href="<@ofbizUrl>finalizeOrder?finalizeMode=default</@ofbizUrl>">${uiLabelMap.OrderFinalizeOrderDefault}</a></li> >>> + <li><a >>> >>> href="<@ofbizUrl>finalizeOrder?finalizeMode=init</@ofbizUrl>">${uiLabelMap.OrderFinalizeOrder}</a></li> >>> + </#if> >>> + </#if> >>> + >>> + <#if (shoppingCart.size() > 0)> >>> + <li><a >>> >>> href="javascript:document.cartform.submit()">${uiLabelMap.OrderRecalculateOrder}</a></li> >>> + <li><a >>> >>> href="javascript:removeSelected();">${uiLabelMap.OrderRemoveSelected}</a></li> >>> + <#else> >>> + <li class="disabled">${uiLabelMap.OrderRecalculateOrder}</li> >>> + <li class="disabled">${uiLabelMap.OrderRemoveSelected}</li> >>> + </#if> >>> + <li><a >>> >>> href="<@ofbizUrl>emptycart</@ofbizUrl>">${uiLabelMap.OrderClearOrder}</a></li> >>> + </ul> >>> + <br class="clear"> >>> + </div> >>> +</div> >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/OrderEntryTabBar.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: >>> ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> (added) >>> +++ ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> Mon Mar 28 11:14:22 2016 >>> @@ -0,0 +1,112 @@ >>> +<#-- >>> +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 security.hasEntityPermission("ORDERMGR", "_CREATE", session) || >>> security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)> >>> +<form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" >>> name="checkoutsetupform"> >>> + <input type="hidden" name="finalizeMode" >>> value="removeEmptyShipGroups"/> >>> +</form> >>> + >>> +<table border="0" width='100%' cellspacing='0' cellpadding='0' >>> class='boxoutside'> >>> +<tr> >>> + <td width='100%'> >>> + <table width='100%' border='0' cellspacing='0' cellpadding='0' >>> class='boxbottom'> >>> + <tr> >>> + <td> >>> + <#list 1..shoppingCart.getShipGroupSize() as currIndex> >>> + <#assign shipGroupIndex = currIndex - 1> >>> + <#assign supplier = delegator.findOne("PartyGroup", >>> Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", >>> shoppingCart.getSupplierPartyId(shipGroupIndex)), false)! /> >>> + <table width="100%" cellpadding="1" border="0" >>> cellpadding="0" cellspacing="0"> >>> + <tr> >>> + <td colspan="2"> >>> + <h1>${uiLabelMap.OrderShipGroup} >>> ${uiLabelMap.CommonNbr} ${currIndex}<#if supplier?has_content> - >>> ${uiLabelMap.OrderDropShipped} - >>> ${supplier.groupName?default(supplier.partyId)}</#if></h1> >>> + </td> >>> + </tr> >>> + <tr> >>> + <td> >>> + <div>${uiLabelMap.ProductProduct}</div> >>> + </td> >>> + <td> >>> + <div>${uiLabelMap.CommonQuantity}</div> >>> + </td> >>> + <td> >>> + <div>${uiLabelMap.ProductMoveQuantity}</div> >>> + </td> >>> + <td> >>> + <div>${uiLabelMap.OrderShipGroupTo}</div> >>> + </td> >>> + </tr> >>> + >>> + <#assign shipGroupItems = >>> shoppingCart.getShipGroupItems(shipGroupIndex)> >>> + <#assign shoppingCartItems = >>> shipGroupItems.keySet().iterator()> >>> + <form method="post" >>> action="<@ofbizUrl>assignItemToShipGroups</@ofbizUrl>" >>> name="assignitemtoshipgroup${shipGroupIndex}"> >>> + <input type="hidden" name="_useRowSubmit" value="N" /> >>> + <#assign rowCount = 0> >>> + <#list shoppingCartItems as shoppingCartItem> >>> + <#assign cartLineIndex = >>> shoppingCart.getItemIndex(shoppingCartItem)> >>> + <#assign shipGroupItemQuantity = >>> shipGroupItems.get(shoppingCartItem)> >>> + <input type="hidden" name="itemIndex_o_${rowCount}" >>> value="${cartLineIndex}"/> >>> + <input type="hidden" >>> name="clearEmptyGroups_o_${rowCount}" value="false"/> >>> + <input type="hidden" name="fromGroupIndex_o_${rowCount}" >>> value="${shipGroupIndex}"/> >>> + <tr> >>> + <td> >>> + <div>[${shoppingCartItem.getProductId()}] >>> ${shoppingCartItem.getName()!}: >>> ${shoppingCartItem.getDescription()!}</div> >>> + </td> >>> + <td> >>> + <div>${shipGroupItemQuantity}</div> >>> + </td> >>> + <td> >>> + <div><input type="text" >>> name="quantity_o_${rowCount}" >>> value="${shipGroupItemQuantity}"/></div> >>> + </td> >>> + <td> >>> + <div> >>> + <select name="toGroupIndex_o_${rowCount}"> >>> + <option value="${shipGroupIndex}">---</option> >>> + <#list 0..(shoppingCart.getShipGroupSize() - 1) as >>> groupIdx> >>> + <#assign groupNumber = groupIdx + 1> >>> + <option >>> value="${groupIdx}">${uiLabelMap.CommonGroup} ${uiLabelMap.CommonNbr} >>> ${groupNumber}</option> >>> + </#list> >>> + </select> >>> + </div> >>> + </td> >>> + </tr> >>> + <#assign rowCount = rowCount + 1> >>> + </#list> >>> + <#if (rowCount > 0)> >>> + <tr> >>> + <td colspan="3"> </td> >>> + <td> >>> + <input type="submit" class="smallSubmit" >>> value="${uiLabelMap.CommonSubmit}"/> >>> + </td> >>> + </tr> >>> + </#if> >>> + </table> >>> + <input type="hidden" name="_rowCount" value="${rowCount}" /> >>> + </form> >>> + </#list> >>> + </td> >>> + </tr> >>> + </table> >>> + </td> >>> + </tr> >>> +</table> >>> + >>> +<br /> >>> +<#else> >>> + <h3>${uiLabelMap.OrderViewPermissionError}</h3> >>> +</#if> >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/SetItemShipGroups.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: ofbiz/trunk/applications/order/template/entry/SplitShip.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/SplitShip.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- ofbiz/trunk/applications/order/template/entry/SplitShip.ftl (added) >>> +++ ofbiz/trunk/applications/order/template/entry/SplitShip.ftl Mon Mar >>> 28 >>> 11:14:22 2016 >>> @@ -0,0 +1,263 @@ >>> +<#-- >>> +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"> >>> +//<![CDATA[ >>> +function submitForm(form, mode, value) { >>> + if (mode == "DN") { >>> + // done action; payment info >>> + >>> >>> form.action="<@ofbizUrl>updateShippingOptions/checkoutpayment</@ofbizUrl>"; >>> + form.submit(); >>> + } else if (mode == "CS") { >>> + // continue shopping >>> + >>> form.action="<@ofbizUrl>updateShippingOptions/showcart</@ofbizUrl>"; >>> + form.submit(); >>> + } else if (mode == "NA") { >>> + // new address >>> + >>> >>> form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?DONE_PAGE=splitship&partyId=${cart.getPartyId()}&preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION</@ofbizUrl>"; >>> + form.submit(); >>> + } else if (mode == "SV") { >>> + // save option; return to current screen >>> + >>> form.action="<@ofbizUrl>updateShippingOptions/splitship</@ofbizUrl>"; >>> + form.submit(); >>> + } else if (mode == "SA") { >>> + // selected shipping address >>> + >>> form.action="<@ofbizUrl>updateShippingAddress/splitship</@ofbizUrl>"; >>> + form.submit(); >>> + } >>> +} >>> +//]]> >>> +</script> >>> + >>> +<div class="screenlet"> >>> + <div class="screenlet-title-bar"> >>> + <div class="h3">${uiLabelMap.OrderItemGroups}</div> >>> + </div> >>> + <div class="screenlet-body"> >>> + <table width="100%" cellspacing="0" cellpadding="1" border="0"> >>> + <#assign shipGroups = cart.getShipGroups()> >>> + <#if (shipGroups.size() > 0)> >>> + <#assign groupIdx = 0> >>> + <#list shipGroups as group> >>> + <#assign shipEstimateWrapper = >>> >>> Static["org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper"].getWrapper(dispatcher, >>> cart, groupIdx)> >>> + <#assign carrierShipmentMethods = >>> shipEstimateWrapper.getShippingMethods()> >>> + <#assign groupNumber = groupIdx + 1> >>> + <form method="post" action="#" >>> name="editgroupform${groupIdx}" style="margin: 0;"> >>> + <input type="hidden" name="groupIndex" >>> value="${groupIdx}"/> >>> + <tr> >>> + <td> >>> + <div class="tabletext"><b>${uiLabelMap.CommonGroup} >>> ${groupNumber}:</b></div> >>> + <#list group.getShipItems() as item> >>> + <#assign groupItem = group.getShipItemInfo(item)> >>> + <div >>> class="tabletext"> ${item.getName()} - >>> (${groupItem.getItemQuantity()})</div> >>> + </#list> >>> + </td> >>> + <td> >>> + <div> >>> + <span >>> class='tabletext'>${uiLabelMap.CommonAdd}:</span> >>> + <a >>> href="javascript:submitForm(document.editgroupform${groupIdx}, 'NA', >>> '');" >>> class="buttontext">${uiLabelMap.PartyAddNewAddress}</a> >>> + </div> >>> + <div> >>> + <#assign selectedContactMechId = >>> cart.getShippingContactMechId(groupIdx)?default("")> >>> + <select name="shippingContactMechId" >>> class="selectBox" >>> onchange="javascript:submitForm(document.editgroupform${groupIdx}, 'SA', >>> null);"> >>> + <option >>> value="">${uiLabelMap.OrderSelectShippingAddress}</option> >>> + <#list shippingContactMechList as >>> shippingContactMech> >>> + <#assign shippingAddress = >>> shippingContactMech.getRelatedOne("PostalAddress", false)> >>> + <option >>> value="${shippingAddress.contactMechId}" <#if >>> (shippingAddress.contactMechId == >>> >>> selectedContactMechId)>selected="selected"</#if>>${shippingAddress.address1}</option> >>> + </#list> >>> + </select> >>> + </div> >>> + <#if cart.getShipmentMethodTypeId(groupIdx)??> >>> + <#assign selectedShippingMethod = >>> cart.getShipmentMethodTypeId(groupIdx) + "@" + >>> cart.getCarrierPartyId(groupIdx)> >>> + <#else> >>> + <#assign selectedShippingMethod = ""> >>> + </#if> >>> + <select name="shipmentMethodString" >>> class="selectBox"> >>> + <option >>> value="">${uiLabelMap.OrderSelectShippingMethod}</option> >>> + <#list carrierShipmentMethods as >>> carrierShipmentMethod> >>> + <#assign shippingEst = >>> >>> shipEstimateWrapper.getShippingEstimate(carrierShipmentMethod)?default(-1)> >>> + <#assign shippingMethod = >>> carrierShipmentMethod.shipmentMethodTypeId + "@" + >>> carrierShipmentMethod.partyId> >>> + <option value="${shippingMethod}" <#if >>> (shippingMethod == selectedShippingMethod)>selected="selected"</#if>> >>> + <#if carrierShipmentMethod.partyId != "_NA_"> >>> + ${carrierShipmentMethod.partyId!} >>> + </#if> >>> + ${carrierShipmentMethod.description!} >>> + <#if shippingEst?has_content> >>> + - >>> + <#if (shippingEst > -1)> >>> + <@ofbizCurrency amount=shippingEst >>> isoCode=cart.getCurrency()/> >>> + <#else> >>> + ${uiLabelMap.OrderCalculatedOffline} >>> + </#if> >>> + </#if> >>> + </option> >>> + </#list> >>> + </select> >>> + >>> + <h2>${uiLabelMap.OrderSpecialInstructions}</h2> >>> + <textarea class='textAreaBox' cols="35" rows="3" >>> wrap="hard" >>> >>> name="shippingInstructions">${cart.getShippingInstructions(groupIdx)!}</textarea> >>> + </td> >>> + <td> >>> + <div> >>> + <select name="maySplit" class="selectBox"> >>> + <#assign maySplitStr = >>> cart.getMaySplit(groupIdx)?default("")> >>> + <option >>> value="">${uiLabelMap.OrderSplittingPreference}</option> >>> + <option value="false" <#if maySplitStr == >>> >>> "N">selected="selected"</#if>>${uiLabelMap.OrderShipAllItemsTogether}</option> >>> + <option value="true" <#if maySplitStr == >>> >>> "Y">selected="selected"</#if>>${uiLabelMap.OrderShipItemsWhenAvailable}</option> >>> + </select> >>> + </div> >>> + <div> >>> + <select name="isGift" class="selectBox"> >>> + <#assign isGiftStr = >>> cart.getIsGift(groupIdx)?default("")> >>> + <option value="">${uiLabelMap.OrderIsGift} >>> ?</option> >>> + <option value="false" <#if isGiftStr == >>> "N">selected="selected"</#if>>${uiLabelMap.OrderNotAGift}</option> >>> + <option value="true" <#if isGiftStr == >>> "Y">selected="selected"</#if>>${uiLabelMap.OrderYesIsAGift}</option> >>> + </select> >>> + </div> >>> + >>> + <h2>${uiLabelMap.OrderGiftMessage}</h2> >>> + <textarea class='textAreaBox' cols="30" rows="3" >>> wrap="hard" >>> name="giftMessage">${cart.getGiftMessage(groupIdx)!}</textarea> >>> + </td> >>> + <td><input type="button" class="smallSubmit" >>> value="${uiLabelMap.CommonSave}" >>> onclick="javascript:submitForm(document.editgroupform${groupIdx}, 'SV', >>> null);"/></td> >>> + </tr> >>> + <#assign groupIdx = groupIdx + 1> >>> + <#if group_has_next> >>> + <tr> >>> + <td colspan="6"><hr /></td> >>> + </tr> >>> + </#if> >>> + </form> >>> + </#list> >>> + <#else> >>> + <div >>> class="tabletext">${uiLabelMap.OrderNoShipGroupsDefined}.</div> >>> + </#if> >>> + </table> >>> + </div> >>> +</div> >>> + >>> +<div class="screenlet"> >>> + <div class="screenlet-title-bar"> >>> + <div class="h3">${uiLabelMap.OrderAssignItems}</div> >>> + </div> >>> + <div class="screenlet-body"> >>> + <table width="100%" cellspacing="0" cellpadding="1" border="0"> >>> + <tr> >>> + <td><div >>> class="tabletext"><b>${uiLabelMap.OrderProduct}</b></div></td> >>> + <td align="center"><div >>> class="tabletext"><b>${uiLabelMap.OrderTotalQty}</b></div></td> >>> + <td> </td> >>> + <td align="center"><div >>> class="tabletext"><b>${uiLabelMap.OrderMoveQty}</b></div></td> >>> + <td> </td> >>> + <td> </td> >>> + </tr> >>> + >>> + <#list cart.items() as cartLine> >>> + <#assign cartLineIndex = cart.getItemIndex(cartLine)> >>> + <tr> >>> + <form method="post" >>> action="<@ofbizUrl>updatesplit</@ofbizUrl>" name="editgroupform" >>> style="margin: 0;"> >>> + <input type="hidden" name="itemIndex" >>> value="${cartLineIndex}"/> >>> + <td> >>> + <div class="tabletext"> >>> + <#if cartLine.getProductId()??> >>> + <#-- product item --> >>> + <#-- start code to display a small image of the >>> product --> >>> + <#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> >>> + <a >>> >>> href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>"> >>> + <img >>> >>> src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" >>> class="cssImgSmall" alt="" /> >>> + </a> >>> + </#if> >>> + <#-- end code to display a small image of the >>> product --> >>> + <a >>> >>> href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>" >>> class="buttontext">${cartLine.getProductId()} - >>> + ${cartLine.getName()!}</a> : >>> ${cartLine.getDescription()!} >>> + >>> + <#-- display the registered ship groups and >>> quantity --> >>> + <#assign itemShipGroups = >>> cart.getShipGroups(cartLine)> >>> + <#list itemShipGroups.entrySet() as group> >>> + <div class="tabletext"> >>> + <#assign groupNumber = group.getKey() + 1> >>> + <b>Group - </b>${groupNumber} / >>> <b>${uiLabelMap.CommonQuantity} - </b>${group.getValue()} >>> + </div> >>> + </#list> >>> + >>> + <#-- if inventory is not required check to see if >>> it is out of stock and needs to have a message shown about that... --> >>> + <#assign itemProduct = cartLine.getProduct()> >>> + <#assign >>> isStoreInventoryNotRequiredAndNotAvailable >>> = >>> >>> Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequiredAndAvailable(request, >>> itemProduct, cartLine.getQuantity(), false, false)> >>> + <#if isStoreInventoryNotRequiredAndNotAvailable && >>> itemProduct.inventoryMessage?has_content> >>> + <b>(${itemProduct.inventoryMessage})</b> >>> + </#if> >>> + >>> + <#else> >>> + <#-- this is a non-product item --> >>> + <b>${cartLine.getItemTypeDescription()!}</b> : >>> ${cartLine.getName()!} >>> + </#if> >>> + </div> >>> + >>> + </td> >>> + <td align="right"> >>> + <div >>> >>> class="tabletext">${cartLine.getQuantity()?string.number} </div> >>> + </td> >>> + <td> >>> + <div> </div> >>> + </td> >>> + <td align="center"> >>> + <input size="6" class="inputBox" type="text" >>> name="quantity" value="${cartLine.getQuantity()?string.number}"/> >>> + </td> >>> + <td> >>> + <div> </div> >>> + </td> >>> + <td> >>> + <div class="tabletext">${uiLabelMap.CommonFrom}: >>> + <select name="fromGroupIndex" class="selectBox"> >>> + <#list itemShipGroups.entrySet() as group> >>> + <#assign groupNumber = group.getKey() + 1> >>> + <option >>> value="${group.getKey()}">${uiLabelMap.CommonGroup} >>> ${groupNumber}</option> >>> + </#list> >>> + </select> >>> + </div> >>> + </td> >>> + <td> >>> + <div class="tabletext">${uiLabelMap.CommonTo}: >>> + <select name="toGroupIndex" class="selectBox"> >>> + <#list 0..(cart.getShipGroupSize() - 1) as >>> groupIdx> >>> + <#assign groupNumber = groupIdx + 1> >>> + <option >>> value="${groupIdx}">${uiLabelMap.CommonGroup} ${groupNumber}</option> >>> + </#list> >>> + <option value="-1">${uiLabelMap.CommonNew} >>> ${uiLabelMap.CommonGroup}</option> >>> + </select> >>> + </div> >>> + </td> >>> + <td><input type="submit" class="smallSubmit" >>> value="${uiLabelMap.CommonSubmit}"/></td> >>> + </form> >>> + </tr> >>> + </#list> >>> + </table> >>> + </div> >>> +</div> >>> + >>> +<table> >>> + <tr valign="top"> >>> + <td> >>> + <a >>> href="<@ofbizUrl>updateCheckoutOptions/showcart</@ofbizUrl>" >>> class="buttontextbig">${uiLabelMap.OrderBacktoShoppingCart}</a> >>> + </td> >>> + <td align="right"> >>> + <a href="<@ofbizUrl>setBilling</@ofbizUrl>" >>> class="buttontextbig">${uiLabelMap.CommonContinue}</a> >>> + </td> >>> + </tr> >>> +</table> >>> >>> Propchange: ofbiz/trunk/applications/order/template/entry/SplitShip.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: ofbiz/trunk/applications/order/template/entry/SplitShip.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: ofbiz/trunk/applications/order/template/entry/SplitShip.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> (added) >>> +++ >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> Mon Mar 28 11:14:22 2016 >>> @@ -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. >>> +--> >>> + >>> +<#-- ==================== Party Listing dialog box >>> ========================= --> >>> +<#if additionalPartyRoleMap?has_content> >>> +<div class="screenlet"> >>> + <div class="screenlet-title-bar"> >>> + <div class="h3">${uiLabelMap.PartyAdditionalPartyListing}</div> >>> + </div> >>> + <div class="screenlet-body"> >>> + <table border="0" width="100%" cellpadding="0"> >>> + <#list roleList as role> >>> + <tr> >>> + <td valign="bottom"><div>${roleData[role].get("description", >>> locale)}</div></td> >>> + </tr> >>> + <tr> >>> + <td colspan="4"><hr /></td> >>> + </tr> >>> + <#list additionalPartyRoleMap[role] as party> >>> + <tr> >>> + <td><div>${party}</div></td> >>> + <td> >>> + <div> >>> + <#if partyData[party].type == "person"> >>> + ${partyData[party].firstName!} >>> + <#else> >>> + ${partyData[party].groupName!} >>> + </#if> >>> + </div> >>> + </td> >>> + <td> >>> + <div> >>> + <#if partyData[party].type == "person"> >>> + ${partyData[party].lastName!} >>> + </#if> >>> + </div> >>> + </td> >>> + <td align="right"> >>> + <a >>> >>> href="<@ofbizUrl>removeAdditionalParty?additionalRoleTypeId=${role}&additionalPartyId=${party}</@ofbizUrl>" >>> class="buttontext">${uiLabelMap.CommonRemove}</a> >>> + </td> >>> + </tr> >>> + </#list> >>> + <tr><td> </td></tr> >>> + </#list> >>> + </table> >>> + </div> >>> +</div> >>> +</#if> >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/additionalPartyListing.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: ofbiz/trunk/applications/order/template/entry/addrsettings.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/addrsettings.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- ofbiz/trunk/applications/order/template/entry/addrsettings.ftl >>> (added) >>> +++ ofbiz/trunk/applications/order/template/entry/addrsettings.ftl Mon >>> Mar >>> 28 11:14:22 2016 >>> @@ -0,0 +1,80 @@ >>> +<#-- >>> +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 security.hasEntityPermission("ORDERMGR", "_CREATE", session) || >>> security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)> >>> + >>> +<form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" >>> name="checkoutsetupform"> >>> + <input type="hidden" name="finalizeMode" value="ship"/> >>> + <table width="100%" border="0" align="center" cellspacing='0' >>> cellpadding='0' class='boxoutside'> >>> + <tr><td> >>> + >>> + <#-- header table --> >>> + >>> + <table width="100%" border='0' cellspacing='0' cellpadding='0' >>> class='boxtop'> >>> + <tr> >>> + <td valign="middle"> >>> + <div >>> class="boxhead">${uiLabelMap.OrderSelectAShippingAddress}</div> >>> + </td> >>> + </tr> >>> + </table> >>> + >>> + <table width="100%" border='0' cellspacing='0' cellpadding='0' >>> class='boxbottom'> >>> + <tr><td colspan="3"><hr /></td></tr> >>> + >>> + <#-- postal addresses for chosen id --> >>> + >>> + <#if partyContactMechPurposes??> >>> + <#list partyContactMechPurposes as partyContactMechPurpose> >>> + <#assign shippingAddress = >>> partyContactMechPurpose.getRelatedOne("PostalAddress", false)/> >>> + >>> + <#-- skip non-postal addresses --> >>> + >>> + <#if shippingAddress.toName??> >>> + <tr> >>> + <td valign="top" nowrap="nowrap"> >>> + <input type="radio" name="shipping_contact_mech_id" >>> value="${partyContactMechPurpose.contactMechId}" /> >>> + </td> >>> + <td nowrap="nowrap"> </td> >>> + <td width="100%"> >>> + <div> >>> + <#if >>> >>> shippingAddress.toName?has_content><b>${uiLabelMap.CommonToName}:</b> ${shippingAddress.toName}<br >>> /></#if> >>> + <#if >>> >>> shippingAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b> ${shippingAddress.attnName}<br >>> /></#if> >>> + <#if >>> shippingAddress.address1?has_content>${shippingAddress.address1}<br >>> /></#if> >>> + <#if >>> shippingAddress.address2?has_content>${shippingAddress.address2}<br >>> /></#if> >>> + <#if >>> shippingAddress.city?has_content>${shippingAddress.city}</#if> >>> + <#if >>> shippingAddress.stateProvinceGeoId?has_content><br >>> />${shippingAddress.stateProvinceGeoId}</#if> >>> + <#if shippingAddress.postalCode?has_content><br >>> />${shippingAddress.postalCode}</#if> >>> + <#if shippingAddress.countryGeoId?has_content><br >>> />${shippingAddress.countryGeoId}</#if> >>> + </div> >>> + </td> >>> + </tr> >>> + <tr><td colspan="3"><hr /></td></tr> >>> + </#if> >>> + </#list> >>> + </#if> >>> + >>> + </table> >>> + >>> + </td></tr> >>> + </table> >>> +</form> >>> + >>> +<#else> >>> + <h3>${uiLabelMap.OrderViewPermissionError}</h3> >>> +</#if> >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/addrsettings.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:eol-style = native >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/addrsettings.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: >>> ofbiz/trunk/applications/order/template/entry/addrsettings.ftl >>> >>> >>> ------------------------------------------------------------------------------ >>> svn:mime-type = text/plain >>> >>> Added: ofbiz/trunk/applications/order/template/entry/billsettings.ftl >>> URL: >>> >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/entry/billsettings.ftl?rev=1736868&view=auto >>> >>> >>> ============================================================================== >>> --- ofbiz/trunk/applications/order/template/entry/billsettings.ftl >>> (added) >>> +++ ofbiz/trunk/applications/order/template/entry/billsettings.ftl Mon >>> Mar >>> 28 11:14:22 2016 >>> @@ -0,0 +1,516 @@ >>> +<#-- >>> +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 type="text/javascript"> >>> +//<![CDATA[ >>> +function shipBillAddr() { >>> + if (document.checkoutsetupform.useShipAddr.checked) { >>> + window.location = >>> >>> "<@ofbizUrl>setBilling?createNew=Y&finalizeMode=payment&paymentMethodType=${paymentMethodType!}&useShipAddr=Y</@ofbizUrl>"; >>> + } else { >>> + window.location = >>> >>> "<@ofbizUrl>setBilling?createNew=Y&finalizeMode=payment&paymentMethodType=${paymentMethodType!}</@ofbizUrl>"; >>> + } >>> +} >>> + >>> +function makeExpDate() { >>> + document.checkoutsetupform.expireDate.value = >>> >>> document.checkoutsetupform.expMonth.options[document.checkoutsetupform.expMonth.selectedIndex].value >>> + "/" + >>> >>> document.checkoutsetupform.expYear.options[document.checkoutsetupform.expYear.selectedIndex].value; >>> +} >>> +//]]> >>> +</script> >>> + >>> +<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || >>> security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)> >>> +<div class="screenlet"> >>> + <div class="screenlet-body"> >>> + <#if request.getAttribute("paymentMethodId")?? || ( >>> (paymentMethodList?has_content || billingAccountList?has_content) && >>> !requestParameters.createNew??)> >>> + <#-- initial screen when we have a associated party --> >>> + <form method="post" >>> action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="checkoutsetupform"> >>> + <input type="hidden" name="finalizeMode" value="payment"/> >>> + <table width="100%" cellpadding="1" cellspacing="0" >>> border="0"> >>> + <tr> >>> + <td colspan="2"> >>> + <a >>> href="<@ofbizUrl>setBilling?createNew=Y</@ofbizUrl>" >>> class="buttontext">${uiLabelMap.CommonCreateNew}</a> >>> + </td> >>> + </tr> >>> + <tr><td colspan="3"><hr /></td></tr> >> >>