Commit 39e0c731 by aagusti

perbaikan report

1 parent 0662bfec
......@@ -4,7 +4,7 @@ import ntpath
import csv
import io
from datetime import datetime
from z3c.rml import rml2pdf
#from z3c.rml import rml2pdf
import subprocess
import logging
from ..tools import get_settings, get_params
......@@ -51,7 +51,9 @@ def open_rml_pdf(tpl_filename, **kwargs):
params[key] = value
rml = rml.format(waktu=waktu(),
logo=logo,
line=line, **kwargs)
line=line, **kwargs
)
from z3c.rml import rml2pdf
pdf = rml2pdf.parseString(rml)
return pdf, pdf_filename
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!