<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.16.0.final using JasperReports Library version 6.5.1  -->
<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="null" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="40cf1d1d-5915-4fb5-9d8c-dcfea30502a9">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="lokal"/>
	<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
	<property name="com.jaspersoft.studio.data.sql.SQLQueryDesigner.sash.w1" value="0"/>
	<property name="com.jaspersoft.studio.data.sql.SQLQueryDesigner.sash.w2" value="1000"/>
	<parameter name="namars" class="java.lang.String"/>
	<parameter name="alamatrs" class="java.lang.String"/>
	<parameter name="kotars" class="java.lang.String"/>
	<parameter name="propinsirs" class="java.lang.String"/>
	<parameter name="kontakrs" class="java.lang.String"/>
	<parameter name="emailrs" class="java.lang.String"/>
	<parameter name="logo" class="java.io.InputStream"/>
	<parameter name="periode" class="java.lang.String"/>
	<queryString>
		<![CDATA[select penjualan.tgl_jual,penjualan.nota_jual, penjualan.no_rkm_medis,pasien.nm_pasien,
penjualan.nip,petugas.nama,penjualan.ongkir as ppn,sum(detailjual.total) as total
 from penjualan inner join pasien on penjualan.no_rkm_medis=pasien.no_rkm_medis 
 inner join petugas on penjualan.nip=petugas.nip inner join detailjual on penjualan.nota_jual=detailjual.nota_jual]]>
	</queryString>
	<field name="tgl_jual" class="java.sql.Date">
		<property name="com.jaspersoft.studio.field.name" value="tgl_jual"/>
		<property name="com.jaspersoft.studio.field.label" value="tgl_jual"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="penjualan"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nota_jual" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nota_jual"/>
		<property name="com.jaspersoft.studio.field.label" value="nota_jual"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="penjualan"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="no_rkm_medis" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="no_rkm_medis"/>
		<property name="com.jaspersoft.studio.field.label" value="no_rkm_medis"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="penjualan"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nm_pasien" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nm_pasien"/>
		<property name="com.jaspersoft.studio.field.label" value="nm_pasien"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="pasien"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nip" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nip"/>
		<property name="com.jaspersoft.studio.field.label" value="nip"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="penjualan"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nama" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nama"/>
		<property name="com.jaspersoft.studio.field.label" value="nama"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="petugas"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="ppn" class="java.lang.Double">
		<property name="com.jaspersoft.studio.field.name" value="ongkir"/>
		<property name="com.jaspersoft.studio.field.label" value="ppn"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="penjualan"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="total" class="java.lang.Double">
		<property name="com.jaspersoft.studio.field.name" value="total"/>
		<property name="com.jaspersoft.studio.field.label" value="total"/>
	</field>
	<variable name="total" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
	</variable>
	<variable name="ppn" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{ppn}]]></variableExpression>
	</variable>
	<variable name="tagihan" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[($F{ppn}+$F{total})]]></variableExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="84" splitType="Stretch">
			<textField>
				<reportElement x="0" y="51" width="802" height="23" uuid="dc6e8a1c-4ad8-4512-a98e-3667dd726d04"/>
				<textElement textAlignment="Center" markup="none">
					<font fontName="Tahoma" size="11" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["DATA PPN OBAT JUAL BEBAS "+$P{periode}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="48" width="802" height="1" uuid="325ffc5a-328a-44bf-9340-6b451d486094"/>
				<graphicElement>
					<pen lineWidth="2.0" lineStyle="Double"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="2" y="35" width="800" height="14" uuid="ad9d72df-9beb-49c7-95cc-7eea2554d588"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="9"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["E-mail : "+$P{emailrs}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="2" y="0" width="800" height="17" uuid="02548bb4-6064-4ff8-bae7-ef2ac1be2c8c"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="12"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{namars}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="2" y="14" width="800" height="14" uuid="93117361-c6d7-4c3c-9860-d18b5407c5f0"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="9"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
			</textField>
			<image scaleImage="FillFrame" onErrorType="Blank">
				<reportElement x="0" y="2" width="48" height="45" uuid="ad7a668b-819c-49dd-87bd-69bfe797d05a"/>
				<imageExpression><![CDATA[$P{logo}]]></imageExpression>
			</image>
			<textField>
				<reportElement x="2" y="25" width="800" height="14" uuid="65abfc94-702d-4adb-920f-62b46edc2748"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="9"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{kontakrs}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="18" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="700" y="0" width="102" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="bbb36e74-c651-4216-9172-94e9d6690fc2"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total+PPN]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="635" y="0" width="67" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="afbe1e1a-ce63-4fab-ad6f-69670ab9df33"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[PPN]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="540" y="0" width="95" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="09fc66af-378e-4898-9642-bf3ee5bbacf0"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="1" y="0" width="58" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="ab063d03-dc5f-40d7-a780-b602864e05a7"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Tgl.Jual]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="59" y="0" width="86" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="40ea7d5a-aeeb-49ad-9ee4-4dd51fb24582"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[No.Nota]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="335" y="0" width="205" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="570570e4-7f00-4c11-8a52-16bd4f2c1c0e"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Petugas]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="145" y="0" width="190" height="17" forecolor="#000000" backcolor="#F0F0DC" uuid="c54a22cc-deed-48c0-8950-f6a5265786de"/>
				<textElement verticalAlignment="Middle">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Pasien]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="16" width="802" height="1" uuid="b15d7986-db75-4e32-92ae-dabf770a5207"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="0" y="0" width="802" height="1" uuid="79e02ad5-aff5-4d72-9d5b-abc60c266344"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="11" splitType="Stretch">
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy">
				<reportElement x="1" y="0" width="58" height="10" uuid="9f74b550-40b8-4691-a47a-bd0b4c5f620b"/>
				<textElement>
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tgl_jual}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement x="59" y="0" width="86" height="10" uuid="87ad3568-00ed-4e87-ae3d-9c6c51d3ab8f"/>
				<textElement>
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nota_jual}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="">
				<reportElement x="335" y="0" width="205" height="10" uuid="50e2ebff-99ce-4ce9-8b5d-b151f5452013"/>
				<textElement>
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nip}+" "+$F{nama}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true">
				<reportElement x="145" y="0" width="190" height="10" uuid="2fe50b44-4f41-4446-9cda-ade6ab19b04d"/>
				<textElement>
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{no_rkm_medis}+" "+$F{nm_pasien}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0">
				<reportElement x="540" y="0" width="95" height="10" uuid="5cfc6b85-5c45-4a18-bb4a-7d9c91d8c3f8"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0" isBlankWhenNull="true">
				<reportElement x="635" y="0" width="67" height="10" uuid="13bfe96b-f6fd-4241-b530-b5263c4acd41"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{ppn}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0" isBlankWhenNull="true">
				<reportElement x="702" y="0" width="100" height="10" uuid="a5e6137d-1821-496a-8fec-ff680ef9b6a4"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[($F{ppn}+$F{total})]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="26" splitType="Stretch">
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement key="textField" x="504" y="6" width="36" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="1bc73c36-41a4-4209-a241-f703ddd84bb0"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField" x="377" y="6" width="127" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="e71faba4-c8a2-47f8-b545-beca1733176b"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField" x="0" y="6" width="69" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="677be8db-01fd-4b03-80d3-7f6ea9e6f013"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[new Date()]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="0" width="802" height="1" uuid="393677ec-7837-4ae9-b015-8e901bf75f1a"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="0" y="23" width="802" height="1" uuid="e785aa0a-2cfd-49b9-b595-0a6ec3d91fe9"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
		</band>
	</pageFooter>
	<summary>
		<band height="18" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="145" y="1" width="190" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="8b06ca6d-4c10-4e1c-a285-b58253498bb7"/>
				<textElement>
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Total :]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" pattern="#,##0">
				<reportElement x="540" y="0" width="95" height="12" uuid="b331155e-183d-4486-96ce-e1e3fc0998c6"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0">
				<reportElement x="635" y="0" width="67" height="12" uuid="d2534c47-640a-462e-89c1-033182b4ba5c"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{ppn}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0">
				<reportElement x="702" y="0" width="100" height="12" uuid="d8eb1363-ed29-445e-ae50-d39ca6a6956e"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="8" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{tagihan}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="0" width="802" height="1" uuid="c43cbf71-bd99-4640-a209-42c7ec241fb1"/>
				<graphicElement>
					<pen lineWidth="0.35"/>
				</graphicElement>
			</line>
		</band>
	</summary>
</jasperReport>
