Files
ofbiz-framework/applications/order/widget/ordermgr/OrderViewScreens.xml
T

247 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2001-2006 The Apache Software Foundation
Licensed 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.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd">
<screen name="CommonOrderViewDecorator">
<section>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<decorator-section-include name="body"/>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderHeaderView">
<section>
<actions>
<set field="titleProperty" value="OrderViewOrder"/>
<set field="headerItem" value="findorders"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/orderviewwebsecure.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/orderheader.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/orderitems.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/ordernotes.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/transitions.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderHeaderListView">
<section>
<actions>
<set field="headerItem" value="orderlist"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/orderlist.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderItemEdit">
<section>
<actions>
<set field="titleProperty" value="OrderEditItems"/>
<set field="headerItem" value="orderlist"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/orderviewwebsecure.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/orderheader.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/editorderitems.ftl"/></html>
</platform-specific>
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/appendorderitem.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderFindOrder">
<section>
<actions>
<set field="titleProperty" value="OrderFindOrder"/>
<set field="headerItem" value="findorders"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/findOrders.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/findOrders.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderNewNote">
<section>
<actions>
<set field="titleProperty" value="OrderAddNote"/>
<set field="headerItem" value="findorders"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/newnote.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/newnote.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderDeliveryScheduleInfo">
<section>
<actions>
<set field="titleProperty" value="OrderViewEditDeliveryScheduleInfo"/>
<set field="headerItem" value="findorders"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderDeliveryScheduleInfo.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/OrderDeliveryScheduleInfo.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderStats">
<section>
<actions>
<set field="titleProperty" value="OrderOrderStatisticsPage"/>
<set field="headerItem" value="stats"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/orderstats.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/orderstats.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="OrderReceivePayment">
<section>
<actions>
<set field="titleProperty" value="OrderReceiveOfflinePayments"/>
<set field="headerItem" value="findorders"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/receivepayment.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/receivepayment.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ViewImage">
<section>
<actions>
<set field="titleProperty" value="OrderViewImage"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/viewimage.bsh"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://order/webapp/ordermgr/order/viewimage.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<screen name="SendOrderConfirmation">
<section>
<actions>
<set field="titleProperty" value="OrderSendConfirmationEmail"/>
<set field="headerItem" value="findorders"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/sendconfirmationemail.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<platform-specific>
<html><html-template location="component://order/webapp/ordermgr/order/sendconfirmationemail.ftl"/></html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ListOrderTerms">
<section>
<actions>
<set field="titleProperty" value="ListOrderTerms"/>
<set field="headerItem" value="findorders"/>
<entity-and entity-name="OrderTerm" list-name="orderTerms">
<field-map field-name="orderId" env-name="parameters.orderId"/>
</entity-and>
</actions>
<widgets>
<decorator-screen name="CommonOrderViewDecorator">
<decorator-section name="body">
<include-form name="ListOrderTerms" location="component://order/webapp/ordermgr/order/OrderForms.xml"/>
<include-form name="AddOrderTerm" location="component://order/webapp/ordermgr/order/OrderForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>