Fixes Issue 25289: Invoice Taxes Report: Some taxes' width comes out of the pdf
authorPandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com>
Tue, 18 Mar 2014 11:04:49 +0530
changeset 22717 8f8910c3f90c
parent 22716 c6e6898cf69a
child 22718 3516480dfee0
child 22719 5b72cc2f9c66
Fixes Issue 25289: Invoice Taxes Report: Some taxes' width comes out of the pdf
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml	Mon Mar 17 17:51:19 2014 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml	Tue Mar 18 11:04:49 2014 +0530
@@ -113,9 +113,9 @@
 	<group name="TAXNAME">
 		<groupExpression><![CDATA[$F{TAXNAME}]]></groupExpression>
 		<groupHeader>
-			<band height="44" splitType="Stretch">
+			<band height="58" splitType="Stretch">
 				<staticText>
-					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="20"/>
+					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="32"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -128,7 +128,7 @@
 					<text><![CDATA[Tax Type]]></text>
 				</staticText>
 				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
-					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="503" height="20"/>
+					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="478" height="32"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -147,7 +147,7 @@
 					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="604" y="0" width="1" height="43" forecolor="#555555"/>
 				</line>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="10" y="28" width="90" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="10" y="42" width="90" height="16">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -160,7 +160,7 @@
 					<text><![CDATA[Invoice]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="100" y="28" width="70" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="100" y="42" width="70" height="16">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -173,7 +173,7 @@
 					<text><![CDATA[Date]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="170" y="28" width="165" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="170" y="42" width="165" height="16">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -186,7 +186,7 @@
 					<text><![CDATA[Business Partner]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="335" y="28" width="117" height="16"/>
+					<reportElement key="element-90" style="Detail_Header" x="335" y="42" width="117" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -197,7 +197,7 @@
 					<text><![CDATA[Taxable Base]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="452" y="28" width="114" height="16"/>
+					<reportElement key="element-90" style="Detail_Header" x="452" y="42" width="82" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -248,7 +248,7 @@
 					<reportElement key="line-37" x="10" y="0" width="510" height="1" forecolor="#666666"/>
 				</line>
 				<textField isBlankWhenNull="false">
-					<reportElement key="textField" style="Total_Field" x="452" y="0" width="114" height="17"/>
+					<reportElement key="textField" style="Total_Field" x="452" y="0" width="82" height="17"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -352,7 +352,7 @@
 				<textFieldExpression class="java.lang.String"><![CDATA[($F{TAXBASEAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXBASEAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
 			</textField>
 			<textField pattern="" isBlankWhenNull="false">
-				<reportElement key="textField" style="Detail_Line" x="452" y="0" width="114" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="452" y="0" width="82" height="14"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>