mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
show total balance of parent account in mobile version (#149)
This commit is contained in:
@@ -633,7 +633,7 @@ export const useAccountsStore = defineStore('accounts', () => {
|
||||
}
|
||||
}
|
||||
|
||||
function getAccountSubAccountBalance(showAccountBalance: boolean, showHidden: boolean, account: Account, subAccountId: string): AccountDisplayBalance | null {
|
||||
function getAccountSubAccountBalance(showAccountBalance: boolean, showHidden: boolean, account: Account, subAccountId?: string): AccountDisplayBalance | null {
|
||||
if (account.type !== AccountType.MultiSubAccounts.type) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user