Author: apatel
Date: Thu Oct 22 05:43:22 2009 New Revision: 828315 URL: http://svn.apache.org/viewvc?rev=828315&view=rev Log: Relocated Financial Account Menus. Having related artifacts close helps. 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=828315&r1=828314&r2=828315&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Thu Oct 22 05:43:22 2009 @@ -636,52 +636,6 @@ </menu-item> </menu> - <menu name="FinAccountTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" - default-menu-item-name="EditFinAccount"> - <menu-item name="EditFinAccount" title="${uiLabelMap.AccountingFinAccount}"> - <link target="EditFinAccount"> - <parameter param-name="finAccountId"/> - </link> - </menu-item> - <menu-item name="EditFinAccountRoles" title="${uiLabelMap.PartyRoles}"> - <link target="EditFinAccountRoles"> - <parameter param-name="finAccountId"/> - </link> - </menu-item> - <menu-item name="FinAccountTrans" title="${uiLabelMap.AccountingFinAccountTransations}"> - <link target="FindFinAccountTrans"> - <parameter param-name="finAccountId"/> - </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> - </menu-item> - <menu-item name="depositWithdraw" title="${uiLabelMap.AccountingDepositWithdraw}"> - <condition> - <if-compare field="finAccount.finAccountTypeId" operator="equals" value="BANK_ACCOUNT"/> - </condition> - <link target="FindPaymentsForDepositOrWithdraw"> - <parameter param-name="finAccountId"/> - <parameter param-name="organizationPartyId" from-field="finAccount.ownerPartyId"/> - </link> - </menu-item> - <menu-item name="findDepositSlips" title="${uiLabelMap.AccountingDepositSlips}"> - <link target="FindDepositSlips"> - <parameter param-name="finAccountId"/> - <parameter param-name="organizationPartyId" from-field="finAccount.ownerPartyId"/> - </link> - </menu-item> - <menu-item name="EditFinAccountReconciliations" title="${uiLabelMap.AccountingReconciliation}"> - <link target="EditFinAccountReconciliations"> - <parameter param-name="finAccountId"/> - </link> - </menu-item> - </menu> <menu name="PartyGlShortCuts"> <menu-item name="CreateSalesAcctgTrans"> <link target="CreateAcctgTransAndEntries" text="${uiLabelMap.AccountingCreateSalesAcctgTrans}" style="buttontext"> @@ -1184,15 +1138,6 @@ <link target="FindPaymentGatewayConfigTypes"/> </menu-item> </menu> - <menu name="FinAccountMainTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> - <menu-item name="finAccountMain" title="${uiLabelMap.CommonMain}"> - <link target="FinAccountMain"/> - </menu-item> - <menu-item name="FindFinAccount" title="${uiLabelMap.PageTitleFindFinAccount}"> - <link target="FindFinAccount"/> - </menu-item> - </menu> - <menu name="GlAccountCategoryTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" selected-menuitem-context-field-name="tabButtonItem2"> <menu-item name="EditGlAccountCategory" title="${uiLabelMap.FormFieldTitle_glAccountCategory}"> @@ -1207,6 +1152,52 @@ </link> </menu-item> </menu> + <menu name="FinAccountTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" + default-menu-item-name="EditFinAccount"> + <menu-item name="EditFinAccount" title="${uiLabelMap.AccountingFinAccount}"> + <link target="EditFinAccount"> + <parameter param-name="finAccountId"/> + </link> + </menu-item> + <menu-item name="EditFinAccountRoles" title="${uiLabelMap.PartyRoles}"> + <link target="EditFinAccountRoles"> + <parameter param-name="finAccountId"/> + </link> + </menu-item> + <menu-item name="FinAccountTrans" title="${uiLabelMap.AccountingFinAccountTransations}"> + <link target="FindFinAccountTrans"> + <parameter param-name="finAccountId"/> + </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> + </menu-item> + <menu-item name="depositWithdraw" title="${uiLabelMap.AccountingDepositWithdraw}"> + <condition> + <if-compare field="finAccount.finAccountTypeId" operator="equals" value="BANK_ACCOUNT"/> + </condition> + <link target="FindPaymentsForDepositOrWithdraw"> + <parameter param-name="finAccountId"/> + <parameter param-name="organizationPartyId" from-field="finAccount.ownerPartyId"/> + </link> + </menu-item> + <menu-item name="findDepositSlips" title="${uiLabelMap.AccountingDepositSlips}"> + <link target="FindDepositSlips"> + <parameter param-name="finAccountId"/> + <parameter param-name="organizationPartyId" from-field="finAccount.ownerPartyId"/> + </link> + </menu-item> + <menu-item name="EditFinAccountReconciliations" title="${uiLabelMap.AccountingReconciliation}"> + <link target="EditFinAccountReconciliations"> + <parameter param-name="finAccountId"/> + </link> + </menu-item> + </menu> <menu name="FinAccountSubTabBar" menu-container-style="button-bar button-style-2" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="createNew" title="${uiLabelMap.CommonCreateNew} ${uiLabelMap.AccountingFinAccount}"> <link target="EditFinAccount"/> @@ -1226,4 +1217,13 @@ <link target="FindFinAccount"/> </menu-item> </menu> + <menu name="FinAccountMainTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> + <menu-item name="finAccountMain" title="${uiLabelMap.CommonMain}"> + <link target="FinAccountMain"/> + </menu-item> + <menu-item name="FindFinAccount" title="${uiLabelMap.PageTitleFindFinAccount}"> + <link target="FindFinAccount"/> + </menu-item> + </menu> + </menus> |
Free forum by Nabble | Edit this page |