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 3e68055a
authored
Mar 15, 2023
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan report jasper
1 parent
a462b03f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
opensipkd/base/reports/users.jasper
opensipkd/base/reports/users.jrxml
opensipkd/base/tools/report.py
opensipkd/base/reports/users.jasper
deleted
100644 → 0
View file @
a462b03
No preview for this file type
opensipkd/base/reports/users.jrxml
View file @
3e68055
...
...
@@ -93,7 +93,7 @@
</textField>
<textField>
<reportElement
x=
"355"
y=
"2"
width=
"100"
height=
"20"
uuid=
"47051f05-f634-4c32-97cc-ce9af7b8f382"
/>
<textFieldExpression>
<![CDATA[$F{status}.equals(
1)?"PINTAR":"BODO
"]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{status}.equals(
1 ) ? "Aktif" : "
"]]>
</textFieldExpression>
</textField>
</band>
</detail>
...
...
opensipkd/base/tools/report.py
View file @
3e68055
...
...
@@ -77,7 +77,7 @@ def jasper_export(input_file, output_file=None, schema=None,
parameters
=
{
'python_version'
:
python_version
()},
locale
=
'en_US'
)
pyreportjasper
.
compile
(
write_jasper
=
True
)
#
pyreportjasper.compile(write_jasper=True)
pyreportjasper
.
process_report
()
output_files
=
[
"."
.
join
([
output_file
,
f
])
for
f
in
output_formats
]
log
.
info
(
output_files
)
...
...
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