Fixed and renamed the "__query_currency_period" method of the AccountCollector of the balance sheet to "__query_current_period".

This commit is contained in:
依瑪貓 2023-03-18 19:16:54 +08:00
parent fe1c7669b6
commit 5ceb9f2e83

View File

@ -188,10 +188,10 @@ class AccountCollector:
:return: None.
"""
self.__add_owner_s_equity(Account.NET_CHANGE_CODE,
self.__query_currency_period(),
self.__query_current_period(),
self.__period)
def __query_currency_period(self) -> Decimal | None:
def __query_current_period(self) -> Decimal | None:
"""Queries and returns the net income or loss for current period.
:return: The net income or loss for current period.