src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceSale.jrxml
changeset 22717 8f8910c3f90c
parent 18035 41ed8d602a12
child 22768 1dcbf92e17e9
equal deleted inserted replaced
22716:c6e6898cf69a 22717:8f8910c3f90c
   111 		<variableExpression><![CDATA[$V{sumImport}.toString()]]></variableExpression>
   111 		<variableExpression><![CDATA[$V{sumImport}.toString()]]></variableExpression>
   112 	</variable>
   112 	</variable>
   113 	<group name="TAXNAME">
   113 	<group name="TAXNAME">
   114 		<groupExpression><![CDATA[$F{TAXNAME}]]></groupExpression>
   114 		<groupExpression><![CDATA[$F{TAXNAME}]]></groupExpression>
   115 		<groupHeader>
   115 		<groupHeader>
   116 			<band height="44" splitType="Stretch">
   116 			<band height="58" splitType="Stretch">
   117 				<staticText>
   117 				<staticText>
   118 					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="20"/>
   118 					<reportElement key="staticText" style="GroupHeader_DarkGray" x="1" y="0" width="100" height="32"/>
   119 					<box leftPadding="5">
   119 					<box leftPadding="5">
   120 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   120 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   121 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   121 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   122 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   122 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   123 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   123 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   126 						<font pdfFontName="Helvetica"/>
   126 						<font pdfFontName="Helvetica"/>
   127 					</textElement>
   127 					</textElement>
   128 					<text><![CDATA[Tax Type]]></text>
   128 					<text><![CDATA[Tax Type]]></text>
   129 				</staticText>
   129 				</staticText>
   130 				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
   130 				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
   131 					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="503" height="20"/>
   131 					<reportElement key="textField" style="GroupHeader_DarkGray" x="101" y="0" width="478" height="32"/>
   132 					<box leftPadding="5">
   132 					<box leftPadding="5">
   133 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   133 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   134 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   134 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   135 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   135 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   136 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   136 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   145 				</line>
   145 				</line>
   146 				<line>
   146 				<line>
   147 					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="604" y="0" width="1" height="43" forecolor="#555555"/>
   147 					<reportElement key="line-3" stretchType="RelativeToBandHeight" x="604" y="0" width="1" height="43" forecolor="#555555"/>
   148 				</line>
   148 				</line>
   149 				<staticText>
   149 				<staticText>
   150 					<reportElement key="element-90" style="Detail_Header" x="10" y="28" width="90" height="16">
   150 					<reportElement key="element-90" style="Detail_Header" x="10" y="42" width="90" height="16">
   151 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
   151 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
   152 					</reportElement>
   152 					</reportElement>
   153 					<box leftPadding="5">
   153 					<box leftPadding="5">
   154 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   154 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   155 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   155 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   158 					</box>
   158 					</box>
   159 					<textElement/>
   159 					<textElement/>
   160 					<text><![CDATA[Invoice]]></text>
   160 					<text><![CDATA[Invoice]]></text>
   161 				</staticText>
   161 				</staticText>
   162 				<staticText>
   162 				<staticText>
   163 					<reportElement key="element-90" style="Detail_Header" x="100" y="28" width="70" height="16">
   163 					<reportElement key="element-90" style="Detail_Header" x="100" y="42" width="70" height="16">
   164 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
   164 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
   165 					</reportElement>
   165 					</reportElement>
   166 					<box leftPadding="5">
   166 					<box leftPadding="5">
   167 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   167 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   168 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   168 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   171 					</box>
   171 					</box>
   172 					<textElement/>
   172 					<textElement/>
   173 					<text><![CDATA[Date]]></text>
   173 					<text><![CDATA[Date]]></text>
   174 				</staticText>
   174 				</staticText>
   175 				<staticText>
   175 				<staticText>
   176 					<reportElement key="element-90" style="Detail_Header" x="170" y="28" width="165" height="16">
   176 					<reportElement key="element-90" style="Detail_Header" x="170" y="42" width="165" height="16">
   177 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
   177 						<printWhenExpression><![CDATA[new Boolean($P{DETAIL}.equals("Y"))]]></printWhenExpression>
   178 					</reportElement>
   178 					</reportElement>
   179 					<box leftPadding="5">
   179 					<box leftPadding="5">
   180 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   180 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   181 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   181 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   184 					</box>
   184 					</box>
   185 					<textElement/>
   185 					<textElement/>
   186 					<text><![CDATA[Business Partner]]></text>
   186 					<text><![CDATA[Business Partner]]></text>
   187 				</staticText>
   187 				</staticText>
   188 				<staticText>
   188 				<staticText>
   189 					<reportElement key="element-90" style="Detail_Header" x="335" y="28" width="117" height="16"/>
   189 					<reportElement key="element-90" style="Detail_Header" x="335" y="42" width="117" height="16"/>
   190 					<box leftPadding="5">
   190 					<box leftPadding="5">
   191 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   191 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   192 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   192 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   193 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   193 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   194 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   194 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   195 					</box>
   195 					</box>
   196 					<textElement textAlignment="Right"/>
   196 					<textElement textAlignment="Right"/>
   197 					<text><![CDATA[Taxable Base]]></text>
   197 					<text><![CDATA[Taxable Base]]></text>
   198 				</staticText>
   198 				</staticText>
   199 				<staticText>
   199 				<staticText>
   200 					<reportElement key="element-90" style="Detail_Header" x="452" y="28" width="114" height="16"/>
   200 					<reportElement key="element-90" style="Detail_Header" x="452" y="42" width="82" height="16"/>
   201 					<box leftPadding="5">
   201 					<box leftPadding="5">
   202 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   202 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   203 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   203 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   204 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   204 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   205 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   205 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   246 				</textField>
   246 				</textField>
   247 				<line>
   247 				<line>
   248 					<reportElement key="line-37" x="10" y="0" width="510" height="1" forecolor="#666666"/>
   248 					<reportElement key="line-37" x="10" y="0" width="510" height="1" forecolor="#666666"/>
   249 				</line>
   249 				</line>
   250 				<textField isBlankWhenNull="false">
   250 				<textField isBlankWhenNull="false">
   251 					<reportElement key="textField" style="Total_Field" x="452" y="0" width="114" height="17"/>
   251 					<reportElement key="textField" style="Total_Field" x="452" y="0" width="82" height="17"/>
   252 					<box leftPadding="5">
   252 					<box leftPadding="5">
   253 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   253 						<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   254 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   254 						<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   255 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   255 						<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   256 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   256 						<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   350 					<font size="9"/>
   350 					<font size="9"/>
   351 				</textElement>
   351 				</textElement>
   352 				<textFieldExpression class="java.lang.String"><![CDATA[($F{TAXBASEAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXBASEAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
   352 				<textFieldExpression class="java.lang.String"><![CDATA[($F{TAXBASEAMT}!=null)?$P{NUMBERFORMAT}.format($F{TAXBASEAMT})+$F{CURRENCY}:new String(" ")]]></textFieldExpression>
   353 			</textField>
   353 			</textField>
   354 			<textField pattern="" isBlankWhenNull="false">
   354 			<textField pattern="" isBlankWhenNull="false">
   355 				<reportElement key="textField" style="Detail_Line" x="452" y="0" width="114" height="14"/>
   355 				<reportElement key="textField" style="Detail_Line" x="452" y="0" width="82" height="14"/>
   356 				<box leftPadding="2" rightPadding="2">
   356 				<box leftPadding="2" rightPadding="2">
   357 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   357 					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   358 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   358 					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   359 					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   359 					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   360 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
   360 					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>