src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml
changeset 22768 1dcbf92e17e9
parent 22717 8f8910c3f90c
child 26742 d2bbde0c3d66
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml	Tue Mar 25 12:37:02 2014 +0100
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml	Tue Mar 25 17:08:07 2014 +0530
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="ReportTaxInvoiceSale" pageWidth="605" pageHeight="842" columnWidth="605" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
+<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="ReportTaxInvoiceSale" pageWidth="535" pageHeight="842" columnWidth="535" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
 	<property name="ireport.scriptlethandling" value="0"/>
 	<property name="ireport.encoding" value="UTF-8"/>
 	<property name="ireport.zoom" value="1.0"/>
@@ -113,9 +113,9 @@
 	<group name="TAXNAME">
 		<groupExpression><![CDATA[$F{TAXNAME}]]></groupExpression>
 		<groupHeader>
-			<band height="58" splitType="Stretch">
+			<band height="44" splitType="Stretch">
 				<staticText>
-					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="32"/>
+					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="20"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -127,8 +127,8 @@
 					</textElement>
 					<text><![CDATA[Tax Type]]></text>
 				</staticText>
-				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
-					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="478" height="32"/>
+				<textField pattern="" isBlankWhenNull="true">
+					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="433" height="20"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -142,12 +142,18 @@
 				</textField>
 				<line>
 					<reportElement key="line-2" stretchType="RelativeToBandHeight" x="0" y="1" width="1" height="43" forecolor="#555555"/>
+					<graphicElement>
+						<pen lineWidth="2.0"/>
+					</graphicElement>
 				</line>
 				<line>
-					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="604" y="0" width="1" height="43" forecolor="#555555"/>
+					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="534" y="1" width="1" height="43" forecolor="#555555"/>
+					<graphicElement>
+						<pen lineWidth="2.0"/>
+					</graphicElement>
 				</line>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="10" y="42" width="90" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="10" y="28" width="90" height="16">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -160,7 +166,7 @@
 					<text><![CDATA[Invoice]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="100" y="42" width="70" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="100" y="28" width="70" height="16">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -173,7 +179,7 @@
 					<text><![CDATA[Date]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="170" y="42" width="165" height="16">
+					<reportElement key="element-90" style="Detail_Header" x="170" y="28" width="170" height="16">
 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 					</reportElement>
 					<box leftPadding="5">
@@ -186,7 +192,7 @@
 					<text><![CDATA[Business Partner]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="335" y="42" width="117" height="16"/>
+					<reportElement key="element-90" style="Detail_Header" x="340" y="28" width="90" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -197,7 +203,7 @@
 					<text><![CDATA[Taxable Base]]></text>
 				</staticText>
 				<staticText>
-					<reportElement key="element-90" style="Detail_Header" x="452" y="42" width="82" height="16"/>
+					<reportElement key="element-90" style="Detail_Header" x="430" y="28" width="90" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -213,15 +219,24 @@
 			<band height="25" splitType="Stretch">
 				<line>
 					<reportElement key="line-32" stretchType="RelativeToBandHeight" x="0" y="0" width="1" height="20" forecolor="#555555"/>
+					<graphicElement>
+						<pen lineWidth="2.0"/>
+					</graphicElement>
 				</line>
 				<line>
-					<reportElement key="line-33" stretchType="RelativeToBandHeight" x="604" y="0" width="1" height="20" forecolor="#555555"/>
+					<reportElement key="line-33" stretchType="RelativeToBandHeight" x="534" y="0" width="1" height="20" forecolor="#555555"/>
+					<graphicElement>
+						<pen lineWidth="2.0"/>
+					</graphicElement>
 				</line>
 				<line>
-					<reportElement key="line-34" x="0" y="20" width="603" height="1" forecolor="#555555"/>
+					<reportElement key="line-34" x="0" y="20" width="535" height="1" forecolor="#555555"/>
+					<graphicElement>
+						<pen lineWidth="2.0"/>
+					</graphicElement>
 				</line>
 				<staticText>
-					<reportElement key="staticText-4" style="default" x="199" y="0" width="90" height="16"/>
+					<reportElement key="staticText-4" style="default" x="10" y="1" width="90" height="16"/>
 					<box>
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -234,7 +249,7 @@
 					<text><![CDATA[Total:]]></text>
 				</staticText>
 				<textField isBlankWhenNull="false">
-					<reportElement key="textField" style="Total_Field" x="294" y="0" width="33" height="16"/>
+					<reportElement key="textField" style="Total_Field" x="100" y="1" width="240" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -248,7 +263,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="82" height="17"/>
+					<reportElement key="textField" style="Total_Field" x="430" y="1" width="90" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -259,7 +274,7 @@
 					<textFieldExpression class="java.lang.String"><![CDATA[($V{sumImport}!=null)?$P{NUMBERFORMAT}.format($V{sumImport})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
 				</textField>
 				<textField isBlankWhenNull="false">
-					<reportElement key="textField" style="Total_Field" x="335" y="0" width="117" height="16"/>
+					<reportElement key="textField" style="Total_Field" x="340" y="1" width="90" height="16"/>
 					<box leftPadding="5">
 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -281,7 +296,7 @@
 	<pageHeader>
 		<band height="20" splitType="Stretch">
 			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
-				<reportElement key="textField" style="Report_Subtitle" x="1" y="0" width="602" height="20"/>
+				<reportElement key="textField" style="Report_Subtitle" x="1" y="0" width="535" height="20"/>
 				<box leftPadding="5">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -300,10 +315,16 @@
 		<band height="14" splitType="Stretch">
 			<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
 			<line>
-				<reportElement key="line-16" stretchType="RelativeToBandHeight" x="603" y="-6" width="1" height="14" forecolor="#555555"/>
+				<reportElement key="line-16" stretchType="RelativeToBandHeight" x="534" y="0" width="1" height="14" forecolor="#555555"/>
+				<graphicElement>
+					<pen lineWidth="2.0"/>
+				</graphicElement>
 			</line>
 			<line>
 				<reportElement key="line-17" stretchType="RelativeToBandHeight" x="0" y="0" width="1" height="14" forecolor="#555555"/>
+				<graphicElement>
+					<pen lineWidth="2.0"/>
+				</graphicElement>
 			</line>
 			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
 				<reportElement key="textField" style="Detail_Line" x="10" y="0" width="90" height="14"/>
@@ -328,7 +349,7 @@
 				<textFieldExpression class="java.sql.Timestamp"><![CDATA[$F{DATEINVOICED}]]></textFieldExpression>
 			</textField>
 			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
-				<reportElement key="textField" style="Detail_Line" x="170" y="0" width="165" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="170" y="0" width="170" height="14"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -339,7 +360,7 @@
 				<textFieldExpression class="java.lang.String"><![CDATA[$F{BPARTNER}]]></textFieldExpression>
 			</textField>
 			<textField pattern="" isBlankWhenNull="false">
-				<reportElement key="textField" style="Detail_Line" x="335" y="0" width="117" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="340" y="0" width="90" height="14"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
@@ -352,7 +373,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="82" height="14"/>
+				<reportElement key="textField" style="Detail_Line" x="430" y="0" width="90" height="14"/>
 				<box leftPadding="2" rightPadding="2">
 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>