Fix account api for new features.

This commit is contained in:
James Cole
2025-01-15 18:54:49 +01:00
parent b13030420b
commit 9316ff3e51
5 changed files with 97 additions and 72 deletions

View File

@@ -106,7 +106,7 @@ interface AccountRepositoryInterface
/**
* Returns the amount of the opening balance for this account.
*/
public function getOpeningBalanceAmount(Account $account): ?string;
public function getOpeningBalanceAmount(Account $account, bool $convertToNative): ?string;
/**
* Return date of opening balance as string or null.