Removed the unused entry property from the ReportEntry model of the income and expenses log.

This commit is contained in:
依瑪貓 2023-03-09 08:22:09 +08:00
parent a340fad109
commit 4ce577d7d8

View File

@ -47,8 +47,6 @@ class ReportEntry:
:param entry: The journal entry.
"""
self.entry: JournalEntry | None = None
"""The journal entry."""
self.transaction: Transaction | None = None
"""The transaction."""
self.is_brought_forward: bool = False
@ -70,7 +68,6 @@ class ReportEntry:
self.note: str | None = None
"""The note."""
if entry is not None:
self.entry = entry
self.transaction = entry.transaction
self.date = entry.transaction.date
self.account = entry.account