|
Author: erwan
Date: Wed Feb 16 15:26:44 2011 New Revision: 1071286 URL: http://svn.apache.org/viewvc?rev=1071286&view=rev Log: Same format for numbers when using PaymentReport, just displaying 2 decimals Modified: ofbiz/trunk/applications/accounting/webapp/accounting/payment/report/PaymentReport.rptdesign Modified: ofbiz/trunk/applications/accounting/webapp/accounting/payment/report/PaymentReport.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/payment/report/PaymentReport.rptdesign?rev=1071286&r1=1071285&r2=1071286&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/payment/report/PaymentReport.rptdesign (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/payment/report/PaymentReport.rptdesign Wed Feb 16 15:26:44 2011 @@ -1,25 +1,6 @@ <?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. ---> -<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20" id="1"> - <property name="createdBy">Eclipse BIRT Designer Version 2.5.1.v20090903 Build <2.5.1.v20090917-1447></property> - <property name="units">in</property> +<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1"> + <property name="createdBy">Eclipse BIRT Designer Version 2.6.0.v20100531 Build <2.6.0.v20100609-1613></property> <list-property name="userProperties"> <structure> <property name="name">Payment.Payments.x</property> @@ -34,6 +15,7 @@ under the License. </list-property> <property name="Payment.Payments.x">135</property> <property name="Payment.Payments.y">80</property> + <property name="units">in</property> <method name="initialize"><![CDATA[importPackage(Packages.org.ofbiz.base.util) importPackage(Packages.javolution.util) importPackage(Packages.org.ofbiz.entity.util) @@ -485,6 +467,7 @@ return true;]]></method> ]]></text-property> </text> <extended-item extensionName="Crosstab" extensionVersion="2.5.0" id="255"> + <property name="cube">Payment</property> <property name="measures"> <extended-item extensionName="MeasureView" id="277"> <property name="measure">amount</property> @@ -493,6 +476,10 @@ return true;]]></method> <property name="aggregationOnRow">Group/date</property> <property name="content"> <data id="279"> + <structure name="numberFormat"> + <property name="category">Currency</property> + <property name="pattern">###0.00{RoundingMode=HALF_UP}</property> + </structure> <property name="textAlign">center</property> <property name="resultSetColumn">amount_Group/date</property> </data> @@ -503,6 +490,10 @@ return true;]]></method> <extended-item extensionName="AggregationCell" id="283"> <property name="content"> <data id="284"> + <structure name="numberFormat"> + <property name="category">Currency</property> + <property name="pattern">###0.00{RoundingMode=HALF_UP}</property> + </structure> <property name="resultSetColumn">amount</property> </data> </property> @@ -695,7 +686,6 @@ return true;]]></method> </property> </extended-item> </property> - <property name="cube">Payment</property> <list-property name="boundDataColumns"> <structure> <property name="name">paymentId</property> |
| Free forum by Nabble | Edit this page |
