Skip to content

Commit

Permalink
[FIX] Fixed reporting with new export layout
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Nov 29, 2023
1 parent 3e1a13d commit c568554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/iris_engine/reporter/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def generate_doc_report(self, doc_type):

name = "{}".format("{}.docx".format(report.naming_format))
name = name.replace("%code_name%", case_info['doc_id'])
name = name.replace('%customer%', case_info['case'].get('for_customer'))
name = name.replace('%customer%', case_info['case']['client']['customer_name'])
name = name.replace('%case_name%', case_info['case'].get('name'))
name = name.replace('%date%', datetime.utcnow().strftime("%Y-%m-%d"))
output_file_path = os.path.join(self._tmp, name)
Expand Down

0 comments on commit c568554

Please sign in to comment.