src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoicePurchaseForeign.jrxml
changeset 1102 d24a59b98fbb
parent 726 dac2a1486bd3
child 1271 762533f2593a
equal deleted inserted replaced
1101:191dc725be1d 1102:d24a59b98fbb
   176 	<field name="TAXNAME" class="java.lang.String"/>
   176 	<field name="TAXNAME" class="java.lang.String"/>
   177 	<field name="TAXBASEAMT" class="java.math.BigDecimal"/>
   177 	<field name="TAXBASEAMT" class="java.math.BigDecimal"/>
   178 	<field name="TAXAMT" class="java.math.BigDecimal"/>
   178 	<field name="TAXAMT" class="java.math.BigDecimal"/>
   179 	<field name="ADTREEID" class="java.lang.String"/>
   179 	<field name="ADTREEID" class="java.lang.String"/>
   180 
   180 
   181 	<variable name="sumTaxBaseAmt" class="java.lang.Float" resetType="Group" resetGroup="TAXNAME" calculation="Sum">
   181 	<variable name="sumTaxBaseAmt" class="java.math.BigDecimal" resetType="Group" resetGroup="TAXNAME" calculation="Sum">
   182 		<variableExpression><![CDATA[new Float($F{TAXBASEAMT}.floatValue())]]></variableExpression>
   182 		<variableExpression><![CDATA[$F{TAXBASEAMT}]]></variableExpression>
   183 	</variable>
   183 	</variable>
   184 	<variable name="sumImport" class="java.lang.Float" resetType="Group" resetGroup="TAXNAME" calculation="Sum">
   184 	<variable name="sumImport" class="java.math.BigDecimal" resetType="Group" resetGroup="TAXNAME" calculation="Sum">
   185 		<variableExpression><![CDATA[new Float($F{TAXAMT}.floatValue())]]></variableExpression>
   185 		<variableExpression><![CDATA[$F{TAXAMT}]]></variableExpression>
   186 	</variable>
   186 	</variable>
   187 
   187 
   188 		<group  name="TAXNAME" >
   188 		<group  name="TAXNAME" >
   189 			<groupExpression><![CDATA[$F{TAXNAME}]]></groupExpression>
   189 			<groupExpression><![CDATA[$F{TAXNAME}]]></groupExpression>
   190 			<groupHeader>
   190 			<groupHeader>
   399 						key="textField-15"/>
   399 						key="textField-15"/>
   400 					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
   400 					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
   401 					<textElement textAlignment="Right" verticalAlignment="Middle">
   401 					<textElement textAlignment="Right" verticalAlignment="Middle">
   402 						<font fontName="Bitstream Vera Sans" pdfFontName="Helvetica" size="10" isBold="false"/>
   402 						<font fontName="Bitstream Vera Sans" pdfFontName="Helvetica" size="10" isBold="false"/>
   403 					</textElement>
   403 					</textElement>
   404 				<textFieldExpression   class="java.lang.Float"><![CDATA[$V{sumTaxBaseAmt}]]></textFieldExpression>
   404 				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{sumTaxBaseAmt}]]></textFieldExpression>
   405 				</textField>
   405 				</textField>
   406 				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
   406 				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
   407 					<reportElement
   407 					<reportElement
   408 						style="Total_Field"
   408 						style="Total_Field"
   409 						x="440"
   409 						x="440"
   413 						key="textField-16"/>
   413 						key="textField-16"/>
   414 					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
   414 					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
   415 					<textElement textAlignment="Right" verticalAlignment="Middle">
   415 					<textElement textAlignment="Right" verticalAlignment="Middle">
   416 						<font fontName="Bitstream Vera Sans" pdfFontName="Helvetica" size="10" isBold="false"/>
   416 						<font fontName="Bitstream Vera Sans" pdfFontName="Helvetica" size="10" isBold="false"/>
   417 					</textElement>
   417 					</textElement>
   418 				<textFieldExpression   class="java.lang.Float"><![CDATA[$V{sumImport}]]></textFieldExpression>
   418 				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$V{sumImport}]]></textFieldExpression>
   419 				</textField>
   419 				</textField>
   420 			</band>
   420 			</band>
   421 			</groupFooter>
   421 			</groupFooter>
   422 		</group>
   422 		</group>
   423 		<background>
   423 		<background>