📄 editshoppinglist.ftl
字号:
<#-- * Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author Andy Zeneski (jaz@ofbiz.org) *@author David E. Jones (jonesde@ofbiz.org) *@version $Rev: 6143 $ *@since 2.1.1--><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='boxtop'> <tr> <td valign="middle" align="left"> <div class="boxhead"> ${uiLabelMap.PartyShoppingLists}</div> </td> <td valign="middle" align="right"> <a href="<@ofbizUrl>createEmptyShoppingList</@ofbizUrl>?partyId=${partyId?if_exists}" class="submenutextright">${uiLabelMap.CommonCreateNew}</a> <#-- <a href="<@ofbizUrl>viewprofile?partyId=${partyId?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.PartyProfile}</a> --> </td> </tr> </table> </TD> </TR> <TR> <TD width='100%'> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'> <tr> <td> <#if shoppingLists?has_content> <form name="selectShoppingList" method="post" action="<@ofbizUrl>editShoppingList</@ofbizUrl>"> <select name="shoppingListId" class="selectBox"> <#if shoppingList?has_content> <option value="${shoppingList.shoppingListId}">${shoppingList.listName}</option> <option value="${shoppingList.shoppingListId}">--</option> </#if> <#list allShoppingLists as list> <option value="${list.shoppingListId}">${list.listName}</option> </#list> </select> <a href="javascript:document.selectShoppingList.submit();" class="buttontext">${uiLabelMap.CommonEdit}</a> </form> <#else> <div class="tabletext">${uiLabelMap.PartyNoShoppingListsParty}.</div> </#if> </td> </tr> </table> </TD> </TR></TABLE><br/><#if shoppingList?has_content><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='boxtop'> <tr> <td valign="middle" align="left"> <div class="boxhead"> ${uiLabelMap.PartyShoppingListDetail} - ${shoppingList.listName}</div> </td> <td valign="middle" align="right"> <a href="/ordermgr/control/loadCartFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}" class="submenutext">${uiLabelMap.OrderNewOrder}</a> <a href="/ordermgr/control/createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}" class="submenutext">${uiLabelMap.PartyCreateNewCustRequest}</a> <a href="/ordermgr/control/createQuoteFromShoppingList?shoppingListId=${shoppingList.shoppingListId?if_exists}&applyStorePromotions=N" class="submenutext">${uiLabelMap.PartyCreateNewQuote}</a> <a href="javascript:document.updateList.submit();" class="submenutextright">${uiLabelMap.CommonSave}</a> </td> </tr> </table> </TD> </TR> <TR> <TD width='100%'> <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'> <tr> <td> <form name="updateList" method="post" action="<@ofbizUrl>updateShoppingList</@ofbizUrl>"> <input type="hidden" class="inputBox" name="shoppingListId" value="${shoppingList.shoppingListId}"> <input type="hidden" class="inputBox" name="partyId" value="${shoppingList.partyId?if_exists}"> <table border='0' width='100%' cellspacing='0' cellpadding='0'> <tr> <td><div class="tableheadtext">${uiLabelMap.PartyListName}</div></td> <td><input type="text" class="inputBox" size="25" name="listName" value="${shoppingList.listName}" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>> </tr> <tr> <td><div class="tableheadtext">${uiLabelMap.CommonDescription}</div></td> <td><input type="text" class="inputBox" size="70" name="description" value="${shoppingList.description?if_exists}" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>> </tr> <tr> <td><div class="tableheadtext">${uiLabelMap.PartyListType}</div></td> <td> <select name="shoppingListTypeId" class="selectBox" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>> <#if shoppingListType?exists> <option value="${shoppingListType.shoppingListTypeId}">${shoppingListType.description?default(shoppingListType.shoppingListTypeId)}</option> <option value="${shoppingListType.shoppingListTypeId}">--</option> </#if> <#list shoppingListTypes as shoppingListType> <option value="${shoppingListType.shoppingListTypeId}">${shoppingListType.description?default(shoppingListType.shoppingListTypeId)}</option> </#list> </select> </td> </tr> <tr> <td><div class="tableheadtext">${uiLabelMap.PartyPublic}?</div></td> <td> <select name="isPublic" class="selectBox" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>> <option>${shoppingList.isPublic}</option> <option value="${shoppingList.isPublic}">--</option> <option>Y</option> <option>N</option> </select> </td> </tr> <tr> <td><div class="tableheadtext">${uiLabelMap.PartyParentList}</div></td> <td> <select name="parentShoppingListId" class="selectBox" <#if shoppingList.listName?default("") == "auto-save">disabled</#if>> <#if parentShoppingList?exists> <option value="${parentShoppingList.shoppingListId}">${parentShoppingList.listName?default(parentShoppingList.shoppingListId)}</option> </#if> <option value="">${uiLabelMap.PartyNoParent}</option> <#list allShoppingLists as newParShoppingList> <option value="${newParShoppingList.shoppingListId}">${newParShoppingList.listName?default(newParShoppingList.shoppingListId)}</option> </#list> </select> <#if parentShoppingList?exists> <a href="<@ofbizUrl>editShoppingList?shoppingListId=${parentShoppingList.shoppingListId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonGotoParent} (${parentShoppingList.listName?default(parentShoppingList.shoppingListId)})</a> </#if> </td> </tr> <#if shoppingList.listName?default("") != "auto-save"> <tr> <td><div class="tableheadtext"> </div></td> <td align="left"> <a href="javascript:document.updateList.submit();" class="buttontext">${uiLabelMap.CommonSave}</a> </td> </tr> </#if> </table> </form> </td> </tr> </table> </TD> </TR></TABLE><#if childShoppingListDatas?has_content><br/><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='boxtop'> <tr> <td valign="middle" align="left"> <div class="boxhead"> ${uiLabelMap.PartyChildShoppingList} - ${shoppingList.listName}</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -