Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/config/OrderUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/config/OrderUiLabels.xml?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/config/OrderUiLabels.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/config/OrderUiLabels.xml Sat Dec 28 22:12:50 2013 @@ -667,7 +667,7 @@ <value xml:lang="fr">Date de commande</value> <value xml:lang="it">Data ordine</value> <value xml:lang="ja">æ³¨ææ¥</value> - <value xml:lang="nl">Besteldatum</value> + <value xml:lang="nl">Orderdatum</value> <value xml:lang="pt_BR">Data do pedido</value> <value xml:lang="ro">Data Comanda</value> <value xml:lang="ru">ÐаÑа заказа</value> @@ -1139,6 +1139,7 @@ <value xml:lang="fr">Montant de la TVA</value> <value xml:lang="it">Importo tasse di vendita</value> <value xml:lang="ja">æ¶è²»ç¨éé¡</value> + <value xml:lang="nl">BTW bedrag</value> <value xml:lang="pt_BR">Quantia de impostos de venda</value> <value xml:lang="th">à¸à¸³à¸à¸§à¸à¸ าษีà¸à¸²à¸£à¸à¸²à¸¢</value> <value xml:lang="vi">Giá trá» thuế (bán)</value> @@ -2233,18 +2234,7 @@ <value xml:lang="zh_TW">å¹³åç¨ ç</value> </property> <property key="OrderAvs"> - <value xml:lang="de">AVS</value> <value xml:lang="en">AVS</value> - <value xml:lang="es">AVS</value> - <value xml:lang="fr">AVS</value> - <value xml:lang="it">AVS</value> - <value xml:lang="ja">AVS</value> - <value xml:lang="nl">AVS</value> - <value xml:lang="pt_BR">AVS</value> - <value xml:lang="ro">AVS</value> - <value xml:lang="ru">AVS</value> - <value xml:lang="th">AVS</value> - <value xml:lang="vi">AVS</value> <value xml:lang="zh">å°åéªè¯æå¡</value> <value xml:lang="zh_TW">å°åé©è¨¼æå</value> </property> @@ -2564,7 +2554,7 @@ <value xml:lang="fr">Désolé, vous ne pouvez pas changer la quantité d'un article en promotion ${productName} (product ID: ${productId}, quantité inchangée.</value> <value xml:lang="it">Spiacente, non puoi cambiare la quantità del prodotto in promozione ${productName} (prodotto: ${productId}.</value> <value xml:lang="ja">ç³ã訳ããã¾ããããè²·ã徿 å ±ã® ${productName} ã¯æ°éã夿´ã§ãã¾ãã (製åID: ${productId}ãæ°éãè¨å®ããã¦ãã¾ããã</value> - <value xml:lang="nl">De hoeveelheid van promo-item ${productName} (Produkt ID: ${productId}) kan niet aangepast worden. Hoeveelheid niet aangepast.</value> + <value xml:lang="nl">De hoeveelheid van promo-item ${productName} (Product ID: ${productId}) kan niet aangepast worden. Hoeveelheid niet aangepast.</value> <value xml:lang="pt_BR">Sentimos muito, você não pode alterar a quantidade em itens promocionais ${productName} (product ID: ${productId}, quantidade sem alterar).</value> <value xml:lang="vi">Bạn không thá» thay Äá»i sá» lượng hạng mục khuyến mãi ${productName} (ID sản phẩm: ${productId} theo chÃnh sách</value> <value xml:lang="zh">对ä¸èµ·ï¼ä½ ä¸è½ä¿®æ¹ä¿éæç»${productName}çæ°é(äº§åæ è¯ï¼${productId}ï¼æ²¡æè®¾ç½®æ°éã)</value> @@ -3657,7 +3647,7 @@ <value xml:lang="fr">Date de la commande</value> <value xml:lang="it">Data ordine</value> <value xml:lang="ja">æ³¨ææ¥</value> - <value xml:lang="nl">Besteldatum</value> + <value xml:lang="nl">Orderdatum</value> <value xml:lang="pt_BR">Data do pedido</value> <value xml:lang="ro">Data Comanda</value> <value xml:lang="ru">ÐаÑа заказа</value> @@ -3674,7 +3664,7 @@ <value xml:lang="fr">Date commandée</value> <value xml:lang="it">Data ordine</value> <value xml:lang="ja">注æè«æ¥</value> - <value xml:lang="nl">Besteldatum</value> + <value xml:lang="nl">Orderdatum</value> <value xml:lang="pt_BR">Data do pedido</value> <value xml:lang="ro">Data Comanda</value> <value xml:lang="ru">Date Ordered</value> @@ -3789,7 +3779,7 @@ <value xml:lang="fr">Désolé, nous n'en avons pas assez (vous avez essayé ${requestedQuantity} du produit ${productName}en stock (product ID: ${productId}), non ajouté au panier. SVP essayez une quantité inférieure, essayez de nouveau plus tard, ou appelez le service client pour plus d'information</value> <value xml:lang="it">Spiacente, al momento non disponiamo in magazzino di ${requestedQuantity} pezzi del prodotto ${productName} (product ID: ${productId}), questi non saranno aggiunti al carrello. Puoi provare a richiedere una quantità minore, a riprovare più tardi, o contattare il servizio assistenza clienti.</value> <value xml:lang="ja">ç³ã訳ããã¾ããã製å ${productName} (製åID: ${productId}) ã®å åãªå¨åº«ãããã¾ãã( ${requestedQuantity} ãã叿)ãè²·ãç©ããã«è¿½å ãããã¨ãã§ãã¾ãããæ°ãæ¸ããããå¾ã§ã試ããã ããããããã¯è©³ç´°ãªæ å ±ã¯ã«ã¹ã¿ããµã¼ãã¹ã«ãé£çµ¡ãã ããã</value> - <value xml:lang="nl">Niet genoeg op voorraad. U heeft ${requestedQuantity}) van ${productName} - (Produkt ID: ${productId}) aangegeven. Artikel is niet toegevoegd. Verlaag het aantal of neem contact op met onze klantenservice.</value> + <value xml:lang="nl">Niet genoeg op voorraad. U heeft ${requestedQuantity}) van ${productName} - (Product ID: ${productId}) aangegeven. Artikel is niet toegevoegd. Verlaag het aantal of neem contact op met onze klantenservice.</value> <value xml:lang="pt_BR">Sentimos muito, não temos o suficiente (voce tentou ${requestedQuantity}) do produto ${productName} (ID do produto: ${productId}) em estoque. Incapaz de adicionar ao carrinho. Por favor, tente novamente mais tarde ou ligue para o serviço de atendimento ao cliente.</value> <value xml:lang="vi">Xin lá»i, chúng tôi hiá»n tại chưa có có Äá»§ (bạn Äã Äặt sá» lượng ${requestedQuantity}) cá»§a sản phẩm ${productName} (product ID: ${productId}) trong kho, nên không thá» thêm và o Giá» hà ng. Bạn hãy thá» vá»i sá» lượng nhá» hÆ¡n, hoặc thá» lại sau, hoặc gá»i cho trung tâm chÄm sóc khách hà ng Äá» có thêm thông tin</value> <value xml:lang="zh">对ä¸èµ·ï¼æä»¬æ²¡æè¶³å¤çåºå(ä½ è¦æ±${requestedQuantity})产å${productName} (äº§åæ è¯ï¼${productId})ï¼æä»¥æ²¡ææ·»å å°è´ç©è½¦ã请ç¨å°ä¸äºçæ°éè¯ä¸è¯ï¼ç¨ååè¯ï¼ææå®¢æ·æå¡çµè¯è·åæ´å¤ä¿¡æ¯ã</value> @@ -4182,7 +4172,7 @@ <value xml:lang="hi_IN">à¤à¥ न हॠà¤à¤¨ शà¥à¤°à¥à¤£à¥ मà¥à¤</value> <value xml:lang="it">Escludi Categorie</value> <value xml:lang="ja">ã«ãã´ãªãé¤ã</value> - <value xml:lang="nl">Categoriën uitsluiten</value> + <value xml:lang="nl">Categorieën uitsluiten</value> <value xml:lang="pt_BR">Excluir categorias</value> <value xml:lang="ro">numai daca sunt in aceasta categorie:</value> <value xml:lang="ru">еÑли они не в ÑÑÐ¸Ñ ÐºÐ°ÑегоÑиÑÑ :</value> @@ -4773,7 +4763,7 @@ <value xml:lang="fr">En production</value> <value xml:lang="it">In produzione</value> <value xml:lang="ja">çç£ä¸</value> - <value xml:lang="nl">In Produktie</value> + <value xml:lang="nl">In Productie</value> <value xml:lang="pt_BR">Em produção</value> <value xml:lang="ro">In Productie </value> <value xml:lang="ru">РпÑоизводÑÑве</value> @@ -5264,7 +5254,7 @@ <value xml:lang="fr">Sous-total articles</value> <value xml:lang="it">Subtotale Righe</value> <value xml:lang="ja">ã¢ã¤ãã å°è¨</value> - <value xml:lang="nl">Regels SubTotaal</value> + <value xml:lang="nl">Regels Subtotaal</value> <value xml:lang="pt_BR">Subtotal dos itens</value> <value xml:lang="ro">Subtotal Linii</value> <value xml:lang="ru">ÐÑего по позиÑиÑм</value> @@ -5564,6 +5554,7 @@ <value xml:lang="fr">Marquer comme vu</value> <value xml:lang="it">Marca come visionato</value> <value xml:lang="ja">表示æ¸ãã¼ã¯</value> + <value xml:lang="nl">Markeer als gezien</value> <value xml:lang="pt_BR">Marcar como visualizado</value> <value xml:lang="vi">Äánh dấu Äã xem</value> <value xml:lang="zh">æ è®°å·²æµè§</value> @@ -5676,18 +5667,11 @@ <property key="OrderNbr"> <value xml:lang="de">Nr.</value> <value xml:lang="en">#</value> - <value xml:lang="es">#</value> <value xml:lang="fr">N°</value> <value xml:lang="it">N°</value> <value xml:lang="ja">No</value> - <value xml:lang="nl">#</value> <value xml:lang="pt_BR">Nº</value> - <value xml:lang="ro">#</value> <value xml:lang="ru">â</value> - <value xml:lang="th">#</value> - <value xml:lang="vi">#</value> - <value xml:lang="zh">#</value> - <value xml:lang="zh_TW">#</value> </property> <property key="OrderNbrPersons"> <value xml:lang="de">Personen</value> @@ -5943,6 +5927,7 @@ <value xml:lang="fr">Nouvelle adresse d'expedition</value> <value xml:lang="it">Nuovo indirizzo di spedizione</value> <value xml:lang="ja">æ°è¦çºéå 使</value> + <value xml:lang="nl">Nieuw verzendadres</value> <value xml:lang="pt_BR">Novo endereço de envio</value> <value xml:lang="vi">Äá»a chá» chuyá»n hà ng má»i</value> <value xml:lang="zh">æ°çè´§è¿å°å</value> @@ -6874,7 +6859,7 @@ <value xml:lang="fr">Date de la commande</value> <value xml:lang="it">Date Ordine</value> <value xml:lang="ja">æ³¨ææ¥</value> - <value xml:lang="nl">Besteldatum</value> + <value xml:lang="nl">Orderdatum</value> <value xml:lang="pt_BR">Data do pedido</value> <value xml:lang="ro">Data Comanda</value> <value xml:lang="ru">ÐаÑа заказа</value> @@ -7157,7 +7142,7 @@ <value xml:lang="fr">Intitulé de la commande</value> <value xml:lang="it">Nome Ordine</value> <value xml:lang="ja">ã¢ã¤ãã åç§°</value> - <value xml:lang="nl">Bestellingnaam klant</value> + <value xml:lang="nl">Ordernaam klant</value> <value xml:lang="pt_BR">Nome do pedido</value> <value xml:lang="ro">Nume Comanda</value> <value xml:lang="ru">Тема</value> @@ -8718,7 +8703,7 @@ <value xml:lang="fr">Lieu de stockage d'origine</value> <value xml:lang="it">Stabilimento Origine</value> <value xml:lang="ja">çºéå æ ç¹</value> - <value xml:lang="nl">Origin Facility</value> + <value xml:lang="nl">Oorspr. Faciliteit</value> <value xml:lang="pt_BR">Armazém de origem</value> <value xml:lang="ro">Compartiment Origine</value> <value xml:lang="ru">ÐÑÑ Ð¾Ð´ÑÑий Ñклад</value> @@ -9515,7 +9500,7 @@ <value xml:lang="fr">Centre de profit</value> <value xml:lang="it">Negozio</value> <value xml:lang="ja">製ååºè</value> - <value xml:lang="nl">Product Store</value> + <value xml:lang="nl">Winkel</value> <value xml:lang="pt_BR">Loja</value> <value xml:lang="ro">Magazie</value> <value xml:lang="ru">ТоÑговое подÑазделение</value> @@ -9799,7 +9784,7 @@ <value xml:lang="fr">Qté choisie</value> <value xml:lang="it">Qnt scelta</value> <value xml:lang="ja">ãããã³ã°æ°</value> - <value xml:lang="nl">Qty Picked</value> + <value xml:lang="nl">Qty gePICKt</value> <value xml:lang="pt_BR">Quantidade recolhida</value> <value xml:lang="ru">ÐÑобÑ. кол.</value> <value xml:lang="th">à¸à¸³à¸à¸§à¸à¸à¸µà¹à¹à¸¥à¸·à¸à¸</value> @@ -10151,7 +10136,7 @@ <value xml:lang="fr">Taux</value> <value xml:lang="it">Percentuale</value> <value xml:lang="ja">ã¬ã¼ã</value> - <value xml:lang="nl">Rate</value> + <value xml:lang="nl">Tarief</value> <value xml:lang="pt_BR">Taxa</value> <value xml:lang="ro">Procent</value> <value xml:lang="ru">СÑавка</value> @@ -10409,7 +10394,7 @@ <value xml:lang="fr">Restant(e)</value> <value xml:lang="it">Rimanenza</value> <value xml:lang="ja">æ®</value> - <value xml:lang="nl">Remaining</value> + <value xml:lang="nl">Restant</value> <value xml:lang="pt_BR">Restante</value> <value xml:lang="ro">Rest</value> <value xml:lang="ru">ÐÑÑаÑÑееÑÑ</value> @@ -10426,7 +10411,7 @@ <value xml:lang="fr">Sous-total restant</value> <value xml:lang="it">SubTotale Rimanenza</value> <value xml:lang="ja">æ®å°è¨</value> - <value xml:lang="nl">Remaining SubTotal</value> + <value xml:lang="nl">Restant subtotaal</value> <value xml:lang="pt_BR">Subtotal restante</value> <value xml:lang="ro">SubTotal Rest</value> <value xml:lang="ru">ÐÑего оÑÑаÑки</value> @@ -10934,7 +10919,7 @@ <value xml:lang="fr">Obligatoire pour les commandes de vente</value> <value xml:lang="it">Richieste per ordine di vendita</value> <value xml:lang="ja">販売注æã«å¯¾ããè¦æ±</value> - <value xml:lang="nl">Required for SO</value> + <value xml:lang="nl">Nodig voor SO</value> <value xml:lang="pt_BR">Obrigatório para pedidos de venda</value> <value xml:lang="ro">Cerere pentru OV</value> <value xml:lang="ru">ÐапÑÐ¾Ñ Ð´Ð»Ñ ÑбÑÑового заказа</value> @@ -11716,7 +11701,7 @@ <value xml:lang="fr">Retourné</value> <value xml:lang="it">Resa</value> <value xml:lang="ja">è¿åæ¸</value> - <value xml:lang="nl">Returned</value> + <value xml:lang="nl">Retour</value> <value xml:lang="pt_BR">Devolvido</value> <value xml:lang="ro">Returnare</value> <value xml:lang="ru">ÐозвÑаÑено</value> @@ -12480,7 +12465,7 @@ <value xml:lang="fr">Groupe d'expédition</value> <value xml:lang="it">Gruppo Spedizione</value> <value xml:lang="ja">çºéã°ã«ã¼ã</value> - <value xml:lang="nl">Ship Group</value> + <value xml:lang="nl">Zendgroep</value> <value xml:lang="pt_BR">Grupo de envio</value> <value xml:lang="ro">Grup Expediere</value> <value xml:lang="ru">гÑÑÐ¿Ð¿Ñ Ð¿Ð¾ÑÑавки</value> @@ -12564,7 +12549,7 @@ <value xml:lang="fr">Demande d'expédition</value> <value xml:lang="it">Sped. Rich.</value> <value xml:lang="ja">çºéãªã¯ã¨ã¹ã</value> - <value xml:lang="nl">Ship Request</value> + <value xml:lang="nl">Zendverzoek</value> <value xml:lang="pt_BR">Solicitação de envio</value> <value xml:lang="ro">Expediere Rich.</value> <value xml:lang="ru">ÐапÑÐ¾Ñ Ð½Ð° поÑÑавкÑ</value> @@ -13079,7 +13064,7 @@ <value xml:lang="fr">Evolution des statuts</value> <value xml:lang="it">Cambi di stato</value> <value xml:lang="ja">ã¹ãã¼ã¿ã¹å±¥æ´</value> - <value xml:lang="nl">Status History</value> + <value xml:lang="nl">Historie status</value> <value xml:lang="pt_BR">Histórico de estados</value> <value xml:lang="ro">Istoric Stari</value> <value xml:lang="ru">ÐÑÑоÑÐ¸Ñ ÑÑаÑÑÑа</value> @@ -13113,7 +13098,7 @@ <value xml:lang="fr">Sous-total</value> <value xml:lang="it">Subtotale</value> <value xml:lang="ja">å°è¨</value> - <value xml:lang="nl">Sub Total</value> + <value xml:lang="nl">Subtotalen</value> <value xml:lang="pt_BR">Subtotal</value> <value xml:lang="ro">Subtotal</value> <value xml:lang="ru">ÐодиÑоги</value> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java Sat Dec 28 22:12:50 2013 @@ -2386,6 +2386,7 @@ public class OrderReturnServices { String returnId = (String) context.get("returnId"); String returnItemSeqId = (String) context.get("returnItemSeqId"); String description = (String) context.get("description"); + BigDecimal amount = (BigDecimal) context.get("amount"); Locale locale = (Locale) context.get("locale"); GenericValue returnItemTypeMap = null; @@ -2395,8 +2396,6 @@ public class OrderReturnServices { GenericValue returnItem = null; GenericValue returnHeader = null; - BigDecimal amount; - // if orderAdjustment is not empty, then copy most return adjustment information from orderAdjustment's if (orderAdjustmentId != null) { try { @@ -2440,6 +2439,9 @@ public class OrderReturnServices { throw new GeneralRuntimeException(e.getMessage()); } context.putAll(orderAdjustment.getAllFields()); + if (UtilValidate.isNotEmpty(amount)) { + context.put("amount", amount); + } } // if orderAdjustmentTypeId is empty, ie not found from orderAdjustmentId, then try to get returnAdjustmentTypeId from returnItemTypeMap, Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl Sat Dec 28 22:12:50 2013 @@ -109,7 +109,7 @@ under the License. <#if cartLine.getAttribute("surveyResponses")?has_content> <br />Surveys: <#list cartLine.getAttribute("surveyResponses") as surveyResponseId> - <a href="/content/control/ViewSurveyResponses?surveyResponseId=${surveyResponseId}${externalKeyParam}" class="buttontext" style="font-size: xx-small;">${surveyResponseId}</a> + <a href="/content/control/ViewSurveyResponses?surveyResponseId=${surveyResponseId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" style="font-size: xx-small;">${surveyResponseId}</a> </#list> </#if> </div> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/checkinits.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/checkinits.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/checkinits.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/checkinits.ftl Sat Dec 28 22:12:50 2013 @@ -38,7 +38,7 @@ under the License. <ul> <li class="h3">${uiLabelMap.OrderSalesOrder}<#if shoppingCart?exists> ${uiLabelMap.OrderInProgress}</#if></li> <li><a href="javascript:document.salesentryform.submit();">${uiLabelMap.CommonContinue}</a></li> - <li><a href="/partymgr/control/findparty?${externalKeyParam}">${uiLabelMap.PartyFindParty}</a></li> + <li><a href="/partymgr/control/findparty?${StringUtil.wrapString(externalKeyParam)}">${uiLabelMap.PartyFindParty}</a></li> </ul> <br class="clear"/> </div> @@ -130,7 +130,7 @@ under the License. <ul> <li class="h3">${uiLabelMap.OrderPurchaseOrder}<#if shoppingCart?exists> ${uiLabelMap.OrderInProgress}</#if></li> <li><a href="javascript:document.poentryform.submit();">${uiLabelMap.CommonContinue}</a></li> - <li><a href="/partymgr/control/findparty?${externalKeyParam}">${uiLabelMap.PartyFindParty}</a></li> + <li><a href="/partymgr/control/findparty?${StringUtil.wrapString(externalKeyParam)}">${uiLabelMap.PartyFindParty}</a></li> </ul> <br class="clear"/> </div> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/optionsettings.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/optionsettings.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/optionsettings.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/entry/optionsettings.ftl Sat Dec 28 22:12:50 2013 @@ -149,7 +149,7 @@ under the License. <tr> <td colspan="2"> <div> - <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipBeforeDate" event="" action="" value="${(cart.getShipBeforeDate())?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipBeforeDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/> + <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipBeforeDate" event="" action="" value="${(cart.getShipBeforeDate(shipGroupIndex))?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipBeforeDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/> </div> </td> </tr> @@ -161,7 +161,7 @@ under the License. <tr> <td colspan="2"> <div> - <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipAfterDate" event="" action="" value="${(cart.getShipAfterDate())?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipAfterDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/> + <@htmlTemplate.renderDateTimeField name="sgi${shipGroupIndex?default('0')}_shipAfterDate" event="" action="" value="${(cart.getShipAfterDate(shipGroupIndex))?if_exists}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="25" maxlength="30" id="sgi${shipGroupIndex?default('0')}_shipAfterDate" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/> </div> </td> </tr> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordercontactinfo.ftl Sat Dec 28 22:12:50 2013 @@ -84,9 +84,9 @@ under the License. ${displayPartyNameResult.fullName?default("[${uiLabelMap.OrderPartyNameNotFound}]")} </#if> <#if partyId?exists> - (<a href="${customerDetailLink}${partyId}${externalKeyParam}" target="partymgr" class="buttontext">${partyId}</a>) + (<a href="${customerDetailLink}${partyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${partyId}</a>) <br/> - <#if orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL"> + <#if (orderHeader.salesChannelEnumId)?exists && orderHeader.salesChannelEnumId != "POS_SALES_CHANNEL"> <div> <a href="<@ofbizUrl>/orderentry?partyId=${partyId}&orderTypeId=${orderHeader.orderTypeId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNewOrder}</a> <a href="javascript:document.searchOtherOrders.submit()" class="buttontext">${uiLabelMap.OrderOtherOrders}</a> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderinfo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderinfo.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderinfo.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderinfo.ftl Sat Dec 28 22:12:50 2013 @@ -164,7 +164,7 @@ under the License. <td align="right" valign="top" width="15%" class="label"> ${uiLabelMap.OrderProductStore}</td> <td width="5%"> </td> <td valign="top" width="80%"> - ${productStore.storeName!} <a href="/catalog/control/EditProductStore?productStoreId=${productStore.productStoreId}${externalKeyParam}" target="catalogmgr" class="buttontext">(${productStore.productStoreId})</a> + ${productStore.storeName!} <a href="/catalog/control/EditProductStore?productStoreId=${productStore.productStoreId}${StringUtil.wrapString(externalKeyParam)}" target="catalogmgr" class="buttontext">(${productStore.productStoreId})</a> </td> </tr> <tr><td colspan="3"><hr /></td></tr> @@ -174,7 +174,7 @@ under the License. <td width="5%"> </td> <td valign="top" width="80%"> <#if orderHeader.originFacilityId?has_content> - <a href="/facility/control/EditFacility?facilityId=${orderHeader.originFacilityId}${externalKeyParam}" target="facilitymgr" class="buttontext">${orderHeader.originFacilityId}</a> + <a href="/facility/control/EditFacility?facilityId=${orderHeader.originFacilityId}${StringUtil.wrapString(externalKeyParam)}" target="facilitymgr" class="buttontext">${orderHeader.originFacilityId}</a> <#else> ${uiLabelMap.CommonNA} </#if> @@ -186,7 +186,7 @@ under the License. <td width="5%"> </td> <td valign="top" width="80%"> <#if orderHeader.createdBy?has_content> - <a href="/partymgr/control/viewprofile?userlogin_id=${orderHeader.createdBy}${externalKeyParam}" target="partymgr" class="buttontext">${orderHeader.createdBy}</a> + <a href="/partymgr/control/viewprofile?userlogin_id=${orderHeader.createdBy}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${orderHeader.createdBy}</a> <#else> ${uiLabelMap.CommonNotSet} </#if> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderitems.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderitems.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderitems.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderitems.ftl Sat Dec 28 22:12:50 2013 @@ -87,7 +87,7 @@ under the License. <a href="/content/control/ViewSimpleContent?contentId=${downloadContent.contentId}" class="buttontext" target="_blank">${uiLabelMap.ContentDownload}</a> </#list> </#if> - <a href="/catalog/control/EditProduct?productId=${productId}${externalKeyParam}" class="buttontext" target="_blank">${uiLabelMap.ProductCatalog}</a> + <a href="/catalog/control/EditProduct?productId=${productId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext" target="_blank">${uiLabelMap.ProductCatalog}</a> <a href="/ecommerce/control/product?product_id=${productId}" class="buttontext" target="_blank">${uiLabelMap.OrderEcommerce}</a> <#if orderItemContentWrapper.get("IMAGE_URL")?has_content> <a href="<@ofbizUrl>viewimage?orderId=${orderId}&orderItemSeqId=${orderItem.orderItemSeqId}&orderContentTypeId=IMAGE_URL</@ofbizUrl>" @@ -124,7 +124,7 @@ under the License. <tr> <td style="text-align: right; padding-bottom: 10px;"> <a class="buttontext" - href="/catalog/control/EditProductInventoryItems?productId=${productId}&showAllFacilities=Y${externalKeyParam}" + href="/catalog/control/EditProductInventoryItems?productId=${productId}&showAllFacilities=Y${StringUtil.wrapString(externalKeyParam)}" target="_blank">${uiLabelMap.ProductInventory}</a> </td> <td> </td> @@ -327,7 +327,7 @@ under the License. <td colspan="6"> <#if orderItem.orderItemTypeId != "RENTAL_ORDER_ITEM"> <span class="label">${uiLabelMap.ManufacturingProductionRun}</span> - <a href="/manufacturing/control/ShowProductionRun?productionRunId=${workEffort.workEffortId}${externalKeyParam}" + <a href="/manufacturing/control/ShowProductionRun?productionRunId=${workEffort.workEffortId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${workEffort.workEffortId}</a> ${uiLabelMap.OrderCurrentStatus} ${(delegator.findOne("StatusItem", Static["org.ofbiz.base.util.UtilMisc"].toMap("statusId", workEffort.getString("currentStatusId")), true).get("description",locale))?if_exists} @@ -418,7 +418,7 @@ under the License. (${orderItemAdjustment.comments?default("")}) </#if> <#if orderItemAdjustment.productPromoId?has_content> - <a href="/catalog/control/EditProductPromo?productPromoId=${orderItemAdjustment.productPromoId}${externalKeyParam}" + <a href="/catalog/control/EditProductPromo?productPromoId=${orderItemAdjustment.productPromoId}${StringUtil.wrapString(externalKeyParam)}" >${orderItemAdjustment.getRelatedOne("ProductPromo", false).getString("promoName")}</a> </#if> <#if orderItemAdjustment.orderAdjustmentTypeId == "SALES_TAX"> @@ -479,7 +479,7 @@ under the License. <tr<#if itemClass == "1"> class="alternate-row"</#if>> <td align="right" colspan="2"> <span class="label">${uiLabelMap.CommonSurveys}</span> - <a href="/content/control/ViewSurveyResponses?surveyResponseId=${survey.surveyResponseId}&surveyId=${survey.surveyId}${externalKeyParam}" + <a href="/content/control/ViewSurveyResponses?surveyResponseId=${survey.surveyResponseId}&surveyId=${survey.surveyId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${survey.surveyId}</a> </td> <td colspan="5"> </td> @@ -543,7 +543,7 @@ under the License. <tr<#if itemClass == "1"> class="alternate-row"</#if>> <td align="right" colspan="2"> <span class="label">${uiLabelMap.CommonInventory}</span> - <a href="/facility/control/EditInventoryItem?inventoryItemId=${orderItemShipGrpInvRes.inventoryItemId}${externalKeyParam}" + <a href="/facility/control/EditInventoryItem?inventoryItemId=${orderItemShipGrpInvRes.inventoryItemId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${orderItemShipGrpInvRes.inventoryItemId}</a> <span class="label">${uiLabelMap.OrderShipGroup}</span> ${orderItemShipGrpInvRes.shipGroupSeqId} </td> @@ -571,7 +571,7 @@ under the License. <td align="right" colspan="2"> <span class="label">${uiLabelMap.OrderPlannedInShipment}</span> <a target="facility" - href="/facility/control/ViewShipment?shipmentId=${orderShipment.shipmentId}${externalKeyParam}" + href="/facility/control/ViewShipment?shipmentId=${orderShipment.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${orderShipment.shipmentId}</a>: ${orderShipment.shipmentItemSeqId} </td> <td align="center"> @@ -590,7 +590,7 @@ under the License. <#if itemIssuance.shipmentId?has_content> <span class="label">${uiLabelMap.OrderIssuedToShipmentItem}</span> <a target="facility" - href="/facility/control/ViewShipment?shipmentId=${itemIssuance.shipmentId}${externalKeyParam}" + href="/facility/control/ViewShipment?shipmentId=${itemIssuance.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${itemIssuance.shipmentId}</a>: ${itemIssuance.shipmentItemSeqId?if_exists} <#else> <span class="label">${uiLabelMap.OrderIssuedWithoutShipment}</span> @@ -611,7 +611,7 @@ under the License. <#if itemIssuance.inventoryItemId?has_content> <#assign inventoryItem = itemIssuance.getRelatedOne("InventoryItem", false)/> <span class="label">${uiLabelMap.CommonInventory}</span> - <a href="/facility/control/EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId}${externalKeyParam}" + <a href="/facility/control/EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${itemIssuance.inventoryItemId}</a> <span class="label">${uiLabelMap.OrderShipGroup}</span> ${itemIssuance.shipGroupSeqId?if_exists} <#if (inventoryItem.serialNumber?has_content)> @@ -636,12 +636,12 @@ under the License. <#if shipmentReceipt.shipmentId?has_content> <span class="label">${uiLabelMap.OrderShipmentReceived}</span> <a target="facility" - href="/facility/control/ViewShipment?shipmentId=${shipmentReceipt.shipmentId}${externalKeyParam}" + href="/facility/control/ViewShipment?shipmentId=${shipmentReceipt.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${shipmentReceipt.shipmentId}</a>:${shipmentReceipt.shipmentItemSeqId?if_exists} </#if> <#if shipmentReceipt.datetimeReceived?has_content>${Static["org.ofbiz.base.util.UtilFormatOut"].formatDateTime(shipmentReceipt.datetimeReceived, "", locale, timeZone)!}</#if> <span class="label">${uiLabelMap.CommonInventory}</span> - <a href="/facility/control/EditInventoryItem?inventoryItemId=${shipmentReceipt.inventoryItemId}${externalKeyParam}" + <a href="/facility/control/EditInventoryItem?inventoryItemId=${shipmentReceipt.inventoryItemId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${shipmentReceipt.inventoryItemId}</a> </td> <td align="center"> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl Sat Dec 28 22:12:50 2013 @@ -79,8 +79,8 @@ under the License. <td width="1%"> </td> <td valign="top" width="60%"> <#list invoices as invoice> - <div>${uiLabelMap.CommonNbr}<a href="/accounting/control/invoiceOverview?invoiceId=${invoice}${externalKeyParam}" class="buttontext">${invoice}</a> - (<a target="_BLANK" href="/accounting/control/invoice.pdf?invoiceId=${invoice}${externalKeyParam}" class="buttontext">PDF</a>)</div> + <div>${uiLabelMap.CommonNbr}<a href="/accounting/control/invoiceOverview?invoiceId=${invoice}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${invoice}</a> + (<a target="_BLANK" href="/accounting/control/invoice.pdf?invoiceId=${invoice}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">PDF</a>)</div> </#list> </td> <td width="10%"> </td> @@ -144,7 +144,7 @@ under the License. <table class="basic-table" cellspacing='0'> <tr> <td valign="top"> - ${uiLabelMap.CommonNbr}<a href="/accounting/control/EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}${externalKeyParam}" class="buttontext">${billingAccount.billingAccountId}</a> - ${billingAccount.description?if_exists} + ${uiLabelMap.CommonNbr}<a href="/accounting/control/EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${billingAccount.billingAccountId}</a> - ${billingAccount.description?if_exists} </td> <td valign="top" align="right"> <#if orderPaymentPreference.statusId != "PAYMENT_SETTLED" && orderPaymentPreference.statusId != "PAYMENT_RECEIVED"> @@ -191,7 +191,7 @@ under the License. <#if (finAccountType?has_content)> ${finAccountType.description?default(finAccountType.finAccountTypeId)} </#if> - #${finAccount.finAccountCode?default(finAccount.finAccountId)} (<a href="/accounting/control/EditFinAccount?finAccountId=${finAccount.finAccountId}${externalKeyParam}" class="buttontext">${finAccount.finAccountId}</a>) + #${finAccount.finAccountCode?default(finAccount.finAccountId)} (<a href="/accounting/control/EditFinAccount?finAccountId=${finAccount.finAccountId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${finAccount.finAccountId}</a>) <br /> ${finAccount.finAccountName?if_exists} <br /> @@ -199,10 +199,10 @@ under the License. <#-- Authorize and Capture transactions --> <div> <#if orderPaymentPreference.statusId != "PAYMENT_SETTLED"> - <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${externalKeyParam}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a> + <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a> </#if> <#if orderPaymentPreference.statusId == "PAYMENT_AUTHORIZED"> - <a href="/accounting/control/CaptureTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${externalKeyParam}" class="buttontext">${uiLabelMap.AccountingCapture}</a> + <a href="/accounting/control/CaptureTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingCapture}</a> </#if> </div> </div> @@ -217,7 +217,7 @@ under the License. (<span class="label">${uiLabelMap.OrderReference}</span> ${gatewayResponse.referenceNum?if_exists} <span class="label">${uiLabelMap.OrderAvs}</span> ${gatewayResponse.gatewayAvsResult?default("N/A")} <span class="label">${uiLabelMap.OrderScore}</span> ${gatewayResponse.gatewayScoreResult?default("N/A")}) - <a href="/accounting/control/ViewGatewayResponse?paymentGatewayResponseId=${gatewayResponse.paymentGatewayResponseId}${externalKeyParam}" class="buttontext">${uiLabelMap.CommonDetails}</a> + <a href="/accounting/control/ViewGatewayResponse?paymentGatewayResponseId=${gatewayResponse.paymentGatewayResponseId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.CommonDetails}</a> <#if gatewayResponse_has_next><hr /></#if> </#list> </div> @@ -248,7 +248,7 @@ under the License. <td width="60%"> <div> <#list paymentList as paymentMap> - <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${externalKeyParam}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> + <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> </#list> </div> </td> @@ -308,7 +308,7 @@ under the License. <td width="60%"> <div> <#list paymentList as paymentMap> - <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${externalKeyParam}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> + <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> </#list> </div> </td> @@ -356,10 +356,10 @@ under the License. <#-- Authorize and Capture transactions --> <div> <#if orderPaymentPreference.statusId != "PAYMENT_SETTLED"> - <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${externalKeyParam}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a> + <a href="/accounting/control/AuthorizeTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingAuthorize}</a> </#if> <#if orderPaymentPreference.statusId == "PAYMENT_AUTHORIZED"> - <a href="/accounting/control/CaptureTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${externalKeyParam}" class="buttontext">${uiLabelMap.AccountingCapture}</a> + <a href="/accounting/control/CaptureTransaction?orderId=${orderId?if_exists}&orderPaymentPreferenceId=${orderPaymentPreference.orderPaymentPreferenceId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.AccountingCapture}</a> </#if> </div> <#else> @@ -377,7 +377,7 @@ under the License. (<span class="label">${uiLabelMap.OrderReference}</span> ${gatewayResponse.referenceNum?if_exists} <span class="label">${uiLabelMap.OrderAvs}</span> ${gatewayResponse.gatewayAvsResult?default("N/A")} <span class="label">${uiLabelMap.OrderScore}</span> ${gatewayResponse.gatewayScoreResult?default("N/A")}) - <a href="/accounting/control/ViewGatewayResponse?paymentGatewayResponseId=${gatewayResponse.paymentGatewayResponseId}${externalKeyParam}" class="buttontext">${uiLabelMap.CommonDetails}</a> + <a href="/accounting/control/ViewGatewayResponse?paymentGatewayResponseId=${gatewayResponse.paymentGatewayResponseId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.CommonDetails}</a> <#if gatewayResponse_has_next><hr /></#if> </#list> </div> @@ -446,7 +446,7 @@ under the License. <td width="60%"> <div> <#list paymentList as paymentMap> - <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${externalKeyParam}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> + <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> </#list> </div> </td> @@ -505,7 +505,7 @@ under the License. <td width="60%"> <div> <#list paymentList as paymentMap> - <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${externalKeyParam}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> + <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> </#list> </div> </td> @@ -540,7 +540,7 @@ under the License. <td width="60%"> <div> <#list paymentList as paymentMap> - <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${externalKeyParam}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> + <a href="/accounting/control/paymentOverview?paymentId=${paymentMap.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${paymentMap.paymentId}</a><#if paymentMap_has_next><br /></#if> </#list> </div> </td> @@ -567,8 +567,8 @@ under the License. <td width="1%"> </td> <td valign="top" width="60%"> <#list invoices as invoice> - <div>${uiLabelMap.CommonNbr}<a href="/accounting/control/invoiceOverview?invoiceId=${invoice}${externalKeyParam}" class="buttontext">${invoice}</a> - (<a target="_BLANK" href="/accounting/control/invoice.pdf?invoiceId=${invoice}${externalKeyParam}" class="buttontext">PDF</a>)</div> + <div>${uiLabelMap.CommonNbr}<a href="/accounting/control/invoiceOverview?invoiceId=${invoice}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${invoice}</a> + (<a target="_BLANK" href="/accounting/control/invoice.pdf?invoiceId=${invoice}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">PDF</a>)</div> </#list> </td> <td width="10%"> </td> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl Sat Dec 28 22:12:50 2013 @@ -575,8 +575,8 @@ under the License. <td valign="top" width="80%"> <#list shipGroupShipments as shipment> <div> - ${uiLabelMap.CommonNbr}<a href="/facility/control/ViewShipment?shipmentId=${shipment.shipmentId}${externalKeyParam}" class="buttontext">${shipment.shipmentId}</a> - <a target="_BLANK" href="/facility/control/PackingSlip.pdf?shipmentId=${shipment.shipmentId}${externalKeyParam}" class="buttontext">${uiLabelMap.ProductPackingSlip}</a> + ${uiLabelMap.CommonNbr}<a href="/facility/control/ViewShipment?shipmentId=${shipment.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${shipment.shipmentId}</a> + <a target="_BLANK" href="/facility/control/PackingSlip.pdf?shipmentId=${shipment.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.ProductPackingSlip}</a> <#if "SALES_ORDER" == orderHeader.orderTypeId && "ORDER_COMPLETED" == orderHeader.statusId> <#assign shipmentRouteSegments = delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipment.shipmentId}, null, false)> <#if shipmentRouteSegments?has_content> @@ -608,7 +608,7 @@ under the License. <#if orderHeader.orderTypeId == "SALES_ORDER"> <#if !shipGroup.supplierPartyId?has_content> <#if orderHeader.statusId == "ORDER_APPROVED"> - <a href="/facility/control/PackOrder?facilityId=${storeFacilityId?if_exists}&orderId=${orderId}&shipGroupSeqId=${shipGroup.shipGroupSeqId}${externalKeyParam}" class="buttontext">${uiLabelMap.OrderPackShipmentForShipGroup}</a> + <a href="/facility/control/PackOrder?facilityId=${storeFacilityId?if_exists}&orderId=${orderId}&shipGroupSeqId=${shipGroup.shipGroupSeqId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.OrderPackShipmentForShipGroup}</a> <br /> </#if> <a href="javascript:document.createShipment_${shipGroup.shipGroupSeqId}.submit()" class="buttontext">${uiLabelMap.OrderNewShipmentForShipGroup}</a> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/quickReturn.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/quickReturn.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/quickReturn.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/quickReturn.ftl Sat Dec 28 22:12:50 2013 @@ -61,7 +61,7 @@ under the License. <input type='text' size='20' name='paymentMethodId' /> </#if> <#if (party.partyId)?has_content> - <a href="/partymgr/control/editcreditcard?partyId=${party.partyId}${externalKeyParam}" target="partymgr" class="smallSubmit">${uiLabelMap.AccountingCreateNewCreditCard}</a> + <a href="/partymgr/control/editcreditcard?partyId=${party.partyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="smallSubmit">${uiLabelMap.AccountingCreateNewCreditCard}</a> </#if> </td></tr> </table> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnHeader.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnHeader.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnHeader.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnHeader.ftl Sat Dec 28 22:12:50 2013 @@ -155,7 +155,7 @@ under the License. <input type='text' size='20' name='paymentMethodId' value="${returnHeader?if_exists.paymentMethodId?if_exists}"/> </#if> <#if (returnHeader.fromPartyId)?has_content> - <a href="/partymgr/control/editcreditcard?partyId=${returnHeader.fromPartyId}${externalKeyParam}" target="partymgr" class="smallSubmit">${uiLabelMap.AccountingCreateNewCreditCard}</a> + <a href="/partymgr/control/editcreditcard?partyId=${returnHeader.fromPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="smallSubmit">${uiLabelMap.AccountingCreateNewCreditCard}</a> </#if> </td> </tr> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnItems.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnItems.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnItems.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnItems.ftl Sat Dec 28 22:12:50 2013 @@ -71,13 +71,13 @@ under the License. <#if returnHeader?has_content> <#if returnHeader.destinationFacilityId?has_content && returnHeader.statusId == "RETURN_ACCEPTED" && returnHeader.returnHeaderTypeId?starts_with("CUSTOMER_")> <#list returnShipmentIds as returnShipmentId> - <a href="/facility/control/ViewShipment?shipmentId=${returnShipmentId.shipmentId}${externalKeyParam}" class="buttontext">${uiLabelMap.ProductShipmentId} ${returnShipmentId.shipmentId}</a> - <a href="/facility/control/ReceiveReturn?facilityId=${returnHeader.destinationFacilityId}&returnId=${returnHeader.returnId?if_exists}&shipmentId=${returnShipmentId.shipmentId}${externalKeyParam}" class="buttontext">${uiLabelMap.OrderReceiveReturn}</a> + <a href="/facility/control/ViewShipment?shipmentId=${returnShipmentId.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.ProductShipmentId} ${returnShipmentId.shipmentId}</a> + <a href="/facility/control/ReceiveReturn?facilityId=${returnHeader.destinationFacilityId}&returnId=${returnHeader.returnId?if_exists}&shipmentId=${returnShipmentId.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.OrderReceiveReturn}</a> </#list> <#elseif returnHeader.statusId == "SUP_RETURN_ACCEPTED" && returnHeader.returnHeaderTypeId == "VENDOR_RETURN"> <#if returnShipmentIds?has_content> <#list returnShipmentIds as returnShipmentId> - <a href="/facility/control/ViewShipment?shipmentId=${returnShipmentId.shipmentId}${externalKeyParam}" class="buttontext">${uiLabelMap.ProductShipmentId} ${returnShipmentId.shipmentId}</a> + <a href="/facility/control/ViewShipment?shipmentId=${returnShipmentId.shipmentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${uiLabelMap.ProductShipmentId} ${returnShipmentId.shipmentId}</a> </#list> <#else> <a href="/facility/control/EditShipment?primaryReturnId=${returnHeader.returnId}&partyIdTo=${toPartyId}&statusId=SHIPMENT_INPUT&shipmentTypeId=PURCHASE_RETURN" class="buttontext">${uiLabelMap.OrderCreateReturnShipment}</a> @@ -252,11 +252,11 @@ under the License. <#assign itemResp = item.getRelatedOne("ReturnItemResponse", false)?if_exists> <#if itemResp?has_content> <#if itemResp.paymentId?has_content> - <div>${uiLabelMap.AccountingPayment} ${uiLabelMap.CommonNbr}<a href="/accounting/control/paymentOverview?paymentId=${itemResp.paymentId}${externalKeyParam}" class="buttontext">${itemResp.paymentId}</a></div> + <div>${uiLabelMap.AccountingPayment} ${uiLabelMap.CommonNbr}<a href="/accounting/control/paymentOverview?paymentId=${itemResp.paymentId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${itemResp.paymentId}</a></div> <#elseif itemResp.replacementOrderId?has_content> <div>${uiLabelMap.OrderOrder} ${uiLabelMap.CommonNbr}<a href="<@ofbizUrl>orderview?orderId=${itemResp.replacementOrderId}</@ofbizUrl>" class="buttontext">${itemResp.replacementOrderId}</a></div> <#elseif itemResp.billingAccountId?has_content> - <div>${uiLabelMap.AccountingAccountId} ${uiLabelMap.CommonNbr}<a href="/accounting/control/EditBillingAccount?billingAccountId=${itemResp.billingAccountId}${externalKeyParam}" class="buttontext">${itemResp.billingAccountId}</a></div> + <div>${uiLabelMap.AccountingAccountId} ${uiLabelMap.CommonNbr}<a href="/accounting/control/EditBillingAccount?billingAccountId=${itemResp.billingAccountId}${StringUtil.wrapString(externalKeyParam)}" class="buttontext">${itemResp.billingAccountId}</a></div> </#if> <#else> <div>${uiLabelMap.CommonNone}</div> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnList.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnList.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnList.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/return/returnList.ftl Sat Dec 28 22:12:50 2013 @@ -39,7 +39,7 @@ under the License. <td><div>${returnHeader.entryDate.toString()}</div></td> <td> <#if returnHeader.fromPartyId?exists> - <a href="${customerDetailLink}${returnHeader.fromPartyId}${externalKeyParam}" class='buttontext'>${returnHeader.fromPartyId}</a> + <a href="${customerDetailLink}${returnHeader.fromPartyId}${StringUtil.wrapString(externalKeyParam)}" class='buttontext'>${returnHeader.fromPartyId}</a> <#else> <span class="label">${uiLabelMap.CommonNA}</span> </#if> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/task/ordertasklist.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/task/ordertasklist.ftl?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/task/ordertasklist.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/webapp/ordermgr/task/ordertasklist.ftl Sat Dec 28 22:12:50 2013 @@ -142,7 +142,7 @@ under the License. <td> <div> <#if task.customerPartyId?exists> - <a href="${customerDetailLink}${task.customerPartyId}${externalKeyParam}" target="partymgr" class="buttontext">${Static["org.ofbiz.order.task.TaskWorker"].getCustomerName(task)}</a> + <a href="${customerDetailLink}${task.customerPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${Static["org.ofbiz.order.task.TaskWorker"].getCustomerName(task)}</a> <#else> N/A </#if> @@ -165,7 +165,7 @@ under the License. </td> <td>${task.priority?default("0")}</td> <td> - <a href="/workeffort/control/activity?workEffortId=${task.workEffortId}${externalKeyParam}" target="workeffort" class="buttontext"> + <a href="/workeffort/control/activity?workEffortId=${task.workEffortId}${StringUtil.wrapString(externalKeyParam)}" target="workeffort" class="buttontext"> ${Static["org.ofbiz.order.task.TaskWorker"].getPrettyStatus(task)} </a> </td> @@ -229,7 +229,7 @@ under the License. </td> <td> <#if task.customerPartyId?exists> - <a href="${customerDetailLink}${task.customerPartyId}${externalKeyParam}" target="partymgr" class="buttontext">${Static["org.ofbiz.order.task.TaskWorker"].getCustomerName(task)}</a> + <a href="${customerDetailLink}${task.customerPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${Static["org.ofbiz.order.task.TaskWorker"].getCustomerName(task)}</a> <#else> </#if> @@ -253,7 +253,7 @@ under the License. <#if task.wepaPartyId == "_NA_"> <div>N/A</div> <#else> - <a href="${customerDetailLink}${task.wepaPartyId}${externalKeyParam}" target="partymgr" class="buttontext">${task.wepaPartyId}</a> + <a href="${customerDetailLink}${task.wepaPartyId}${StringUtil.wrapString(externalKeyParam)}" target="partymgr" class="buttontext">${task.wepaPartyId}</a> </#if> </td> <td>${Static["org.ofbiz.order.task.TaskWorker"].getRoleDescription(task)}</td> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/widget/ordermgr/OrderMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/widget/ordermgr/OrderMenus.xml?rev=1553940&r1=1553939&r2=1553940&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/widget/ordermgr/OrderMenus.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/applications/order/widget/ordermgr/OrderMenus.xml Sat Dec 28 22:12:50 2013 @@ -262,7 +262,7 @@ under the License. <link target="EditQuote"/> </menu-item> <menu-item name="createOrder" title="${uiLabelMap.OrderCreateOrder}"> - <condition> + <condition disabled-style="disabled"> <and> <not><if-empty field="quote"/></not> <if-compare operator="equals" value="QUO_APPROVED" field="quote.statusId"/> |
Free forum by Nabble | Edit this page |