forked from mas-elkhanza/SIMRS-Khanza
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathrptJadwal.jrxml
258 lines (258 loc) · 10.8 KB
/
rptJadwal.jrxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<?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="null" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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"/>
<queryString language="SQL">
<![CDATA[select jadwal.kd_dokter,nm_dokter,hari_kerja,
jam_mulai,jam_selesai,nm_poli from jadwal,poliklinik,dokter
where jadwal.kd_dokter=dokter.kd_dokter
and jadwal.kd_poli=poliklinik.kd_poli
order by jadwal.kd_dokter]]>
</queryString>
<field name="kd_dokter" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_dokter" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="hari_kerja" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="jam_mulai" class="java.sql.Time">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="jam_selesai" class="java.sql.Time">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="84" splitType="Stretch">
<staticText>
<reportElement x="65" y="53" width="424" height="23"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="11" isBold="false"/>
</textElement>
<text><![CDATA[ JADWAL PRAKTEK DOKTER ]]></text>
</staticText>
<image scaleImage="FillFrame" onErrorType="Blank">
<reportElement x="0" y="2" width="48" height="45"/>
<imageExpression class="java.io.InputStream"><![CDATA[$P{logo}]]></imageExpression>
</image>
<textField>
<reportElement x="2" y="0" width="553" height="17"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{namars}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="35" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["E-mail : "+$P{emailrs}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="14" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="48" width="555" height="1"/>
<graphicElement>
<pen lineWidth="2.0" lineStyle="Double"/>
</graphicElement>
</line>
<textField>
<reportElement x="2" y="25" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{kontakrs}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="18" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="0" y="1" width="69" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[ KODE DOKTER]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="69" y="1" width="161" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA DOKTER]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="230" y="1" width="68" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[HARI KERJA]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="298" y="1" width="68" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[JAM MULAI]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="366" y="1" width="68" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[JAM SELESAI]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="434" y="1" width="121" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[POLIKLINIK/TMP.PRAKTEK]]></text>
</staticText>
<line>
<reportElement x="0" y="16" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</columnHeader>
<detail>
<band height="11" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement x="2" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_dokter}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="69" y="0" width="158" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_dokter}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="230" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{hari_kerja}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="HH:mm:ss">
<reportElement x="298" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.sql.Time"><![CDATA[$F{jam_mulai}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="HH:mm:ss">
<reportElement x="366" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.sql.Time"><![CDATA[$F{jam_selesai}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="434" y="0" width="118" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli}]]></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="500" y="6" width="36" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<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 lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="309" y="6" width="170" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<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" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="5" y="6" width="209" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<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 lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="0" y="23" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>