📄 digitalproductedit.ftl
字号:
<#--$Id: $Copyright 2006-2006 The Apache Software FoundationLicensed under the Apache License, Version 2.0 (the "License"); you may notuse this file except in compliance with the License. You may obtain a copy ofthe License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS, WITHOUTWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See theLicense for the specific language governing permissions and limitationsunder the License.--><#assign productPrice = productPriceList[0]?if_exists/><div class="screenlet"> <div class="screenlet-header"> <div class="boxhead">${uiLabelMap.PageTitleDigitalProductEdit}</div> </div> <div class="screenlet-body"><#if !supplierProduct?has_content && parameters.productId?has_content> <div><h3>Sorry, it appears that the specified product ID [${parameters.productId}] does not belong to you.</h3></div><#else> <#if !supplierProduct?exists> <p class="head1">Add New Digital Product</p> <form method="post" action="<@ofbizUrl>createCustomerDigitalDownloadProduct</@ofbizUrl>" name="editdigitaluploadform" style="margin: 0;"> <input type="hidden" name="productStoreId" value="${productStore.productStoreId}"> <#else> <p class="head1">Update Digital Product</p> <form method="post" action="<@ofbizUrl>updateCustomerDigitalDownloadProduct</@ofbizUrl>" name="editdigitaluploadform" style="margin: 0;"> <input type="hidden" name="productId" value="${parameters.productId}"> <input type="hidden" name="currencyUomId" value="${parameters.currencyUomId}"> <input type="hidden" name="minimumOrderQuantity" value="${parameters.minimumOrderQuantity}"> <input type="hidden" name="availableFromDate" value="${parameters.availableFromDate}"> </#if> <a href="<@ofbizUrl>digitalproductlist</@ofbizUrl>" class="buttontext">Back to List</a> <table width="90%" border="0" cellpadding="2" cellspacing="0"> <tr> <td width="26%" align="right" valign="top"><div class="tabletext">Product Name</div></td> <td width="5"> </td> <td width="74%"><input type="text" class="inputBox" size="30" maxlength="60" name="productName" value="${(product.productName)?if_exists}"/>*</td> </tr> <tr> <td width="26%" align="right" valign="top"><div class="tabletext">Description</div></td> <td width="5"> </td> <td width="74%"><input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${(product.description)?if_exists}"/></td> </tr> <tr> <td width="26%" align="right" valign="top"><div class="tabletext">Price</div></td> <td width="5"> </td> <td width="74%"><input type="text" class="inputBox" size="30" maxlength="60" name="price" value="${(productPrice.price)?if_exists}"/>*</td> </tr> <tr> <td width="26%" align="right" valign="top"><div class="tabletext"> </div></td> <td width="5"> </td> <td width="74%"><a href="javascript:document.editdigitaluploadform.submit()" class="buttontext">${uiLabelMap.CommonSave}</a></td> </tr> </table> </form></#if> </div></div><#if supplierProduct?has_content><div class="screenlet"> <div class="screenlet-header"> <div class="boxhead">Digital Product Files</div> </div> <div class="screenlet-body"> <#list productContentAndInfoList as productContentAndInfo> <div class="tabletext"> ${productContentAndInfo.contentName} (since: ${productContentAndInfo.fromDate}) <a href="<@ofbizUrl>removeCustomerDigitalDownloadProductFile?contentId=${productContentAndInfo.contentId}&productContentTypeId=${productContentAndInfo.productContentTypeId}&fromDate=${productContentAndInfo.fromDate}&productId=${parameters.productId}&currencyUomId=${parameters.currencyUomId}&minimumOrderQuantity=${parameters.minimumOrderQuantity}&availableFromDate=${parameters.availableFromDate}</@ofbizUrl>" class="buttontext">Remove</a> </div> </#list> <div><hr class="sepbar"/></div> <div class="tableheadtext">Add From My Files</div> <div> <form method="post" action="<@ofbizUrl>addCustomerDigitalDownloadProductFile</@ofbizUrl>" name="adddigitaluploadfile" style="margin: 0;"> <input type="hidden" name="productId" value="${parameters.productId}"> <input type="hidden" name="currencyUomId" value="${parameters.currencyUomId}"> <input type="hidden" name="minimumOrderQuantity" value="${parameters.minimumOrderQuantity}"> <input type="hidden" name="availableFromDate" value="${parameters.availableFromDate}"> <select name="contentId" class="selectBox"> <#list ownerContentAndRoleList as ownerContentAndRole> <option value="${ownerContentAndRole.contentId}">${ownerContentAndRole.contentName}</option> </#list> </select> <a href="javascript:document.adddigitaluploadfile.submit()" class="buttontext">${uiLabelMap.CommonAdd}</a> </form> </div> <a href="<@ofbizUrl>digitalproductlist</@ofbizUrl>" class="buttontext">Back to List</a> </div></div></#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -