Fixes issue 23238: Organization location does not appear complete when printing invoices
authorJavier Etxarri <javier.echarri@openbravo.com>
Mon, 27 May 2013 17:09:04 +0200
changeset 20475 8a750c29825c
parent 20474 bb419c9b4257
child 20476 7716d145ea66
Fixes issue 23238: Organization location does not appear complete when printing invoices
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>