Commit 3e68055a by aagusti

perbaikan report jasper

1 parent a462b03f
No preview for this file type
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</textField> </textField>
<textField> <textField>
<reportElement x="355" y="2" width="100" height="20" uuid="47051f05-f634-4c32-97cc-ce9af7b8f382"/> <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> </textField>
</band> </band>
</detail> </detail>
......
...@@ -77,7 +77,7 @@ def jasper_export(input_file, output_file=None, schema=None, ...@@ -77,7 +77,7 @@ def jasper_export(input_file, output_file=None, schema=None,
parameters={'python_version': python_version()}, parameters={'python_version': python_version()},
locale='en_US' locale='en_US'
) )
pyreportjasper.compile(write_jasper=True) # pyreportjasper.compile(write_jasper=True)
pyreportjasper.process_report() pyreportjasper.process_report()
output_files = [".".join([output_file, f]) for f in output_formats] output_files = [".".join([output_file, f]) for f in output_formats]
log.info(output_files) log.info(output_files)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!