Author: adrianc
Date: Sat Jul 26 10:24:53 2008
New Revision: 680018

URL: http://svn.apache.org/viewvc?rev=680018&view=rev
Log:
Updated the Asset Maintenance component to use the new Facility screen. I also 
removed the restriction that displayed only Warehouse facility types.


Modified:
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl
    ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml

Modified: 
ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl?rev=680018&r1=680017&r2=680018&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl 
(original)
+++ ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl 
Sat Jul 26 10:24:53 2008
@@ -24,7 +24,7 @@
             <li<#if selected == "task"> class="selected"</#if>><a 
href="<@ofbizUrl>/mytasks</@ofbizUrl>">${uiLabelMap.WorkEffortTaskList}</a></li>
     
             <li<#if selected == "ListFixedAssets"> class="selected"</#if>><a 
href="<@ofbizUrl>/ListFixedAssets</@ofbizUrl>">${uiLabelMap.AccountingFixedAssets}</a></li>
     
             <li<#if selected == "fixedAssetMaints"> class="selected"</#if>><a 
href="<@ofbizUrl>/findFixedAssetMaints</@ofbizUrl>">${uiLabelMap.AccountingFixedAssetMaints}</a></li>
      
-            <li<#if selected == "facility"> class="selected"</#if>><a 
href="<@ofbizUrl>/FindFacility?facilityTypeId=WAREHOUSE</@ofbizUrl>">${uiLabelMap.ProductFacility}</a></li>
+            <li<#if selected == "facility"> class="selected"</#if>><a 
href="<@ofbizUrl>/FindFacility</@ofbizUrl>">${uiLabelMap.ProductFacility}</a></li>
             <li class="opposed"><a 
href="<@ofbizUrl>logout</@ofbizUrl>">${uiLabelMap.CommonLogout}</a></li>
         <#else>
             <li class="opposed"><a 
href="<@ofbizUrl>${checkLoginUrl?if_exists}</@ofbizUrl>">${uiLabelMap.CommonLogin}</a></li>

Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml?rev=680018&r1=680017&r2=680018&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml Sat Jul 26 10:24:53 
2008
@@ -48,6 +48,9 @@
         <menu-item name="EditFacility" title="${uiLabelMap.ProductFacility}">
             <link target="EditFacility?facilityId=${facilityId}"/>
         </menu-item>
+        <menu-item name="FacilityChildren" 
title="${uiLabelMap.CommonEntityChildren}">
+            <link target="FacilityChildren?facilityId=${facilityId}"/>
+        </menu-item>
         <menu-item name="ViewContactMechs" 
title="${uiLabelMap.PartyContactMechs}">
             <link target="ViewContactMechs?facilityId=${facilityId}"/>
         </menu-item>


Reply via email to