Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
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
Show 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]]>
<textElement
textAlignment=
"Center"
>
<font
size=
"14"
isBold=
"true"
/>
</textElement>
<text>
<![CDATA[DAFTAR
USER
]]>
</text>
<text>
<![CDATA[DAFTAR
DEPARTEMEN
]]>
</text>
</staticText>
<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>
</image>
<textField>
...
...
@@ -241,10 +241,12 @@ FROM departemen]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{status}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{status}
== 1 ? "Aktif" : "Tidak Aktif"
]]>
</textFieldExpression>
</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>
<topPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
<leftPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
...
...
@@ -254,7 +256,9 @@ FROM departemen]]>
<textFieldExpression>
<![CDATA[$F{parent_id}]]>
</textFieldExpression>
</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>
<topPen
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]]>
<text>
<![CDATA[DAFTAR PEMERINTAH]]>
</text>
</staticText>
<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>
</image>
<textField>
...
...
@@ -186,7 +186,7 @@ FROM company]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{status}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{status}
== 1 ? "Aktif" : "Tidak Aktif"
]]>
</textFieldExpression>
</textField>
<textField>
<reportElement
x=
"355"
y=
"0"
width=
"100"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
...
...
@@ -197,7 +197,7 @@ FROM company]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{parent_id}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{parent_id}
== null ? " " : $F{parent_id}
]]>
</textFieldExpression>
</textField>
</band>
</detail>
...
...
opensipkd/base/reports/provinsi.jrxml
View file @
055e840
...
...
@@ -75,7 +75,7 @@ FROM res_provinsi]]>
<text>
<![CDATA[DAFTAR PROVINSI]]>
</text>
</staticText>
<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>
</image>
<textField>
...
...
opensipkd/base/reports/users-external.jrxml
View file @
055e840
...
...
@@ -60,7 +60,7 @@ FROM external_identities]]>
<text>
<![CDATA[DAFTAR EXTERNAL USER]]>
</text>
</staticText>
<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>
</image>
<textField>
...
...
opensipkd/base/reports/users.jrxml
View file @
055e840
...
...
@@ -37,7 +37,7 @@ FROM users]]>
<text>
<![CDATA[DAFTAR USER]]>
</text>
</staticText>
<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>
</image>
<textField>
...
...
@@ -47,10 +47,15 @@ FROM users]]>
</textElement>
<textFieldExpression>
<![CDATA[$P{judul}]]>
</textFieldExpression>
</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>
</title>
<pageHeader>
<band
height=
"
3
5"
splitType=
"Stretch"
/>
<band
height=
"5"
splitType=
"Stretch"
/>
</pageHeader>
<columnHeader>
<band
height=
"20"
splitType=
"Stretch"
>
...
...
@@ -145,7 +150,7 @@ FROM users]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
<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>
<reportElement
x=
"355"
y=
"0"
width=
"54"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
...
...
@@ -156,8 +161,7 @@ FROM users]]>
<rightPen
lineWidth=
"1.0"
lineStyle=
"Solid"
lineColor=
"#000000"
/>
</box>
<textElement
textAlignment=
"Center"
/>
<textFieldExpression>
<![CDATA[$F{status} == 1 ? "Aktif" : "Disabled"
]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{status} == 1 ? "Aktif" : "Tidak Aktif"]]>
</textFieldExpression>
</textField>
</band>
</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