<?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="Sales Profit" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="782" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" uuid="66ca77dd-1883-45d1-a4b1-310aa9cba91d">
	<property name="ireport.scriptlethandling" value="0"/>
	<property name="ireport.encoding" value="UTF-8"/>
	<property name="ireport.zoom" value="1.1269722013523664"/>
	<property name="ireport.x" value="6"/>
	<property name="ireport.y" value="0"/>
	<import value="net.sf.jasperreports.engine.*"/>
	<import value="java.util.*"/>
	<import value="net.sf.jasperreports.engine.data.*"/>
	<parameter name="ARG" class="java.lang.Object" isForPrompting="false"/>
	<queryString>
		<![CDATA[SELECT
     SUM(ticketlines.UNITS) AS SOLD_UNITS,
     SUM(ticketlines.UNITS*products.PRICEBUY) AS COST_VALUE,
     SUM(ticketlines.UNITS*products.PRICESELL) AS EXPECTED_SALES_VALUE,
     SUM(ticketlines.PRICE) AS ACTUAL_SALES_VALUE,
     SUM(ticketlines.UNITS*products.PRICESELL)-SUM(ticketlines.UNITS*products.PRICEBUY) AS EXPECTED_PROFIT,
     SUM(ticketlines.PRICE)-SUM(ticketlines.UNITS*products.PRICEBUY) AS ACTUAL_PROFIT,
     receipts.`DATENEW`,
     ticketlines.`TICKET`,
     ticketlines.`PRODUCT`,
     products.`REFERENCE`,
     products.`NAME`,
     products.`PRICEBUY`,
     products.`PRICESELL`
FROM
     `unicentaopos`.`ticketlines` ticketlines INNER JOIN `unicentaopos`.`receipts` receipts ON ticketlines.`TICKET` = receipts.`ID`
     LEFT OUTER JOIN `unicentaopos`.`products` products ON ticketlines.`PRODUCT` = products.`ID`
GROUP BY
     ticketlines.PRODUCT
ORDER BY
     products.REFERENCE ASC]]>
	</queryString>
	<field name="REFERENCE" class="java.lang.String"/>
	<field name="NAME" class="java.lang.String"/>
	<field name="PRICEBUY" class="java.lang.Double"/>
	<field name="PRICESELL" class="java.lang.Double"/>
	<field name="SOLD_UNITS" class="java.lang.Double"/>
	<field name="COST_VALUE" class="java.lang.Double"/>
	<field name="EXPECTED_SALES_VALUE" class="java.lang.Double"/>
	<field name="ACTUAL_SALES_VALUE" class="java.lang.Double"/>
	<field name="EXPECTED_PROFIT" class="java.lang.Double"/>
	<field name="ACTUAL_PROFIT" class="java.lang.Double"/>
	<variable name="ACTUAL_PROFIT_TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{ACTUAL_PROFIT}]]></variableExpression>
	</variable>
	<variable name="EXPECTED_PROFIT_TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{EXPECTED_PROFIT}]]></variableExpression>
	</variable>
	<variable name="ACTUAL_SALES_VALUE_TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{ACTUAL_SALES_VALUE}]]></variableExpression>
	</variable>
	<variable name="EXPECTED_SALES_VALUE_TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{EXPECTED_SALES_VALUE}]]></variableExpression>
	</variable>
	<variable name="COST_VALUE_TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{COST_VALUE}]]></variableExpression>
	</variable>
	<variable name="SOLD_UNITS_TOTAL" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{SOLD_UNITS}]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="52" splitType="Stretch">
			<textField pattern="" isBlankWhenNull="true">
				<reportElement key="textField-8" mode="Transparent" x="50" y="33" width="110" height="15" uuid="b4e15bbf-315b-401c-9f52-3d72756edbcc"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.DATE.formatValue((java.util.Date)((Object[])((Object[])$P{ARG})[0])[1])]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-6" mode="Transparent" x="160" y="33" width="10" height="15" uuid="6f007189-1137-4b40-9e9f-4b3a5945e11f"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[-
]]></text>
			</staticText>
			<textField pattern="" isBlankWhenNull="true">
				<reportElement key="textField-9" mode="Transparent" x="170" y="33" width="110" height="15" uuid="af61edfc-47a7-4595-b716-19f024710baf"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.DATE.formatValue((java.util.Date)((Object[])((Object[])$P{ARG})[0])[3])]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField-18" mode="Transparent" x="0" y="0" width="375" height="30" forecolor="#33CCFF" backcolor="#FFFFFF" uuid="b58f5fcb-9866-4301-8c7e-c4cc6aae0ed0"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#FFFFFF"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
					<font fontName="SansSerif" size="14" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.title.profit}]]></textFieldExpression>
			</textField>
			<rectangle radius="5">
				<reportElement key="rectangle-1" mode="Opaque" x="0" y="50" width="782" height="2" forecolor="#33CCFF" backcolor="#33CCFF" uuid="d14f52b9-c1bf-4984-8c72-c3b433ceab8d"/>
				<graphicElement fill="Solid">
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField-10" mode="Opaque" x="647" y="0" width="135" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="2ca76363-cea7-4028-afe6-0da54c641c93"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
					<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.printed}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="dd/MM/yyyy HH.mm.ss" isBlankWhenNull="false">
				<reportElement key="textField" x="647" y="14" width="135" height="15" uuid="e21aa7d1-316d-434a-8ab6-3e712a2b722d"/>
				<textElement textAlignment="Right">
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField-19" mode="Opaque" x="0" y="33" width="50" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="acbf6421-e167-45b4-8c12-9f47d2880b74"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None">
					<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.period}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="27" splitType="Stretch">
			<textField>
				<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="100" height="24" uuid="cefbb6d6-ef98-4250-9e7f-e030fa635dfc"/>
				<textElement verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.reference}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToBandHeight" x="100" y="0" width="125" height="24" uuid="83df6bf6-ad9e-45a3-8045-319b45a2175f"/>
				<textElement verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.name}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToBandHeight" x="225" y="0" width="60" height="24" uuid="6396f3b3-67fd-49a4-989e-90cb5f695ab7"/>
				<textElement textAlignment="Right" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.pricebuy}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement stretchType="RelativeToBandHeight" x="285" y="0" width="60" height="24" uuid="8625ded0-e652-4830-b3fd-f65e37a9ed32"/>
				<textElement textAlignment="Right" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.pricesell}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement stretchType="RelativeToBandHeight" x="345" y="0" width="60" height="24" uuid="341b1bef-a313-4c4e-954d-00dc2d79db71"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.soldunits}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement stretchType="RelativeToBandHeight" x="405" y="0" width="60" height="24" uuid="f38988fb-60d9-4338-a344-4c6ff3c6b4c5"/>
				<textElement textAlignment="Right" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.costvalue}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement stretchType="RelativeToBandHeight" x="492" y="0" width="70" height="24" uuid="71a52af2-7adf-436e-9fa5-74968baa4ea0"/>
				<textElement textAlignment="Right" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.expectedsalesvalue}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement stretchType="RelativeToBandHeight" x="564" y="0" width="70" height="24" uuid="0de5743c-3a6d-49fb-8bba-c71c7c1597bd"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.actualsalesvalue}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement stretchType="RelativeToBandHeight" x="637" y="0" width="70" height="24" uuid="97347881-209c-4940-a99b-16d6419d51f1"/>
				<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.expectedprofit}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement stretchType="RelativeToBandHeight" x="711" y="0" width="70" height="24" uuid="94ffc063-8248-4cf7-90d8-84d7ba0dbebb"/>
				<textElement textAlignment="Right" verticalAlignment="Bottom" markup="none">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{label.actualprofit}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="26" width="781" height="1" uuid="2f039366-e0f7-41c3-884d-80893fdbceeb"/>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="15">
			<textField>
				<reportElement x="0" y="0" width="100" height="13" uuid="a074f938-8c0a-43b7-a215-bbaaf34bb1bb"/>
				<textFieldExpression><![CDATA[$F{REFERENCE}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="100" y="0" width="125" height="13" uuid="5fc3cfba-d78d-4aca-a748-2ac072615739"/>
				<textFieldExpression><![CDATA[$F{NAME}]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="225" y="0" width="60" height="13" uuid="23d54706-07a8-4cbc-9350-6015ed65cce1"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{PRICEBUY})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="285" y="0" width="60" height="13" uuid="5e593e0f-f667-4eed-a36e-68ce3613d706"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{PRICESELL})]]></textFieldExpression>
			</textField>
			<textField pattern="###0" isBlankWhenNull="true">
				<reportElement x="345" y="0" width="60" height="13" uuid="e41af673-5e04-4d31-bf3e-5ced8ee70105"/>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.DOUBLE.formatValue($F{SOLD_UNITS})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="405" y="0" width="60" height="13" uuid="92611020-2089-42e5-b527-889893e33f77"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{COST_VALUE})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="492" y="0" width="70" height="13" uuid="91645dcd-2cdc-4838-9a39-bad2412b9707"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{EXPECTED_SALES_VALUE})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="564" y="0" width="70" height="13" uuid="e70ca668-ed65-40e9-9667-edcbbf4bf362"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{ACTUAL_SALES_VALUE})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="711" y="0" width="70" height="13" uuid="3a03f906-8814-4adf-9f56-5768aaa0ac77"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{ACTUAL_PROFIT})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="637" y="0" width="70" height="13" uuid="b2afa19e-1c33-4dbe-936c-9feda3bf5aac"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($F{EXPECTED_PROFIT})]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="30" splitType="Stretch">
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField-16" mode="Opaque" x="731" y="10" width="20" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="c71bac3b-4226-4a03-8fd5-455537c92f0b"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#FFFFFF"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top" rotation="None">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement key="textField-17" mode="Opaque" x="761" y="10" width="20" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="788b732f-ad33-4ef0-a8bf-449ef50f9abd"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#FFFFFF"/>
				</box>
				<textElement verticalAlignment="Top" rotation="None">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-7" mode="Opaque" x="751" y="10" width="10" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="e4d6ceac-7bea-4db2-8fa0-75399a94f525"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#FFFFFF"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top" rotation="None">
					<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[/]]></text>
			</staticText>
			<line>
				<reportElement key="line-5" mode="Opaque" x="0" y="5" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" uuid="48ddc1a6-0283-40b1-86c2-f609dfae1d2d"/>
				<graphicElement fill="Solid">
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement x="0" y="10" width="140" height="15" uuid="2ab7f7ef-7d37-4cbc-97fa-9964c7be5438"/>
				<textElement>
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<text><![CDATA[rpt:sales_productsalesprofit]]></text>
			</staticText>
		</band>
	</pageFooter>
	<summary>
		<band height="28" splitType="Stretch">
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="711" y="5" width="70" height="20" uuid="4d2821ee-eab1-46c0-9d56-6559fd0b8dfb"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($V{ACTUAL_PROFIT_TOTAL})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="637" y="5" width="70" height="20" uuid="a53a982e-2d99-4a31-b498-abb815ae48fd"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($V{EXPECTED_PROFIT_TOTAL})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="564" y="5" width="70" height="20" uuid="c599545f-4e42-4f9f-819d-4cd00b01c4ff"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($V{ACTUAL_SALES_VALUE_TOTAL})]]></textFieldExpression>
			</textField>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="492" y="5" width="70" height="20" uuid="bd5e7d26-276d-4f23-98ef-ef247cf5d367"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($V{EXPECTED_SALES_VALUE_TOTAL})]]></textFieldExpression>
			</textField>
			<line>
				<reportElement key="line-5" mode="Opaque" x="345" y="3" width="437" height="1" forecolor="#000000" backcolor="#FFFFFF" uuid="c2d02684-6ebb-4e43-a41c-0ab3bc3ecfd5"/>
				<graphicElement fill="Solid">
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</line>
			<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
				<reportElement x="405" y="5" width="60" height="20" uuid="09c49b8e-2958-420f-9960-a20def04582b"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.CURRENCY.formatValue($V{COST_VALUE_TOTAL})]]></textFieldExpression>
			</textField>
			<textField pattern="###0" isBlankWhenNull="true">
				<reportElement x="345" y="5" width="60" height="20" uuid="4a97ac57-1b88-4748-8712-91b473c490ab"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[com.unicenta.format.Formats.DOUBLE.formatValue($V{SOLD_UNITS_TOTAL})]]></textFieldExpression>
			</textField>
		</band>
	</summary>
</jasperReport>
