Author: apatel
Date: Mon Jul 27 11:46:08 2009
New Revision: 798107
URL:
http://svn.apache.org/viewvc?rev=798107&view=revLog:
Conditionally show tabs in finAccount edit screen. Don't show tabs not relavent to Bank Account.
Modified:
ofbiz/trunk/applications/accounting/widget/Menus.xml
Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=798107&r1=798106&r2=798107&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/Menus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/Menus.xml Mon Jul 27 11:46:08 2009
@@ -647,6 +647,9 @@
</link>
</menu-item>
<menu-item name="EditFinAccountAuths" title="${uiLabelMap.AccountingFinAccountAuth}">
+ <condition>
+ <if-compare field="finAccount.finAccountTypeId" operator="not-equals" value="BANK_ACCOUNT"/>
+ </condition>
<link target="EditFinAccountAuths">
<parameter param-name="finAccountId"/>
</link>