Revised the documentation in the page parameters and the report in the ledger and income and expenses log.

This commit is contained in:
依瑪貓 2023-03-08 18:01:07 +08:00
parent 7b10eb68bc
commit 7083f22577
2 changed files with 4 additions and 4 deletions

View File

@ -280,7 +280,7 @@ class PageParams(BasePageParams):
self.brought_forward: ReportEntry | None = brought_forward
"""The brought-forward entry."""
self.entries: list[ReportEntry] = entries
"""The entries."""
"""The report entries."""
self.total: ReportEntry | None = total
"""The total entry."""
self.period_chooser: IncomeExpensesPeriodChooser \
@ -410,7 +410,7 @@ class IncomeExpenses(BaseReport):
self.__brought_forward: ReportEntry | None = collector.brought_forward
"""The brought-forward entry."""
self.__entries: list[ReportEntry] = collector.entries
"""The log entries."""
"""The report entries."""
self.__total: ReportEntry | None = collector.total
"""The total entry."""

View File

@ -241,7 +241,7 @@ class PageParams(BasePageParams):
:param period: The period.
:param has_data: True if there is any data, or False otherwise.
:param brought_forward: The brought-forward entry.
:param entries: The ledger entries.
:param entries: The report entries.
:param total: The total entry.
"""
self.currency: Currency = currency
@ -364,7 +364,7 @@ class Ledger(BaseReport):
self.__brought_forward: ReportEntry | None = collector.brought_forward
"""The brought-forward entry."""
self.__entries: list[ReportEntry] = collector.entries
"""The ledger entries."""
"""The report entries."""
self.__total: ReportEntry | None = collector.total
"""The total entry."""