📄 editproductstoresurveys.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) *@version $Rev: 7337 $ *@since 3.0--><table border="1" cellpadding="2" cellspacing="0" width="100%"> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonType}</span></td> <td><span class="tableheadtext">${uiLabelMap.CommonName}</span></td> <td><span class="tableheadtext">${uiLabelMap.CommonSurveys}</span></td> <td><span class="tableheadtext">${uiLabelMap.ProductProduct}</span></td> <td><span class="tableheadtext">${uiLabelMap.ProductCategory}</span></td> <td><span class="tableheadtext">${uiLabelMap.CommonFromDate}</span></td> <td><span class="tableheadtext">${uiLabelMap.CommonSequenceNum}</span></td> <td> </td> </tr> <#list productStoreSurveys as storeSurvey> <#assign surveyType = storeSurvey.getRelatedOne("SurveyApplType")> <#assign survey = storeSurvey.getRelatedOne("Survey")> <tr> <td><span class="tabletext">${surveyType.description}</span></td> <td><span class="tabletext">${storeSurvey.groupName?if_exists}</span></td> <td><a href="/content/control/EditSurvey?surveyId=${storeSurvey.surveyId}" class="buttontext">${survey.description?default("[" + survey.surveyId + "]")}</a> <td><span class="tabletext">${storeSurvey.productId?default("N/A")}</span></td> <td><span class="tabletext">${storeSurvey.productCategoryId?default("N/A")}</span></td> <td><span class="tabletext">${storeSurvey.fromDate?string}</span></td> <td><span class="tabletext">${storeSurvey.sequenceNum?if_exists}</span></td> <td><a href="<@ofbizUrl>deleteProductStoreSurveyAppl?productStoreId=${productStoreId}&productStoreSurveyId=${storeSurvey.productStoreSurveyId}</@ofbizUrl>" class="buttontext">[Delete]</a> </#list></table><br/><div class="head2">Create Store Survey:</div><form name="addSurvey" action="<@ofbizUrl>createProductStoreSurveyAppl</@ofbizUrl>" method="post"> <input type="hidden" name="productStoreId" value="${productStoreId}"> <table cellspacing="2" cellpadding="2"> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonType}</span></td> <td> <select class="selectBox" name="surveyApplTypeId"> <#list surveyApplTypes as type> <option value="${type.surveyApplTypeId}">${type.description}</option> </#list> </select> </td> </tr> <tr> <td><span class="tableheadtext">Group Name</span></td> <td> <input type="text" class="inputBox" size="20" name="groupName"> </td> </tr> <tr> <td><span class="tableheadtext">Survey</span></td> <td> <select class="selectBox" name="surveyId"> <#list surveys as survey> <option value="${survey.surveyId}">${survey.description?default("[" + survey.surveyId + "]")}</option> </#list> </select> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductProductId}</span></td> <td> <input type="text" class="inputBox" size="20" name="productId"> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.ProductCategoryId}</span></td> <td> <select class="selectBox" name="productCategoryId"> <option></option> <#list productCategories as category> <option value="${category.productCategoryId}">${category.description?default("[No Description]")}</option> </#list> </select> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonFromDate}</span></td> <td> <input type="text" class="inputBox" size="25" name="fromDate"> <a href="javascript:call_cal(document.addSurvey.fromDate, '${nowTimestampString}');"><img src="/images/cal.gif" width="16" height="16" border="0" alt="Calendar"></a> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonThruDate}</span></td> <td> <input type="text" class="inputBox" size="25" name="thruDate"> <a href="javascript:call_cal(document.addSurvey.thruDate, '${nowTimestampString}');"><img src="/images/cal.gif" width="16" height="16" border="0" alt="Calendar"></a> </td> </tr> <tr> <td><span class="tableheadtext">Survey Template Path</span></td> <td> <input type="text" class="inputBox" size="30" name="surveyTemplate"> </td> </tr> <tr> <td><span class="tableheadtext">Result Template Path</span></td> <td> <input type="text" class="inputBox" size="30" name="resultTemplate"> </td> </tr> <tr> <td><span class="tableheadtext">${uiLabelMap.CommonSequenceNum}</span></td> <td> <input type="text" class="inputBox" size="5" name="sequenceNum"> </td> </tr> <tr> <td> </td> <td><input type="submit" class="smallSubmit" value="${uiLabelMap.CommonAdd}"></td> </tr> </table></form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -