<?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="Laporan_Absensi_Siswa_Harian" language="groovy" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="cb1e08ad-aaf5-49dc-a020-44139153cf78">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="Title" fontName="Times New Roman" fontSize="50" isBold="true" pdfFontName="Times-Bold"/>
	<style name="SubTitle" forecolor="#736343" fontName="Arial" fontSize="18"/>
	<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="12"/>
	<style name="Row" mode="Transparent">
		<conditionalStyle>
			<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
			<style backcolor="#E6DAC3"/>
		</conditionalStyle>
	</style>
	<parameter name="sekarang" class="java.util.Date">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT
     presensi.`keterangan` AS presensi_keterangan,
     presensi.`tgl` AS presensi_tgl,
     siswa.`no_daftar` AS siswa_no_daftar,
     siswa.`nama_siswa` AS siswa_nama_siswa,
     siswa.`nis` AS siswa_nis,
     presensi.`id` AS presensi_id
FROM
     `presensi` presensi INNER JOIN `siswa` siswa ON presensi.`id` = siswa.`no_daftar`
WHERE presensi.`tgl` = $P{sekarang}]]>
	</queryString>
	<field name="presensi_keterangan" class="java.lang.String"/>
	<field name="presensi_tgl" class="java.sql.Date"/>
	<field name="siswa_no_daftar" class="java.lang.Integer"/>
	<field name="siswa_nama_siswa" class="java.lang.String"/>
	<field name="siswa_nis" class="java.lang.Integer"/>
	<field name="presensi_id" class="java.lang.Integer"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="142" splitType="Stretch">
			<image>
				<reportElement x="43" y="21" width="114" height="102" uuid="221dc29e-94c3-4753-99fc-cb36a8b7a449"/>
				<imageExpression><![CDATA["C:\\Users\\user\\Downloads\\10-03-tgl24\\sdit.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="205" y="88" width="226" height="18" uuid="180a2b78-a549-4b30-9d31-2531551161b0"/>
				<textElement textAlignment="Center">
					<font size="13" isBold="false"/>
				</textElement>
				<text><![CDATA[Kec. Bojong Gede, Bogor, Jawa Barat 16920]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="10" width="555" height="1" uuid="d9e4085f-5145-4edd-8e65-05debfc75e49"/>
				<graphicElement>
					<pen lineWidth="1.25"/>
				</graphicElement>
			</line>
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="132" width="555" height="1" uuid="a4d84c6f-0803-4a7e-8de6-d9c0b3d7dbaf"/>
				<graphicElement>
					<pen lineWidth="1.25"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement x="157" y="21" width="335" height="49" uuid="38e37ef1-52ee-4d28-b9ca-01cbb10c45b9"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="38" isBold="true"/>
				</textElement>
				<text><![CDATA[SDIT Daarul Fataa]]></text>
			</staticText>
			<staticText>
				<reportElement x="171" y="70" width="298" height="18" uuid="82441141-0f1f-47c9-ac2f-f53938daabd6"/>
				<textElement textAlignment="Center">
					<font size="13" isBold="false"/>
				</textElement>
				<text><![CDATA[Gg. Lurah Muda Blok Gapura No.40, Rt.03/Rw.03, Cimanggis]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="58">
			<staticText>
				<reportElement x="130" y="15" width="294" height="28" uuid="08b22f28-c1a6-45d8-8f0b-1e65e60a481a"/>
				<textElement textAlignment="Center">
					<font size="20" isBold="true"/>
				</textElement>
				<text><![CDATA[Laporan Absensi Siswa Harian]]></text>
			</staticText>
			<line>
				<reportElement x="1" y="49" width="554" height="1" uuid="b99b5080-e014-4532-a090-904e2fca4199"/>
				<graphicElement>
					<pen lineWidth="2.0" lineStyle="Double" lineColor="#000000"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="0" y="10" width="554" height="1" uuid="a174ddf9-2823-49df-b353-f46ba9d46e8a"/>
				<graphicElement>
					<pen lineWidth="2.0" lineStyle="Double" lineColor="#000000"/>
				</graphicElement>
			</line>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="16" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="15" width="555" height="1" uuid="524ab321-4adc-4cb0-b938-baa62e28bcd7"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement style="Column header" mode="Opaque" x="0" y="0" width="138" height="15" forecolor="#736343" backcolor="#CCCCCC" uuid="f6e37335-dc1f-4c6a-880b-7a0a895934e2"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[NIS]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" mode="Opaque" x="138" y="0" width="138" height="15" forecolor="#736343" backcolor="#CCCCCC" uuid="91fd4f3d-7e7a-4a9a-a6bd-344a7ac7d619"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Nama Siswa]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" mode="Opaque" x="276" y="0" width="138" height="15" forecolor="#736343" backcolor="#CCCCCC" uuid="61d02916-901e-41b7-8c22-85f031e1af5f"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Keterangan]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" mode="Opaque" x="414" y="0" width="141" height="15" forecolor="#736343" backcolor="#CCCCCC" uuid="0b5ef770-ba37-49d7-a29c-54ac6ff83245"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Tanggal]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="15" splitType="Stretch">
			<frame>
				<reportElement style="Row" mode="Opaque" x="0" y="0" width="555" height="15" uuid="6ccc04a5-335b-4429-9be9-010858ff86de"/>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="0" y="0" width="138" height="15" uuid="84d0e03d-fad9-42c6-b6ea-660eebab8672"/>
					<textElement textAlignment="Center"/>
					<textFieldExpression><![CDATA[$F{siswa_nis}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="138" y="0" width="138" height="15" uuid="5deafdf8-25a4-4adc-a7da-b51711a76b83"/>
					<textElement textAlignment="Center"/>
					<textFieldExpression><![CDATA[$F{siswa_nama_siswa}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="276" y="0" width="138" height="15" uuid="f8d6415e-4fb7-436a-a71e-69efd293607a"/>
					<textElement textAlignment="Center"/>
					<textFieldExpression><![CDATA[$F{presensi_keterangan}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true">
					<reportElement style="Detail" x="414" y="0" width="141" height="15" uuid="2d1699b6-5440-43ff-925a-af9c16528208"/>
					<textElement textAlignment="Center"/>
					<textFieldExpression><![CDATA[$F{presensi_tgl}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</detail>
	<columnFooter>
		<band height="144" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="3" width="555" height="1" uuid="ad4fd477-fa02-4b88-a70c-b8129be17faf"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement x="417" y="40" width="93" height="19" uuid="803a453b-0fd2-4f83-bed8-b45327eae858"/>
				<textElement>
					<font size="12" isBold="false"/>
				</textElement>
				<text><![CDATA[Kepala Sekolah]]></text>
			</staticText>
			<staticText>
				<reportElement x="389" y="21" width="40" height="19" uuid="e661e7e3-a611-4100-8924-86528ae0337a"/>
				<textElement>
					<font size="12" isBold="false"/>
				</textElement>
				<text><![CDATA[Bogor,]]></text>
			</staticText>
			<staticText>
				<reportElement x="387" y="109" width="151" height="27" uuid="c5954639-aee1-419f-86a1-78e73f9f4d03"/>
				<textElement>
					<font size="12" isBold="false"/>
				</textElement>
				<text><![CDATA[( Siti Zuhriah, SPd, M.Pd.I )]]></text>
			</staticText>
			<textField pattern="EEEEE dd MMMMM yyyy">
				<reportElement x="428" y="21" width="126" height="19" uuid="64888f9f-dd29-4741-b39a-3c7364a2d240"/>
				<textElement>
					<font size="12"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
		</band>
	</columnFooter>
	<pageFooter>
		<band height="25" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="-21" y="1" width="597" height="24" forecolor="#D0B48E" backcolor="#F2EBDF" uuid="6740648f-f9e0-4970-834b-4fdc43df698d"/>
			</frame>
			<textField>
				<reportElement style="Column header" x="387" y="1" width="80" height="20" forecolor="#736343" uuid="98452fbb-5d84-4f3c-ad71-e332fdf03263"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement style="Column header" x="466" y="1" width="40" height="20" forecolor="#736343" uuid="4dbc1423-bb87-4a32-ace5-12baf25a14da"/>
				<textElement verticalAlignment="Middle">
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
