Skip to content

Commit

Permalink
IGs and template improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Dec 8, 2024
1 parent 8c2767e commit f8ce11d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/core/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def count_category_results(data):
res_donut = InlineImage(doc, plot_donut(donut_data), width=Cm(15))
chart_spider = InlineImage(doc, spider_chart_buffer, width=Cm(15))
ac_chart = InlineImage(doc, hbar_buffer, width=Cm(15))

IGs = ", ".join(audit.get_selected_implementation_groups())
context = {
"audit": audit,
"date": now().strftime("%d/%m/%Y"),
Expand All @@ -292,6 +292,7 @@ def count_category_results(data):
"chart_controls": ac_chart,
"p1_controls": p1_controls,
"ac_count": ac_total,
"igs": IGs,
}

return context
Binary file modified backend/core/templates/core/audit_report_template.docx
Binary file not shown.

0 comments on commit f8ce11d

Please sign in to comment.