Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 055e8409
authored
Mar 25, 2025
by
Prismana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
- Refine jasper report in departemen, pemerintah, provinsi, user-ext, user
1 parent
f2e9dabd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
15 deletions
opensipkd/base/reports/departemen.jrxml
opensipkd/base/reports/pemerintah.jrxml
opensipkd/base/reports/provinsi.jrxml
opensipkd/base/reports/users-external.jrxml
opensipkd/base/reports/users.jrxml
opensipkd/base/reports/departemen.jrxml
View file @
055e840
...
@@ -92,10 +92,10 @@ FROM departemen]]>
...
@@ -92,10 +92,10 @@ FROM departemen]]>
<textElement
textAlignment=
"Center"
>
<textElement
textAlignment=
"Center"
>
<font
size=
"14"
isBold=
"true"
/>
<font
size=
"14"
isBold=
"true"
/>
</textElement>
</textElement>
<text>
<![CDATA[DAFTAR
USER
]]>
</text>
<text>
<![CDATA[DAFTAR
DEPARTEMEN
]]>
</text>
</staticText>
</staticText>
<image>
<image>
<reportElement
x=
"
10"
y=
"10"
width=
"5
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<reportElement
x=
"
0"
y=
"10"
width=
"6
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
</image>
</image>
<textField>
<textField>
...
@@ -241,10 +241,12 @@ FROM departemen]]>
...
@@ -241,10 +241,12 @@ FROM departemen]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
</box>
<textElement
textAlignment=
"Center"
/>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{status}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{status}
== 1 ? "Aktif" : "Tidak Aktif"
]]>
</textFieldExpression>
</textField>
</textField>
<textField>
<textField>
<reportElement
x=
"420"
y=
"0"
width=
"70"
height=
"20"
uuid=
"71bc4159-0a66-4c12-ab5b-1b17c33628c5"
/>
<reportElement
x=
"420"
y=
"0"
width=
"70"
height=
"20"
uuid=
"71bc4159-0a66-4c12-ab5b-1b17c33628c5"
>
<property
name=
"net.sf.jasperreports.style.isBlankWhenNull"
value=
"true"
/>
</reportElement>
<box>
<box>
<topPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<topPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<leftPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<leftPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
...
@@ -254,7 +256,9 @@ FROM departemen]]>
...
@@ -254,7 +256,9 @@ FROM departemen]]>
<textFieldExpression>
<![CDATA[$F{parent_id}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{parent_id}]]>
</textFieldExpression>
</textField>
</textField>
<textField>
<textField>
<reportElement
x=
"490"
y=
"0"
width=
"70"
height=
"20"
uuid=
"e690dd42-8996-40ad-a436-57cf4e3789c5"
/>
<reportElement
x=
"490"
y=
"0"
width=
"70"
height=
"20"
uuid=
"e690dd42-8996-40ad-a436-57cf4e3789c5"
>
<property
name=
"net.sf.jasperreports.style.isBlankWhenNull"
value=
"true"
/>
</reportElement>
<box>
<box>
<topPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<topPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<leftPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<leftPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
...
...
opensipkd/base/reports/pemerintah.jrxml
View file @
055e840
...
@@ -75,7 +75,7 @@ FROM company]]>
...
@@ -75,7 +75,7 @@ FROM company]]>
<text>
<![CDATA[DAFTAR PEMERINTAH]]>
</text>
<text>
<![CDATA[DAFTAR PEMERINTAH]]>
</text>
</staticText>
</staticText>
<image>
<image>
<reportElement
x=
"
10"
y=
"10"
width=
"5
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<reportElement
x=
"
-2"
y=
"10"
width=
"6
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
</image>
</image>
<textField>
<textField>
...
@@ -186,7 +186,7 @@ FROM company]]>
...
@@ -186,7 +186,7 @@ FROM company]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
</box>
<textElement
textAlignment=
"Center"
/>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{status}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{status}
== 1 ? "Aktif" : "Tidak Aktif"
]]>
</textFieldExpression>
</textField>
</textField>
<textField>
<textField>
<reportElement
x=
"355"
y=
"0"
width=
"100"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
<reportElement
x=
"355"
y=
"0"
width=
"100"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
...
@@ -197,7 +197,7 @@ FROM company]]>
...
@@ -197,7 +197,7 @@ FROM company]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
</box>
<textElement
textAlignment=
"Center"
/>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{parent_id}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{parent_id}
== null ? " " : $F{parent_id}
]]>
</textFieldExpression>
</textField>
</textField>
</band>
</band>
</detail>
</detail>
...
...
opensipkd/base/reports/provinsi.jrxml
View file @
055e840
...
@@ -75,7 +75,7 @@ FROM res_provinsi]]>
...
@@ -75,7 +75,7 @@ FROM res_provinsi]]>
<text>
<![CDATA[DAFTAR PROVINSI]]>
</text>
<text>
<![CDATA[DAFTAR PROVINSI]]>
</text>
</staticText>
</staticText>
<image>
<image>
<reportElement
x=
"
10"
y=
"10"
width=
"5
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<reportElement
x=
"
0"
y=
"10"
width=
"6
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
</image>
</image>
<textField>
<textField>
...
...
opensipkd/base/reports/users-external.jrxml
View file @
055e840
...
@@ -60,7 +60,7 @@ FROM external_identities]]>
...
@@ -60,7 +60,7 @@ FROM external_identities]]>
<text>
<![CDATA[DAFTAR EXTERNAL USER]]>
</text>
<text>
<![CDATA[DAFTAR EXTERNAL USER]]>
</text>
</staticText>
</staticText>
<image>
<image>
<reportElement
x=
"
10"
y=
"10"
width=
"5
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<reportElement
x=
"
0"
y=
"10"
width=
"6
3"
height=
"58"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
</image>
</image>
<textField>
<textField>
...
...
opensipkd/base/reports/users.jrxml
View file @
055e840
...
@@ -37,7 +37,7 @@ FROM users]]>
...
@@ -37,7 +37,7 @@ FROM users]]>
<text>
<![CDATA[DAFTAR USER]]>
</text>
<text>
<![CDATA[DAFTAR USER]]>
</text>
</staticText>
</staticText>
<image>
<image>
<reportElement
x=
"
10"
y=
"10"
width=
"53"
height=
"5
8"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<reportElement
x=
"
-2"
y=
"-2"
width=
"63"
height=
"6
8"
uuid=
"3fe2de31-ff3e-4451-8d0d-6b2753184c09"
/>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
<imageExpression>
<![CDATA[$P{logo}]]>
</imageExpression>
</image>
</image>
<textField>
<textField>
...
@@ -47,10 +47,15 @@ FROM users]]>
...
@@ -47,10 +47,15 @@ FROM users]]>
</textElement>
</textElement>
<textFieldExpression>
<![CDATA[$P{judul}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$P{judul}]]>
</textFieldExpression>
</textField>
</textField>
<line>
<reportElement
mode=
"Opaque"
x=
"0"
y=
"66"
width=
"555"
height=
"1"
backcolor=
"#030303"
uuid=
"0af91f2b-1025-402b-93f4-e90ee4a85849"
>
<property
name=
"com.jaspersoft.studio.unit.height"
value=
"px"
/>
</reportElement>
</line>
</band>
</band>
</title>
</title>
<pageHeader>
<pageHeader>
<band
height=
"
3
5"
splitType=
"Stretch"
/>
<band
height=
"5"
splitType=
"Stretch"
/>
</pageHeader>
</pageHeader>
<columnHeader>
<columnHeader>
<band
height=
"20"
splitType=
"Stretch"
>
<band
height=
"20"
splitType=
"Stretch"
>
...
@@ -145,7 +150,7 @@ FROM users]]>
...
@@ -145,7 +150,7 @@ FROM users]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
</box>
<textElement
textAlignment=
"Center"
/>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{last_login_date}
.toLocaleString(
)]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{last_login_date}
== null ? " " : new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format($F{last_login_date}
)]]>
</textFieldExpression>
</textField>
</textField>
<textField>
<textField>
<reportElement
x=
"355"
y=
"0"
width=
"54"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
<reportElement
x=
"355"
y=
"0"
width=
"54"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
...
@@ -156,8 +161,7 @@ FROM users]]>
...
@@ -156,8 +161,7 @@ FROM users]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
</box>
<textElement
textAlignment=
"Center"
/>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{status} == 1 ? "Aktif" : "Disabled"
<textFieldExpression>
<![CDATA[$F{status} == 1 ? "Aktif" : "Tidak Aktif"]]>
</textFieldExpression>
]]>
</textFieldExpression>
</textField>
</textField>
</band>
</band>
</detail>
</detail>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment