blob: e93f4e5567175395ebab8d78d147c31bd24aa60a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="SalesReport">
<section>
<actions>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSalesReport}">
<include-form name="SalesReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<screen name="NetBeforeOverheadReport">
<section>
<actions>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportNetBeforeOverheadReport}">
<include-form name="NetBeforeOverheadReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<screen name="ProductDemandReport">
<section>
<actions>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportProductDemandReport}">
<include-form name="ProductDemandReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Sale Order By Referrer -->
<screen name="SaleOrdersByReferrerReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportOrderByReferrer}">
<include-form name="OrderByReferrer" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Sale Order By Channel -->
<screen name="SaleOrdersByChannelReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSaleOrdersByChannel}">
<include-form name="SaleOrdersByChannel" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Sale Order with Discount Code -->
<screen name="SaleOrderDiscountCodeReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSaleOrderDiscountCode}">
<include-form name="SaleOrderDiscountCode" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Last Three Months Sales Report -->
<screen name="Last3MonthsSalesReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportLast3MonthsSalesReport}">
<include-form name="Last3MonthsSalesReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Coupon Sales Report -->
<screen name="CouponSalesReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportCouponSalesReport}">
<include-form name="CouponSalesReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<screen name="SalesOrderReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
<entity-condition entity-name="SalesOrderItemStarSchema" list="SalesReportList">
<condition-list combine="and">
<condition-expr field-name="orderDate" operator="greater-equals" from-field="parameters.fromOrderDate" ignore-if-empty="true"/>
<condition-expr field-name="orderDate" operator="less" from-field="parameters.thruOrderDate" ignore-if-empty="true"/>
</condition-list>
</entity-condition>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSalesReport}">
<platform-specific>
<xml><html-template location="component://order/webapp/ordermgr/reports/SalesReport.rptdesign"/></xml>
</platform-specific>
</screenlet>
</widgets>
</section>
</screen>
<screen name="NetBeforeOverheadOrderReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportNetBeforeOverheadReport}">
<platform-specific>
<xml><html-template location="component://order/webapp/ordermgr/reports/NetBeforeOverheadReport.rptdesign"/></xml>
</platform-specific>
</screenlet>
</widgets>
</section>
</screen>
<screen name="ProductDemandOrderReport ">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportProductDemandReport}">
<platform-specific>
<xml><html-template location="component://order/webapp/ordermgr/reports/ProductDemandReport.rptdesign"/></xml>
</platform-specific>
</screenlet>
</widgets>
</section>
</screen>
</screens>