Replaced the report generators with a separated module for each report, to work with the diversity of the report formats without messing-up one another.

This commit is contained in:
2023-03-07 22:26:51 +08:00
parent 436a4c367f
commit edb893ecd3
21 changed files with 2228 additions and 1702 deletions

View File

@ -21,10 +21,9 @@ from flask import Blueprint, request, Response
from accounting.models import Currency, Account
from accounting.utils.permission import has_permission, can_view
from .balance_sheet import BalanceSheet
from .period import Period
from .reports import Journal, Ledger, IncomeExpenses, TrialBalance, \
IncomeStatement
IncomeStatement, BalanceSheet
bp: Blueprint = Blueprint("report", __name__)
"""The view blueprint for the reports."""