details:   https://code.openbravo.com/erp/devel/pi/rev/8a750c29825c
changeset: 20475:8a750c29825c
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Mon May 27 17:09:04 2013 +0200
summary:   Fixes issue 23238: Organization location does not appear complete 
when printing invoices

diffstat:

 src/org/openbravo/erpReports/RptC_Invoice.jrxml |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r bb419c9b4257 -r 8a750c29825c 
src/org/openbravo/erpReports/RptC_Invoice.jrxml
--- a/src/org/openbravo/erpReports/RptC_Invoice.jrxml   Thu May 23 17:50:17 
2013 +0530
+++ b/src/org/openbravo/erpReports/RptC_Invoice.jrxml   Mon May 27 17:09:04 
2013 +0200
@@ -4,7 +4,7 @@
        <property name="ireport.encoding" value="UTF-8"/>
        <property name="ireport.zoom" value="1.0"/>
        <property name="ireport.x" value="0"/>
-       <property name="ireport.y" value="308"/>
+       <property name="ireport.y" value="160"/>
        <import value="net.sf.jasperreports.engine.*"/>
        <import value="java.util.*"/>
        <import value="net.sf.jasperreports.engine.data.*"/>
@@ -186,7 +186,7 @@
                                        <textElement textAlignment="Right">
                                                <font fontName="Times-Roman" 
size="10"/>
                                        </textElement>
-                                        <textFieldExpression 
class="java.lang.String"><![CDATA[org.openbravo.erpCommon.utility.Utility.applyCountryDateFormat($F{DATEINVOICED},$F{ORGANIZATIONID})]]></textFieldExpression>
+                                       <textFieldExpression 
class="java.lang.String"><![CDATA[org.openbravo.erpCommon.utility.Utility.applyCountryDateFormat($F{DATEINVOICED},$F{ORGANIZATIONID})]]></textFieldExpression>
                                </textField>
                                <staticText>
                                        <reportElement key="element-90" 
style="Group_Data_Label" mode="Transparent" x="-3" y="217" width="149" 
height="18" forecolor="#999999" backcolor="#FFFFFF"/>
@@ -249,7 +249,7 @@
                                        </textElement>
                                        <textFieldExpression 
class="java.lang.String"><![CDATA[$F{NAME} + "\n" + 
$F{BP_DATA}]]></textFieldExpression>
                                </textField>
-                               <textField isBlankWhenNull="false">
+                               <textField isStretchWithOverflow="true" 
isBlankWhenNull="false">
                                        <reportElement key="textField-15" 
style="Report_Footer" x="307" y="93" width="176" height="42" 
isPrintWhenDetailOverflows="true">
                                                
<printWhenExpression><![CDATA[new 
Boolean($F{SHOWCOMPANYDATA}.equalsIgnoreCase("Y"))]]></printWhenExpression>
                                        </reportElement>
@@ -317,7 +317,7 @@
                                <subreport isUsingCache="true">
                                        <reportElement key="subreport-2" 
style="Report_Footer" positionType="Float" x="0" y="0" width="482" height="16"/>
                                        <subreportParameter name="NUMBERFORMAT">
-                                                
<subreportParameterExpression><![CDATA[org.openbravo.erpCommon.utility.Utility.getCountryNumberFormat($F{ORGANIZATIONID},$P{NUMBERFORMAT})]]></subreportParameterExpression>
+                                               
<subreportParameterExpression><![CDATA[org.openbravo.erpCommon.utility.Utility.getCountryNumberFormat($F{ORGANIZATIONID},$P{NUMBERFORMAT})]]></subreportParameterExpression>
                                        </subreportParameter>
                                        <subreportParameter name="LOCALE">
                                                
<subreportParameterExpression><![CDATA[$P{LOCALE}]]></subreportParameterExpression>
@@ -355,7 +355,7 @@
                        <subreport isUsingCache="true">
                                <reportElement key="subreport-3" 
style="Report_Footer" x="0" y="0" width="482" height="16"/>
                                <subreportParameter name="NUMBERFORMAT">
-                                        
<subreportParameterExpression><![CDATA[org.openbravo.erpCommon.utility.Utility.getCountryNumberFormat($F{ORGANIZATIONID},$P{NUMBERFORMAT})]]></subreportParameterExpression>
+                                       
<subreportParameterExpression><![CDATA[org.openbravo.erpCommon.utility.Utility.getCountryNumberFormat($F{ORGANIZATIONID},$P{NUMBERFORMAT})]]></subreportParameterExpression>
                                </subreportParameter>
                                <subreportParameter name="LOCALE">
                                        
<subreportParameterExpression><![CDATA[$P{LOCALE}]]></subreportParameterExpression>

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to