<?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="cr06_slip_gaji"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="842"
		 pageHeight="1275"
		 columnWidth="826"
		 columnSpacing="0"
		 leftMargin="8"
		 rightMargin="8"
		 topMargin="20"
		 bottomMargin="20"
		 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="username" isForPrompting="true" class="java.lang.String"/>
	<queryString><![CDATA[call sphrdprint06_slip_gaji($P{trans_no})]]></queryString>

	<field name="hdr_ftcompany_name" class="java.lang.String"/>
	<field name="hdr_ftpayroll_slip_no" class="java.lang.String"/>
	<field name="hdr_fdtrans_date" class="java.sql.Date"/>
	<field name="hdr_fdstart_date" class="java.sql.Date"/>
	<field name="hdr_fdend_date" class="java.sql.Date"/>
	<field name="hdr_ftpayroll_type" class="java.lang.String"/>
	<field name="hdr_ftpayroll_type_code" class="java.lang.String"/>
	<field name="hdr_ftpayroll_type_name" class="java.lang.String"/>
	<field name="hdr_ftnotes" class="java.lang.String"/>
	<field name="hdr_fcgrand_income_amount" class="java.math.BigDecimal"/>
	<field name="hdr_fcgrand_deduction_amount" class="java.math.BigDecimal"/>
	<field name="hdr_fcgrand_total" class="java.math.BigDecimal"/>
	<field name="det_ftemployee_code" class="java.lang.String"/>
	<field name="det_ftemployee_name" class="java.lang.String"/>
	<field name="det_fcincome_amount" class="java.math.BigDecimal"/>
	<field name="det_fcdeduction_amount" class="java.math.BigDecimal"/>
	<field name="det_fcamount" class="java.math.BigDecimal"/>
	<field name="det_fnattendance_days" class="java.lang.Double"/>
	<field name="det_fnleave_days" class="java.lang.Double"/>
	<field name="det_ftsalary_code_inc" class="java.lang.String"/>
	<field name="det_ftsalary_name_inc" class="java.lang.String"/>
	<field name="det_fcamount_inc" class="java.math.BigDecimal"/>
	<field name="det_ftsalary_code_dec" class="java.lang.String"/>
	<field name="det_ftsalary_name_dec" class="java.lang.String"/>
	<field name="det_fcamount_dec" class="java.math.BigDecimal"/>

	<variable name="urut" class="java.lang.Integer" resetType="Group" resetGroup="det_ftemployee_code" calculation="Count">
		<variableExpression><![CDATA[new java.lang.Integer(0) ]]></variableExpression>
		<initialValueExpression><![CDATA[new java.lang.Integer(1) ]]></initialValueExpression>
	</variable>

		<group  name="hdr_ftcompany_name" >
			<groupExpression><![CDATA[$F{hdr_ftcompany_name}]]></groupExpression>
			<groupHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupHeader>
			<groupFooter>
			<band height="14"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<group  name="det_ftemployee_code" isStartNewPage="true" >
			<groupExpression><![CDATA[$F{det_ftemployee_code}]]></groupExpression>
			<groupHeader>
			<band height="91"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="35"
						y="68"
						width="125"
						height="16"
						key="staticText-3"/>
					<box></box>
					<textElement>
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Pendapatan]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="63"
						width="798"
						height="0"
						key="line-4"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="437"
						y="68"
						width="125"
						height="16"
						key="staticText-6"/>
					<box></box>
					<textElement>
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Potongan]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="6"
						width="125"
						height="16"
						key="staticText-7"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[No. Slip Gaji :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="25"
						width="125"
						height="16"
						key="staticText-8"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Tgl.  Slip Gaji :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="42"
						width="125"
						height="16"
						key="staticText-9"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Periode Slip Gaji :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="134"
						y="24"
						width="78"
						height="17"
						key="textField-3"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdstart_date}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="134"
						y="42"
						width="78"
						height="16"
						key="textField-4"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdstart_date}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="218"
						y="41"
						width="33"
						height="16"
						key="staticText-10"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[s/d]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd-MMM-yy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="253"
						y="41"
						width="100"
						height="16"
						key="textField-5"/>
					<box></box>
					<textElement textAlignment="Left">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{hdr_fdend_date}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="424"
						y="6"
						width="125"
						height="16"
						key="staticText-11"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[N.I.K :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="424"
						y="25"
						width="125"
						height="16"
						key="staticText-12"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Nama Karyawan :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="424"
						y="43"
						width="125"
						height="16"
						key="staticText-13"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Pendapatan Bersih :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="134"
						y="6"
						width="133"
						height="16"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftpayroll_slip_no}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="554"
						y="6"
						width="261"
						height="16"
						key="textField-6"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftemployee_code}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="554"
						y="25"
						width="261"
						height="16"
						key="textField-7"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftemployee_name}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="554"
						y="42"
						width="113"
						height="18"
						key="textField-8"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcamount}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="2"
						width="798"
						height="0"
						key="line-6"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="207"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="35"
						y="2"
						width="362"
						height="0"
						key="line-5"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="140"
						y="6"
						width="125"
						height="16"
						key="staticText-14"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Total Pendapatan :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="541"
						y="6"
						width="125"
						height="16"
						key="staticText-15"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Total Potongan :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="678"
						y="7"
						width="120"
						height="18"
						key="textField-9"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcdeduction_amount}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="279"
						y="6"
						width="118"
						height="18"
						key="textField-10"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcincome_amount}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="437"
						y="2"
						width="354"
						height="0"
						key="line-7"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<staticText>
					<reportElement
						x="0"
						y="25"
						width="125"
						height="16"
						key="staticText-16"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Keterangan :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="57"
						y="116"
						width="141"
						height="20"
						key="staticText-18"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Desetujui Oleh,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="264"
						y="116"
						width="141"
						height="20"
						key="staticText-20"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Divisi HRD]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="460"
						y="116"
						width="141"
						height="20"
						key="staticText-22"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="12" isBold="false"/>
					</textElement>
				<text><![CDATA[Karyawan,]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="57"
						y="180"
						width="183"
						height="20"
						key="staticText-23"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . . )]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="264"
						y="180"
						width="183"
						height="20"
						key="staticText-24"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . . . . . . .)]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="460"
						y="180"
						width="183"
						height="20"
						key="staticText-25"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica" size="17" isBold="false"/>
					</textElement>
				<text><![CDATA[(. . . . . . . . . .  . . . . .)]]></text>
				</staticText>
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="1"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="45"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="359"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{hdr_ftcompany_name}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="134"
						y="18"
						width="504"
						height="17"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[SLIP GAJI KARYAWAN]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="578"
						y="-20"
						width="100"
						height="18"
						key="textField"/>
					<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="678"
						y="-20"
						width="100"
						height="18"
						key="textField"/>
					<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="18"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="29"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{urut}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="35"
						y="0"
						width="232"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftsalary_name_inc}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="271"
						y="0"
						width="126"
						height="18"
						key="textField"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcamount_inc}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="672"
						y="0"
						width="126"
						height="18"
						key="textField-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{det_fcamount_dec}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="437"
						y="0"
						width="230"
						height="18"
						key="textField-2"/>
					<box></box>
					<textElement>
						<font fontName="Arial" size="12"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{det_ftsalary_name_dec}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="2"  isSplitAllowed="true" >
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
