svn commit: r992247 - /ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

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

svn commit: r992247 - /ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

erwan
Author: erwan
Date: Fri Sep  3 09:54:12 2010
New Revision: 992247

URL: http://svn.apache.org/viewvc?rev=992247&view=rev
Log:
Since 990004, facilityContactMechPurposeType is now mandatory, adding a drop-down so the user can select one

Modified:
    ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Modified: ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl?rev=992247&r1=992246&r2=992247&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl Fri Sep  3 09:54:12 2010
@@ -65,6 +65,18 @@ under the License.
         <#if contactMechPurposeTypeId?exists><input type='hidden' name='contactMechPurposeTypeId' value='${contactMechPurposeTypeId?if_exists}' /></#if>
 
         <#if paymentMethodId?exists><input type='hidden' name='paymentMethodId' value='${paymentMethodId}' /></#if>
+
+        <tr>
+          <td class="label">${uiLabelMap.PartyContactPurposes}</td>
+          <td>
+            <select name='contactMechPurposeTypeId' class="required">
+              <option></option>
+              <#list mechMap.purposeTypes as contactMechPurposeType>
+                <option value='${contactMechPurposeType.contactMechPurposeTypeId}'>${contactMechPurposeType.get("description",locale)}</option>
+               </#list>
+            </select>
+          *</td>
+        </tr>
     <#else>
       <h1>${title}</h1>
       <div class="button-bar">