details:   /erp/stable/2.50/rev/ea6ef546188e
changeset: 9344:ea6ef546188e
user:      Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
date:      Tue Apr 05 10:18:16 2011 +0200
summary:   Fixes issue 16633. Column size changed for credit and debit in GL 
Report (excel)

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml |  24 
+++++-----
 1 files changed, 12 insertions(+), 12 deletions(-)

diffs (85 lines):

diff -r c400321a2952 -r ea6ef546188e 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml     
Tue Apr 05 12:41:12 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerExcel.jrxml     
Tue Apr 05 10:18:16 2011 +0200
@@ -297,7 +297,7 @@
                                                style="Detail_Header"
                                                x="350"
                                                y="45"
-                                               width="50"
+                                               width="80"
                                                height="15"
                                                key="element-90"/>
                                        <box leftPadding="5" rightPadding="2">  
                                <topPen lineWidth="0.0" lineStyle="Solid" 
lineColor="#000000"/>
@@ -313,9 +313,9 @@
                                <staticText>
                                        <reportElement
                                                style="Detail_Header"
-                                               x="400"
+                                               x="430"
                                                y="45"
-                                               width="50"
+                                               width="80"
                                                height="15"
                                                key="element-90"/>
                                        <box leftPadding="5" rightPadding="2">  
                                <topPen lineWidth="0.0" lineStyle="Solid" 
lineColor="#000000"/>
@@ -331,9 +331,9 @@
                                <staticText>
                                        <reportElement
                                                style="Detail_Header"
-                                               x="450"
+                                               x="510"
                                                y="45"
-                                               width="450"
+                                               width="390"
                                                height="15"
                                                key="element-90"/>
                                        <box leftPadding="5" rightPadding="2">  
                                <topPen lineWidth="0.0" lineStyle="Solid" 
lineColor="#000000"/>
@@ -568,9 +568,9 @@
                                </textField>
                                <textField isStretchWithOverflow="false" 
pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  
hyperlinkTarget="Self" >
                                        <reportElement
-                                               x="450"
+                                               x="510"
                                                y="0"
-                                               width="450"
+                                               width="390"
                                                height="13"
                                                key="textField-18"
                                                
stretchType="RelativeToBandHeight"/>
@@ -586,9 +586,9 @@
                                </textField>
                                <textField isStretchWithOverflow="false" 
pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  
hyperlinkTarget="Self" >
                                        <reportElement
-                                               x="400"
+                                               x="430"
                                                y="0"
-                                               width="50"
+                                               width="80"
                                                height="13"
                                                key="textField-20"
                                                
stretchType="RelativeToBandHeight"/>
@@ -600,13 +600,13 @@
                                        <textElement textAlignment="Right">
                                                <font size="8"/>
                                        </textElement>
-                               <textFieldExpression   
class="java.math.BigDecimal"><![CDATA[$F{AMTACCTCR}]]></textFieldExpression>
+                               <textFieldExpression   
class="java.lang.String"><![CDATA[($F{AMTACCTCR}!=BigDecimal.ZERO && 
$F{AMTACCTCR}!=null)?$P{NUMBERFORMAT}.format($F{AMTACCTCR}).toString():new 
String(" ")]]></textFieldExpression>
                                </textField>
                                <textField isStretchWithOverflow="false" 
pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  
hyperlinkTarget="Self" >
                                        <reportElement
                                                x="350"
                                                y="0"
-                                               width="50"
+                                               width="80"
                                                height="13"
                                                key="textField-21"
                                                
stretchType="RelativeToBandHeight"/>
@@ -618,7 +618,7 @@
                                        <textElement textAlignment="Right">
                                                <font size="8"/>
                                        </textElement>
-                               <textFieldExpression   
class="java.math.BigDecimal"><![CDATA[$F{AMTACCTDR}]]></textFieldExpression>
+                               <textFieldExpression   
class="java.lang.String"><![CDATA[($F{AMTACCTDR}!=BigDecimal.ZERO && 
$F{AMTACCTDR}!=null)?$P{NUMBERFORMAT}.format($F{AMTACCTDR}).toString():new 
String(" ")]]></textFieldExpression>
                                </textField>
                                <textField isStretchWithOverflow="false" 
pattern="dd/MM/yyyy" isBlankWhenNull="false" evaluationTime="Now" 
hyperlinkType="None"  hyperlinkTarget="Self" >
                                        <reportElement

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to