[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
174 lines
9.4 KiB
XML
174 lines
9.4 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.
|
|
-->
|
|
|
|
<!-- These forms are for generating printed documents, such as invoices, bills, statements, etc. -->
|
|
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
|
|
<!-- generate a PDF for the order, sharing the same BSH file as the HTML page for viewing the order -->
|
|
<screen name="OrderPDF">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrder"/>
|
|
<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"/>
|
|
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="FoReportDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<!-- at the top left of every page we put the logo and company information -->
|
|
<decorator-section name="topLeft">
|
|
<section>
|
|
<widgets>
|
|
<include-screen name="CompanyLogo" location="component://order/widget/ordermgr/OrderPrintScreens.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<!-- at the top right of every page we put the order information -->
|
|
<decorator-section name="topRight">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/order/orderReportHeaderInfo.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<!-- the contach mechanisms, terms, payment and shipping methods are shown in the first page -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
<!-- order items and totals -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/order/orderReportBody.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
<!-- return policies and notes are shown in the last page -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/order/orderReportConditions.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="CompanyLogo">
|
|
<section>
|
|
<actions>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><xsl-fo><html-template location="component://order/webapp/ordermgr/order/companyHeader.fo.ftl"/></xsl-fo></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ReturnPDF">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderReturn"/>
|
|
<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"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/return/ReturnHeader.groovy"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/return/ReturnItems.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="FoReportDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<!-- at the top left of every page we put the logo and company information -->
|
|
<decorator-section name="topLeft">
|
|
<section>
|
|
<widgets>
|
|
<include-screen name="CompanyLogo" location="component://order/widget/ordermgr/OrderPrintScreens.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<!-- at the top right of every page we put the order information -->
|
|
<decorator-section name="topRight">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/return/returnReportHeaderInfo.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<!-- the contach mechanisms, terms, payment and shipping methods are shown in the first page -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/return/returnReportContactMechs.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
<!-- order items and totals -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/return/returnReportBody.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
<!-- return policies and notes are shown in the last page -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/return/returnReportConditions.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ShipGroupsPDF">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderShipGroups"/>
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/ShipGroups.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="FoReportDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<!-- at the top left of every page we put the logo and company information -->
|
|
<decorator-section name="topLeft">
|
|
<section>
|
|
<widgets>
|
|
<include-screen name="CompanyLogo" location="component://order/widget/ordermgr/OrderPrintScreens.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/order/shipGroups.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
</screens>
|