Files
ofbiz-framework/specialpurpose/birt/widget/order/OrderForms.xml
T
Jacques Le Roux 93c65e871a Fixes: Net Before Overhead Report is not working
(OFBIZ-7317)

Here is the patch that removes the NBO(Net Before Overhead) report from the 
trunk. In the patch I have also removed the Demo data which is required by this 
report only.

Note : Please remove below data from existing database to avoid any data 
related problem in OrderPortletData.xml

<PortalPortlet portalPortletId="NBO_Report"
   portletName="Net Before Overhead Report"
   screenName="NetBeforeOverheadReport"
   screenLocation="component://birt/widget/order/OrderScreens.xml"
   description=""/>
<PortletPortletCategory portalPortletId="NBO_Report" portletCategoryId="REPORT"/>
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="NBO_Report" 
portletSeqId="00001" columnSeqId="00002" sequenceNum="11"/>


Thanks: Rohit Koushal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1763132 13f79535-47bb-0310-9956-ffa450edef68
2016-10-03 08:59:10 +00:00

79 lines
4.2 KiB
XML

<?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.
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
<!--New From-->
<form name="SalesReport" type="single" target="checkReportBy" title=""
header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK">
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time type="date"/></field>
<field name="reportBy" title="${uiLabelMap.BirtOrderReportReportBy}">
<drop-down>
<option key="day" description="${uiLabelMap.CommonDays}"></option>
<option key="week" description="${uiLabelMap.CommonWeeks}"></option>
<option key="month" description="${uiLabelMap.CommonMonths}"></option>
</drop-down>
</field>
<field name="exportType" title="${uiLabelMap.BirtOrderReportFormatType}">
<drop-down>
<option key="pdf" description="PDF"></option>
<option key="excel" description="Excel"></option>
<option key="html" description="HTML"></option>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonRun}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ProductDemandReport" type="single" target="ProductDemandReport.pdf" title=""
header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK">
<field name="productStoreId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductStore" description="${storeName} [${productStoreId}]">
<entity-order-by field-name="storeName"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonRun}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="SaleOrdersByChannel" type="single" target="OrdersByChannel.pdf" target-window="_BLANK">
<field name="SalesChannel" title="${uiLabelMap.OrderSalesChannel}">
<drop-down allow-empty="true">
<entity-options entity-name="Enumeration" key-field-name="enumId" description="${description}">
<entity-constraint name="enumTypeId" operator="equals" value="ORDER_SALES_CHANNEL"/>
</entity-options>
</drop-down>
</field>
<field name="submit" title="${uiLabelMap.CommonRun}"><submit button-type="button"/></field>
</form>
<form name="SaleOrderDiscountCode" type="single" target="OrderDiscountCode.pdf" target-window="_BLANK">
<field name="discountCodeUrl" title=" "><display description="${uiLabelMap.BirtOrderReportAllOrderItemsWithDiscountCode}"></display></field>
<field name="submit" title="${uiLabelMap.CommonRun}"><submit button-type="button"/></field>
</form>
<form name="Last3MonthsSalesReport" type="single" target="Last3MonthsSalesReport.pdf" target-window="_BLANK">
<field name="submit" title="${uiLabelMap.CommonRun}"><submit button-type="button"/></field>
</form>
<form name="CouponSalesReport" type="single" target="CouponSalesReport.pdf" target-window="_BLANK">
<field name="submit" title="${uiLabelMap.CommonRun}"><submit button-type="button"/></field>
</form>
</forms>