add base template for manual fill
Some checks failed
Deploy Amap / deploy (push) Failing after 15s

This commit is contained in:
Julien Aldon
2026-02-20 15:42:15 +01:00
parent 12be0e5650
commit b662a6a1f0
7 changed files with 118 additions and 9 deletions

View File

@@ -12,8 +12,8 @@ def generate_html_contract(
cheques: list[dict],
occasionals: list[dict],
reccurents: list[dict],
recurrent_price: float,
total_price: float
recurrent_price: float | None = None,
total_price: float | None = None
):
template_dir = pathlib.Path("./src/contracts/templates").resolve()
template_loader = jinja2.FileSystemLoader(searchpath=template_dir)