lims_report_html: some fixes (3)

This commit is contained in:
Sebastian Marro 2023-03-10 14:46:55 -03:00
parent fd678230fe
commit 3f824bab23
1 changed files with 2 additions and 1 deletions

View File

@ -471,8 +471,9 @@ class LimsReport(Report):
with Transaction().set_context(locale=locale):
env = cls.get_lims_environment()
header = {}
report_template = env.from_string(template_string)
context = cls.get_context(records, header=[], data=data)
context = cls.get_context(records, header, data=data)
context.update({
'report': action,
'get_image': cls.get_image,