ilscipio/scipio-erp

View on GitHub
applications/order/widget/ordermgr/OrderSetupScreens.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.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
    <screen name="CommonOrderSetupDecorator">
        <section>
            <actions>
                <set field="activeSubMenuItem" from-field="activeSubMenuItem" default-value="setup"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonOrderAppDecorator" location="${parameters.mainDecoratorLocation}">
                </decorator-screen>
            </widgets>
        </section>
    </screen>
    
    <screen name="OrderPaymentSetup">
        <section>
            <actions>
                <set field="titleProperty" value="OrderOrderEntryPaymentSettings"/>
                <script location="component://order/webapp/ordermgr/WEB-INF/actions/setup/PaymentSetup.groovy"/>
            </actions>
            <widgets>
                <decorator-screen name="CommonOrderSetupDecorator">
                    <decorator-section name="body">
                        <platform-specific>
                            <html><html-template location="component://order/webapp/ordermgr/setup/paymentsetup.ftl"/></html>
                        </platform-specific>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>
</screens>