svn commit: r687279 - in /ofbiz/trunk/applications/order: config/OrderUiLabels.xml widget/ordermgr/CommonScreens.xml widget/ordermgr/RequestMenus.xml widget/ordermgr/RequestScreens.xml

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

svn commit: r687279 - in /ofbiz/trunk/applications/order: config/OrderUiLabels.xml widget/ordermgr/CommonScreens.xml widget/ordermgr/RequestMenus.xml widget/ordermgr/RequestScreens.xml

hansbak-2
Author: hansbak
Date: Wed Aug 20 01:03:43 2008
New Revision: 687279

URL: http://svn.apache.org/viewvc?rev=687279&view=rev
Log:
several improvements to the customer request screens

Modified:
    ofbiz/trunk/applications/order/config/OrderUiLabels.xml
    ofbiz/trunk/applications/order/widget/ordermgr/CommonScreens.xml
    ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml
    ofbiz/trunk/applications/order/widget/ordermgr/RequestScreens.xml

Modified: ofbiz/trunk/applications/order/config/OrderUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/config/OrderUiLabels.xml?rev=687279&r1=687278&r2=687279&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/config/OrderUiLabels.xml (original)
+++ ofbiz/trunk/applications/order/config/OrderUiLabels.xml Wed Aug 20 01:03:43 2008
@@ -9004,6 +9004,9 @@
         <value xml:lang="th">หัวข้อการร้องขอ</value>
         <value xml:lang="zh">请求明细</value>
     </property>
+    <property key="PageTitleRequestItems">
+        <value xml:lang="en">Request Item Notes</value>
+    </property>
     <property key="PageTitleRequestRoles">
         <value xml:lang="de">Anfrage Rollen</value>
         <value xml:lang="en">Request Roles</value>

Modified: ofbiz/trunk/applications/order/widget/ordermgr/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CommonScreens.xml?rev=687279&r1=687278&r2=687279&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/CommonScreens.xml Wed Aug 20 01:03:43 2008
@@ -62,31 +62,18 @@
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
-                            <!--
                             <condition>
-                                <if-has-permission permission="ORDERMGR" action="_VIEW"/>
+                                <not><if-empty field-name="custRequest"/></not>
                             </condition>
-                            -->
                             <widgets>
-                                <platform-specific>
-                                    <html><html-template location="component://order/webapp/ordermgr/request/RequestTabBar.ftl"/></html>
-                                </platform-specific>
-                                <container>
-                                                        <container>
-                            <link target="request" text="${uiLabelMap.OrderNewRequest}" style="buttontext"/>
-                            <link target="createQuoteFromCustRequest?custRequestId=${custRequestId}" text="${uiLabelMap.OrderNewQuote}" style="buttontext"/>
-                        </container>
-                                
-                                    <label style="h1">[${uiLabelMap.CommonId}:${custRequest.custRequestId}] ${custRequest.custRequestName}</label>
-                                </container>
-                                <decorator-section-include name="body"/>
+                                 <include-menu name="RequestTabBar" location="component://order/widget/ordermgr/RequestMenus.xml"/>
                             </widgets>
-                            <!--
-                            <fail-widgets>
-                                <label style="h3">${uiLabelMap.OrderViewPermissionError}</label>
-                            </fail-widgets>
-                            -->
                         </section>
+                        <include-menu name="RequestSubTabBar" location="component://order/widget/ordermgr/RequestMenus.xml"/>
+                        <container>
+                            <label style="h1">[${uiLabelMap.CommonId}:${custRequest.custRequestId}] ${custRequest.custRequestName}</label>
+                        </container>
+                        <decorator-section-include name="body"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>

Modified: ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml?rev=687279&r1=687278&r2=687279&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/RequestMenus.xml Wed Aug 20 01:03:43 2008
@@ -21,19 +21,30 @@
 <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">      
 
