svn commit: r810917 - /ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r810917 - /ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl

jleroux@apache.org
Author: jleroux
Date: Thu Sep  3 12:41:17 2009
New Revision: 810917

URL: http://svn.apache.org/viewvc?rev=810917&view=rev
Log:
A patch from Arun Patidar "link to delete a store associated with a promo" (https://issues.apache.org/jira/browse/OFBIZ-2468) - OFBIZ-2468

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl?rev=810917&r1=810916&r2=810917&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoStores.ftl Thu Sep  3 12:41:17 2009
@@ -53,8 +53,12 @@
                         </form>
                     </td>
                     <td align="center">
-                        <a href="<@ofbizUrl>promo_deleteProductStorePromoAppl?productStoreId=${(productStorePromoAppl.productStoreId)?if_exists}&productPromoId=${(productStorePromoAppl.productPromoId)?if_exists}&fromDate=${productStorePromoAppl.getTimestamp("fromDate").toString()}</@ofbizUrl>" class="buttontext">
-                        ${uiLabelMap.CommonDelete}</a>
+                       <form method="post" action="<@ofbizUrl>promo_deleteProductStorePromoAppl</@ofbizUrl>">
+                           <input type="hidden" name="productStoreId" value="${productStorePromoAppl.productStoreId}">
+                           <input type="hidden" name="productPromoId" value="${productStorePromoAppl.productPromoId}">
+                           <input type="hidden" name="fromDate" value="${productStorePromoAppl.fromDate}">
+                           <input type="submit" value="${uiLabelMap.CommonDelete}">
+                       </form>
                     </td>
                 </tr>
                 <#-- toggle the row color -->