ilscipio/scipio-erp

View on GitHub
applications/marketing/widget/ServicesMenus.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">

    <menu name="ServicesSideBar" title="${uiLabelMap.MarketingServices}" extends="CommonSideBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
        <menu-item name="MyCommunicationEvents" title="${uiLabelMap.PartyCommunications}">
            <link target="MyCommunicationEvents">
                <parameter param-name="noConditionFind" value="Y" />
            </link>
        </menu-item>
        <menu-item name="FindRequest" title="${uiLabelMap.PartyPartyRequests}"><link target="FindRequest"/></menu-item>
    </menu>
    
    <!-- <menu name="AccountTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
        <menu-item name="find" title="${uiLabelMap.CommonFind}"><link target="FindAccounts"/></menu-item>
        <menu-item name="profile" title="${uiLabelMap.PartyProfile}">
            <condition>
                <not><if-empty field="parameters.partyId"/></not>
            </condition>
            <link target="viewprofile">
                <parameter param-name="partyId" from-field="parameters.partyId"/>
            </link>
        </menu-item>
    </menu>
    
    <menu name="AccountSideBar" extends="CommonSideBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
        <include-elements menu-name="SfaAppSideBar" recursive="includes-only" />
    </menu>
    
    <menu name="AccountSubTabBar" extends="CommonSubTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
          menu-container-style="+${styles.menu_buttonstyle_alt2} ${styles.menu_noclear}">
        <menu-item name="NewAccounts" title="${uiLabelMap.PageTitleCreateAccount}" widget-style="+${styles.action_nav} ${styles.action_add}">
            <link target="NewAccount"/>
        </menu-item>
        <menu-item name="ViewSfaCommEvent" title="${uiLabelMap.PartyCommunications}">
            <condition>
                <not><if-empty field="partyId"/></not>
            </condition>
            <link target="ListPartyCommEvents">
                <parameter param-name="partyId" from-field="partyId"/>
                <<parameter param-name="activeSubMenuItem" value="Accounts"/>
            </link>
        </menu-item>
    </menu>
    <menu name="AccountFindTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
        <menu-item name="all" title="${uiLabelMap.SfaAllAccounts}">
            <condition>
                <if-compare field="parameters.all" operator="equals" value="false"/>
            </condition>
            <link target="${parameters._LAST_VIEW_NAME_}">
                <parameter param-name="all" value="true"/>
            </link>
        </menu-item>
        <menu-item name="my" title="${uiLabelMap.SfaMyAccounts}">
            <condition>
                <or>
                    <if-compare field="parameters.all" operator="equals" value="true"/>
                    <if-empty field="parameters.all"/>
                </or>
            </condition>
            <link target="${parameters._LAST_VIEW_NAME_}">
                <parameter param-name="all" value="false"/>
            </link>
        </menu-item>
    </menu> -->
    
    
</menus>