-    <menu name="editRequest"  default-selected-style="selected" type="simple"
+    <menu name="RequestTabBar"  default-selected-style="selected" type="simple" selected-menuitem-context-field-name="tabButtonItem"
         menu-container-style="button-bar tab-bar">
+        <menu-item name="ViewRequest" title="Overview" >
+            <link target="ViewRequest?custRequestId=${custRequest.custRequestId}"/>
+        </menu-item>
         <menu-item name="request" title="Request" >
-            <link id="requestheader" target="request?custRequestId=${custRequest.custRequestId}"/>
+            <link target="request?custRequestId=${custRequest.custRequestId}"/>
         </menu-item>
         <menu-item name="requestroles" title="Request Roles" >
-            <link id="requestroles" target="requestroles?custRequestId=${custRequest.custRequestId}"/>
+            <link target="requestroles?custRequestId=${custRequest.custRequestId}"/>
         </menu-item>
         <menu-item name="requestitems" title="Request Items" >
-            <link id="requestitems" target="/requestitems?custRequestId=${custRequest.custRequestId}">
-            </link>
+            <link target="/requestitems?custRequestId=${custRequest.custRequestId}"/>
+        </menu-item>
+    </menu>
+    <menu name="RequestSubTabBar" type="simple" menu-container-style="button-bar button-style-2">
+        <menu-item name="newRequest" title="${uiLabelMap.OrderNewRequest}">
+            <link target="request"/>
+        </menu-item>
+        <menu-item name="createQuoteFromRequest" title="Create Quote from request" >
+            <link target="createQuoteFromCustRequest?custRequestId=${custRequest.custRequestId}"/>
         </menu-item>
     </menu>
+    
 
     <menu name="editrequestitemmenu" default-selected-style="selected" type="simple"
         menu-container-style="button-bar tab-bar">
@@ -50,5 +61,16 @@
             <link id="workeffortrequirements" target="requestitemrequirements?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
         </menu-item>
     </menu>
+    <menu name="requestItemNoteMmenu" default-selected-style="selected" type="simple" menu-container-style="button-bar tab-bar">
+        <menu-item name="requestitemnotes" title="Request Item Notes" >
+            <link id="requestitemnotes" target="requestitemnotes?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
+        </menu-item>
+        <menu-item name="requestitemquotes" title="Request Item Quotes" >
+            <link id="requestitemquotes" target="RequestItemQuotes?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
+        </menu-item>
+        <menu-item name="workeffortrequirements" title="WorkEffort Requirements" >
+            <link id="workeffortrequirements" target="requestitemrequirements?custRequestId=${custRequest.custRequestId}&amp;custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
+        </menu-item>
+    </menu>
 </menus>
 

Modified: ofbiz/trunk/applications/order/widget/ordermgr/RequestScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/RequestScreens.xml?rev=687279&r1=687278&r2=687279&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/RequestScreens.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/RequestScreens.xml Wed Aug 20 01:03:43 2008
@@ -75,9 +75,12 @@
                 <platform-specific>
                     <html><html-template location="component://order/webapp/ordermgr/request/requestInfo.ftl"/></html>
                 </platform-specific>
-                    <screenlet title="${uiLabelMap.PageTitleRequestItems}">
-                        <include-form name="OverviewRequestItems" location="component://order/webapp/ordermgr/request/RequestForms.xml"/>
-                    </screenlet>
+                            <screenlet title="${uiLabelMap.PageTitleRequestItems}">
+                                <include-form name="OverviewRequestItems" location="component://order/webapp/ordermgr/request/RequestForms.xml"/>
+                            </screenlet>
+                            <screenlet title="${uiLabelMap.PageTitleRequestItemNotes}">
+                                <include-form name="ListRequestItemNotes" location="component://order/webapp/ordermgr/request/RequestForms.xml"/>
+                            </screenlet>
                 </container>
                 <container style="righthalf">
                 <platform-specific>