<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="cr04_loan"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Landscape"
		 pageWidth="935"
		 pageHeight="566"
		 columnWidth="935"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="AllSectionsNoDetail"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<parameter name="trans_no" isForPrompting="true" class="java.lang.String">
		<defaultValueExpression ><![CDATA[$P{trans_no}]]></defaultValueExpression>
	</parameter>
	<parameter name="say" isForPrompting="false" class="java.lang.String"/>
	<parameter name="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call sphrdprint04_loan($P{trans_no})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="ftloan_no" class="java.lang.String"/>
	<field name="ftemployee_code" class="java.lang.String"/>
	<field name="fdtrans_date" class="java.sql.Date"/>
	<field name="fcloan_balance" class="java.math.BigDecimal"/>
	<field name="ftemployee_name" class="java.lang.String"/>
	<field name="ftloan_type" class="java.lang.String"/>
	<field name="fdloan_period_from" class="java.sql.Date"/>
	<field name="fdloan_period_to" class="java.sql.Date"/>
	<field name="ftnotes" class="java.lang.String"/>

	<variable name="urut" class="java.lang.Integer" resetType="None" calculation="Count">
		<variableExpression><![CDATA[new java.lang.Integer(0)]]></variableExpression>
		<initialValueExpression><![CDATA[new java.lang.Integer(1) ]]></initialValueExpression>
	</variable>
	<variable name="urut2" class="java.lang.Integer" resetType="None" calculation="Count">
		<variableExpression><![CDATA[$V{urut2}]]></variableExpression>
	</variable>
	<variable name="urut3" class="java.lang.Integer" resetType="None" calculation="Nothing">
		<variableExpression><![CDATA[new java.lang.Integer(  ($V{urut}.intValue()) +($V{urut2}.intValue()) )]]></variableExpression>
	</variable>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="381"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="455"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="17" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftcompany_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="193"
						y="39"
						width="472"
						height="27"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="18" isBold="true"/>
					</textElement>
				<text><![CDATA[SLIP PINJAMAN KARYAWAN]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="5"
						y="94"
						width="168"
						height="20"
						key="staticText-3"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Tgl. Pinjaman :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="544"
						y="74"
						width="139"
						height="20"
						key="staticText-8"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[N.I.K :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="690"
						y="74"
						width="232"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftemployee_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="690"
						y="94"
						width="232"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftemployee_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="519"
						y="94"
						width="164"
						height="20"
						key="staticText-25"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Nama Karyawan :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="5"
						y="74"
						width="168"
						height="20"
						key="staticText-12"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="17"/>
					</textElement>
				<text><![CDATA[No. Pinjaman :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="178"
						y="74"
						width="264"
						height="20"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftloan_no}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="71"
						y="351"
						width="183"
						height="20"
						key="staticText-27"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . . )]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="86"
						y="277"
						width="141"
						height="20"
						key="staticText-28"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Desetujui Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="278"
						y="351"
						width="183"
						height="20"
						key="staticText-29"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="293"
						y="277"
						width="141"
						height="20"
						key="staticText-30"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Divisi HRD]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="474"
						y="351"
						width="183"
						height="20"
						key="staticText-31"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . .  . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="489"
						y="277"
						width="141"
						height="20"
						key="staticText-32"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Karyawan,]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="178"
						y="95"
						width="264"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{fdtrans_date}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="10"
						y="127"
						width="163"
						height="20"
						key="staticText-33"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Tipe Pijaman :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="10"
						y="149"
						width="163"
						height="20"
						key="staticText-34"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Periode Pinjaman :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="10"
						y="170"
						width="163"
						height="20"
						key="staticText-35"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Jumlan Pinjaman :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="9"
						y="191"
						width="163"
						height="20"
						key="staticText-36"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[Catatan :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="179"
						y="149"
						width="100"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{fdloan_period_from}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="332"
						y="148"
						width="132"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{fdloan_period_to}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="280"
						y="148"
						width="47"
						height="20"
						key="staticText-37"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[s/d]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="5"
						y="118"
						width="917"
						height="0"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="179"
						y="127"
						width="334"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftloan_type}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="178"
						y="193"
						width="487"
						height="73"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{ftnotes}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="178"
						y="172"
						width="154"
						height="20"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="17"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{fcloan_balance}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="610"
						y="4"
						width="100"
						height="18"
						key="textField-2"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="710"
						y="4"
						width="100"
						height="18"
						key="textField-3"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER} + ""]]></textFieldExpression>
				</textField>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageFooter>
		<lastPageFooter>
			<band height="49"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" pattern="EEE, d MMM yyyy HH:mm:ss" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="726"
						y="27"
						width="205"
						height="18"
						key="textField-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Oblique" size="14" isItalic="true"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="623"
						y="27"
						width="100"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="14"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{username}]]></textFieldExpression>
				</textField>
			</band>
		</lastPageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
