svn commit: r820875 - in /ofbiz/trunk/applications/marketing/widget/sfa: CommonScreens.xml SfaMenus.xml

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

svn commit: r820875 - in /ofbiz/trunk/applications/marketing/widget/sfa: CommonScreens.xml SfaMenus.xml

hansbak-2
Author: hansbak
Date: Fri Oct  2 03:17:38 2009
New Revision: 820875

URL: http://svn.apache.org/viewvc?rev=820875&view=rev
Log:
in the sales opportunity screen add a button to send an email to the lead via mycommunications in party

Modified:
    ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml
    ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml

Modified: ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml?rev=820875&r1=820874&r2=820875&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml Fri Oct  2 03:17:38 2009
@@ -407,6 +407,7 @@
                                 <section>
                                     <widgets>
                                         <include-menu name="OpportunityTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/>
+                                        <include-menu name="OpportunitySubTabBar" location="component://marketing/widget/sfa/SfaMenus.xml"/>
                                     </widgets>
                                 </section>
                                 <decorator-section-include name="body"/>

Modified: ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml?rev=820875&r1=820874&r2=820875&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/SfaMenus.xml Fri Oct  2 03:17:38 2009
@@ -40,13 +40,25 @@
                 <parameter param-name="salesOpportunityId" from-field="parameters.salesOpportunityId"/>
             </link>
         </menu-item>
-        <menu-item name="ViewOpportunityCommEvent" title="${uiLabelMap.PartyCommunications}">
+        <menu-item name="PartyCommEvents" title="${uiLabelMap.PartyCommunications}">
             <link target="ListPartyCommEvents">
                 <parameter param-name="salesOpportunityId" from-field="parameters.salesOpportunityId"/>
             </link>
         </menu-item>
     </menu>
 
+    <menu name="OpportunitySubTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
+          menu-container-style="button-bar button-style-2 no-clear">
+        <menu-item name="NewCommEvent" title="${uiLabelMap.PartyNewEmail}">
+            <link target="/partymgr/control/NewDraftCommunicationEvent" url-mode="inter-app" link-type="hidden-form">
+                <parameter param-name="communicationEventTypeId" value="EMAIL_COMMUNICATION"/>
+                <parameter param-name="partyIdTo" from-field="leadPartyResult.partyId"/>
+                <parameter param-name="my" value="My"/>
+                <parameter param-name="statusId" value="COM_PENDING"/>
+            </link>
+        </menu-item>
+    </menu>
+
     <menu name="AccountTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
         <menu-item name="profile" title="${uiLabelMap.PartyProfile}">
             <link target="viewprofile">