Skip to content

Commit

Permalink
feat(render): Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstranneheim committed Sep 2, 2024
1 parent 1a402c5 commit ed3de0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cg/apps/invoice/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def render_xlsx(data: dict) -> Workbook:
}]
}
"""
project_root_dir_parent = get_project_root_dir().parent
project_root_dir = get_project_root_dir()
sample_type = "pool" if data["pooled_samples"] else "sample"
costcenter = data["cost_center"]
template_path = Path(
project_root_dir_parent,
project_root_dir,
"templates",
f"{costcenter}_{sample_type}_invoice{FileExtensions.XLSX}",
)
Expand Down

0 comments on commit ed3de0c

Please sign in to comment.