fix: include additional transparency data

Modified generate_transparency_table to include more detailed
transparency data by passing an additional boolean argument.
This change helps ensure all relevant data is captured and handled
properly, improving financial data accuracy and reporting.
This commit is contained in:
Kumi 2024-07-01 11:11:04 +02:00
parent 4f83a97f17
commit 7e89a67951
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -84,9 +84,8 @@ def catch_all(path):
for month in sorted(finances[year].keys(), reverse=True):
if year not in finance_data:
finance_data[year] = {}
print(get_transparency_data(finances, year, month))
finance_data[year][month] = generate_transparency_table(
get_transparency_data(finances, year, month)
get_transparency_data(finances, year, month, True)
)
kwargs.update(