Applied patch from Bruno Busco "Replacing FTL TabBar with menu widgets in Accounting" (OFBIZ-2050).
Thanks Bruno for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
<#--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
<#if agreement?has_content>
|
||||
<#assign selected = tabButtonItem?default("void")>
|
||||
<div class="button-bar tab-bar">
|
||||
<ul>
|
||||
<li<#if selected == "AgreementMain"> class="selected"</#if>><a href="<@ofbizUrl>EditAgreement?agreementId=${agreement.agreementId}</@ofbizUrl>">${uiLabelMap.AccountingAgreement}</a></li>
|
||||
<li<#if selected == "AgreementTerms"> class="selected"</#if>><a href="<@ofbizUrl>EditAgreementTerms?agreementId=${agreement.agreementId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementTerms}</a></li>
|
||||
<li<#if selected == "AgreementItems"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementItems?agreementId=${agreement.agreementId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementItems}</a></li>
|
||||
<li<#if selected == "AgreementWorkEffortAppls"> class="selected"</#if>><a href="<@ofbizUrl>EditAgreementWorkEffortAppls?agreementId=${agreement.agreementId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementWorkEffortAppls}</a></li>
|
||||
<li<#if selected == "AgreementRoles"> class="selected"</#if>><a href="<@ofbizUrl>EditAgreementRoles?agreementId=${agreement.agreementId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementRoles}</a></li>
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
</#if>
|
||||
<#if agreementItem?has_content>
|
||||
<#assign selected = buttonBarItem?default("void")>
|
||||
<div class="button-bar tab-bar">
|
||||
<ul>
|
||||
<li<#if selected == "EditAgreementItem"> class="selected"</#if>><a href="<@ofbizUrl>EditAgreementItem?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementItem}</a></li>
|
||||
<li<#if selected == "ListAgreementPromoAppls"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementPromoAppls?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementPromoAppls}</a></li>
|
||||
<li<#if selected == "ListAgreementItemTerms"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementItemTerms?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.AccountingAgreementItemTerms}</a></li>
|
||||
<#if agreement.agreementTypeId?default("") == "PURCHASE_AGREEMENT">
|
||||
<li<#if selected == "ListAgreementItemSupplierProducts"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementItemSupplierProducts?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.ProductProducts}</a></li>
|
||||
<#else>
|
||||
<li<#if selected == "ListAgreementItemProducts"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementItemProducts?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.ProductProducts}</a></li>
|
||||
</#if>
|
||||
<li<#if selected == "ListAgreementItemParties"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementItemParties?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.Party}</a></li>
|
||||
<li<#if selected == "ListAgreementGeographicalApplic"> class="selected"</#if>><a href="<@ofbizUrl>ListAgreementGeographicalApplic?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}</@ofbizUrl>">${uiLabelMap.CommonGeo}</a></li>
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
</#if>
|
||||
@@ -1,33 +0,0 @@
|
||||
<#--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<#if billingAccount?has_content>
|
||||
<#assign selected = tabButtonItem?default("void")>
|
||||
<div class="button-bar tab-bar">
|
||||
<ul>
|
||||
<li<#if selected == "EditBillingAccount"> class="selected"</#if>><a href="<@ofbizUrl>EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.AccountingAccount}</a></li>
|
||||
<li<#if selected == "EditBillingAccountRoles"> class="selected"</#if>><a href="<@ofbizUrl>EditBillingAccountRoles?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.PartyRoles}</a></li>
|
||||
<li<#if selected == "EditBillingAccountTerms"> class="selected"</#if>><a href="<@ofbizUrl>EditBillingAccountTerms?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.PartyTerms}</a></li>
|
||||
<li<#if selected == "BillingAccountInvoices"> class="selected"</#if>><a href="<@ofbizUrl>BillingAccountInvoices?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.AccountingInvoices}</a></li>
|
||||
<li<#if selected == "BillingAccountPayments"> class="selected"</#if>><a href="<@ofbizUrl>BillingAccountPayments?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.AccountingPayments}</a></li>
|
||||
<li<#if selected == "BillingAccountOrders"> class="selected"</#if>><a href="<@ofbizUrl>BillingAccountOrders?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.AccountingOrders}</a></li>
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
</#if>
|
||||
@@ -1,28 +0,0 @@
|
||||
<#--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<#assign selected = tabButtonItem?default("void")>
|
||||
<div class="button-bar tab-bar">
|
||||
<ul>
|
||||
<li<#if selected == "FindGlobalGlAccount"> class="selected"</#if>><a href="<@ofbizUrl>FindGlobalGlAccount</@ofbizUrl>">${uiLabelMap.AcctgChartOfAcctsTabMenu}</a></li>
|
||||
<li<#if selected == "GlAccountNavigate"> class="selected"</#if>><a href="<@ofbizUrl>GlAccountNavigate</@ofbizUrl>">${uiLabelMap.AcctgNavigateAccts}</a></li>
|
||||
<li<#if selected == "AssignGlAccount"> class="selected"</#if>><a href="<@ofbizUrl>AssignGlAccount</@ofbizUrl>">${uiLabelMap.AcctgAssignGlAccount}</a></li>
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
@@ -1,28 +0,0 @@
|
||||
<#--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<#assign selected = tabButtonItem2?default("void")>
|
||||
<br/>
|
||||
<div class="button-bar tab-bar">
|
||||
<ul>
|
||||
<li<#if selected == "GlAccountNavigate"> class="selected"</#if>><a href="<@ofbizUrl>GlAccountNavigate</@ofbizUrl>">${uiLabelMap.AcctgNavigateAccts}</a></li>
|
||||
<li<#if selected == "AssignGlAccount"> class="selected"</#if>><a href="<@ofbizUrl>AssignGlAccount</@ofbizUrl>">${uiLabelMap.AcctgAssignGlAccount}</a></li>
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
@@ -1,29 +0,0 @@
|
||||
<#--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<#assign selected = tabButtonItem?default("void")>
|
||||
<div class="button-bar tab-bar">
|
||||
<ul>
|
||||
<li<#if selected == "authorizetransactiontab"> class="selected"</#if>><a href="<@ofbizUrl>/AuthorizeTransaction</@ofbizUrl>">${uiLabelMap.AccountingAuthorize}</a></li>
|
||||
<li<#if selected == "capturetransactiontab"> class="selected"</#if>><a href="<@ofbizUrl>/CaptureTransaction</@ofbizUrl>">${uiLabelMap.AccountingCapture}</a></li>
|
||||
<li<#if selected == "gatewayresponsestab"> class="selected"</#if>><a href="<@ofbizUrl>/FindGatewayResponses</@ofbizUrl>">${uiLabelMap.AccountingGatewayResponses}</a></li>
|
||||
<li<#if selected == "manualtransactiontab"> class="selected"</#if>><a href="<@ofbizUrl>/ManualTransaction</@ofbizUrl>">${uiLabelMap.AccountingManualTransaction}</a></li>
|
||||
</ul>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
@@ -38,9 +38,15 @@ under the License.
|
||||
<not><if-empty field-name="agreement"/></not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/agreement/AgreementTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="AgreementTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
<section>
|
||||
<condition>
|
||||
<not><if-empty field-name="agreementItem"/></not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="AgreementItemTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
</widgets>
|
||||
</section>
|
||||
<container>
|
||||
<label style="h1">${agreement.description} [${agreement.agreementId}] </label>
|
||||
</container>
|
||||
|
||||
@@ -31,9 +31,14 @@ under the License.
|
||||
<if-has-permission permission="ACCOUNTING" action="_VIEW"/>
|
||||
</condition>
|
||||
<widgets>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/billingaccount/BillingAccountTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<section>
|
||||
<condition>
|
||||
<not><if-empty field-name="billingAccount"/></not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="BillingAccountTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
</widgets>
|
||||
</section>
|
||||
|
||||
<decorator-section-include name="body"/>
|
||||
|
||||
|
||||
@@ -34,9 +34,7 @@ under the License.
|
||||
<decorator-section name="body">
|
||||
<section>
|
||||
<widgets>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/chartofaccounts/GlAccountTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="GlAccountTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
|
||||
<container>
|
||||
<!-- label style="h1">List Accounts</label -->
|
||||
@@ -73,9 +71,7 @@ under the License.
|
||||
<if-has-permission permission="CATALOG" action="_VIEW"/>
|
||||
</condition -->
|
||||
<widgets>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/chartofaccounts/GlAccountTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="GlAccountTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
|
||||
<container>
|
||||
<label style="h1">${uiLabelMap.${labelTitleProperty}} ${product.internalName} [${uiLabelMap.CommonId}:${productId}]</label>
|
||||
@@ -110,9 +106,7 @@ under the License.
|
||||
<decorator-section name="body">
|
||||
<section>
|
||||
<widgets>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/chartofaccounts/GlSettingTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="GlSettingTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
</widgets>
|
||||
</section>
|
||||
<container style="screenlet">
|
||||
@@ -160,9 +154,7 @@ under the License.
|
||||
</container>
|
||||
</widgets>
|
||||
</section>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/chartofaccounts/GlSettingTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="GlSettingTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-title-bar">
|
||||
<container style="h3">
|
||||
@@ -258,9 +250,7 @@ under the License.
|
||||
<widgets>
|
||||
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/chartofaccounts/GlAccountTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="GlAccountTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-title-bar">
|
||||
<container style="h3">
|
||||
@@ -346,9 +336,7 @@ under the License.
|
||||
<widgets>
|
||||
<decorator-screen name="GlobalGLSettingsDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/chartofaccounts/GlSettingTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="GlSettingTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
<container style="screenlet">
|
||||
<container style="screenlet-title-bar">
|
||||
<container style="h3">
|
||||
|
||||
@@ -576,10 +576,112 @@ under the License.
|
||||
<link target="editInvoiceItemType"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
<menu name="AgreementTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected">
|
||||
<menu-item name="createNewAgreement" title="${uiLabelMap.AccountingNewAgreement}">
|
||||
<link target="EditAgreement"/>
|
||||
|
||||
<menu name="AgreementTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
||||
<menu-item name="AgreementMain" title="${uiLabelMap.AccountingAgreement}">
|
||||
<link target="EditAgreement?agreementId=${agreement.agreementId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="AgreementTerms" title="${uiLabelMap.AccountingAgreementTerms}">
|
||||
<link target="EditAgreementTerms?agreementId=${agreement.agreementId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="AgreementItems" title="${uiLabelMap.AccountingAgreementItems}">
|
||||
<link target="ListAgreementItems?agreementId=${agreement.agreementId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="AgreementWorkEffortAppls" title="${uiLabelMap.AccountingAgreementWorkEffortAppls}">
|
||||
<link target="EditAgreementWorkEffortAppls?agreementId=${agreement.agreementId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="AgreementRoles" title="${uiLabelMap.AccountingAgreementRoles}">
|
||||
<link target="EditAgreementRoles?agreementId=${agreement.agreementId}"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
|
||||
<menu name="AgreementItemTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" selected-menuitem-context-field-name="buttonBarItem">
|
||||
<menu-item name="EditAgreementItem" title="${uiLabelMap.AccountingAgreementItem}">
|
||||
<link target="EditAgreementItem?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="ListAgreementPromoAppls" title="${uiLabelMap.AccountingAgreementPromoAppls}">
|
||||
<link target="ListAgreementPromoAppls?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="ListAgreementItemTerms" title="${uiLabelMap.AccountingAgreementItemTerms}">
|
||||
<link target="ListAgreementItemTerms?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
|
||||
<menu-item name="ListAgreementItemSupplierProducts" title="${uiLabelMap.ProductProducts}">
|
||||
<condition>
|
||||
<if-compare field-name="agreement.agreementTypeId" operator="equals" value="PURCHASE_AGREEMENT"/>
|
||||
</condition>
|
||||
<link target="ListAgreementItemSupplierProducts?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
|
||||
<menu-item name="ListAgreementItemProducts" title="${uiLabelMap.ProductProducts}">
|
||||
<condition>
|
||||
<if-compare field-name="agreement.agreementTypeId" operator="not-equals" value="PURCHASE_AGREEMENT"/>
|
||||
</condition>
|
||||
<link target="ListAgreementItemProducts?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
|
||||
<menu-item name="ListAgreementItemParties" title="${uiLabelMap.Party}">
|
||||
<link target="ListAgreementItemParties?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="ListAgreementGeographicalApplic" title="${uiLabelMap.CommonGeo}">
|
||||
<link target="ListAgreementGeographicalApplic?agreementId=${agreementItem.agreementId}&agreementItemSeqId=${agreementItem.agreementItemSeqId}"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
|
||||
<menu name="BillingAccountTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
||||
<menu-item name="EditBillingAccount" title="${uiLabelMap.AccountingAccount}">
|
||||
<link target="EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="EditBillingAccountRoles" title="${uiLabelMap.PartyRoles}">
|
||||
<link target="EditBillingAccountRoles?billingAccountId=${billingAccount.billingAccountId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="EditBillingAccountTerms" title="${uiLabelMap.PartyTerms}">
|
||||
<link target="EditBillingAccountTerms?billingAccountId=${billingAccount.billingAccountId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="BillingAccountInvoices" title="${uiLabelMap.AccountingInvoices}">
|
||||
<link target="BillingAccountInvoices?billingAccountId=${billingAccount.billingAccountId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="BillingAccountPayments" title="${uiLabelMap.AccountingPayments}">
|
||||
<link target="BillingAccountPayments?billingAccountId=${billingAccount.billingAccountId}"/>
|
||||
</menu-item>
|
||||
<menu-item name="BillingAccountOrders" title="${uiLabelMap.AccountingOrders}">
|
||||
<link target="BillingAccountOrders?billingAccountId=${billingAccount.billingAccountId}"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
|
||||
<menu name="GlAccountTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
||||
<menu-item name="FindGlobalGlAccount" title="${uiLabelMap.AcctgChartOfAcctsTabMenu}">
|
||||
<link target="FindGlobalGlAccount"/>
|
||||
</menu-item>
|
||||
<menu-item name="GlAccountNavigate" title="${uiLabelMap.AcctgNavigateAccts}">
|
||||
<link target="GlAccountNavigate"/>
|
||||
</menu-item>
|
||||
<menu-item name="AssignGlAccount" title="${uiLabelMap.AcctgAssignGlAccount}">
|
||||
<link target="AssignGlAccount"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
|
||||
<menu name="GlSettingTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" selected-menuitem-context-field-name="tabButtonItem2">
|
||||
<menu-item name="GlAccountNavigate" title="${uiLabelMap.AcctgNavigateAccts}">
|
||||
<link target="GlAccountNavigate"/>
|
||||
</menu-item>
|
||||
<menu-item name="AssignGlAccount" title="${uiLabelMap.AcctgAssignGlAccount}">
|
||||
<link target="AssignGlAccount"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
|
||||
<menu name="TransactionsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
||||
<menu-item name="authorizetransactiontab" title="${uiLabelMap.AccountingAuthorize}">
|
||||
<link target="AuthorizeTransaction"/>
|
||||
</menu-item>
|
||||
<menu-item name="capturetransactiontab" title="${uiLabelMap.AccountingCapture}">
|
||||
<link target="CaptureTransaction"/>
|
||||
</menu-item>
|
||||
<menu-item name="gatewayresponsestab" title="${uiLabelMap.AccountingGatewayResponses}">
|
||||
<link target="FindGatewayResponses"/>
|
||||
</menu-item>
|
||||
<menu-item name="manualtransactiontab" title="${uiLabelMap.AccountingManualTransaction}">
|
||||
<link target="ManualTransaction"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
</menus>
|
||||
|
||||
@@ -33,9 +33,7 @@ under the License.
|
||||
<decorator-section name="body">
|
||||
<section>
|
||||
<widgets>
|
||||
<platform-specific>
|
||||
<html><html-template location="component://accounting/webapp/accounting/transaction/TransactionsTabBar.ftl"/></html>
|
||||
</platform-specific>
|
||||
<include-menu name="TransactionsTabBar" location="component://accounting/widget/Menus.xml"/>
|
||||
|
||||
<container>
|
||||
<label style="h1">${uiLabelMap.${labelTitleProperty}}</label>
|
||||
|
||||
Reference in New Issue
Block a user