show account outstanding balance for liability account in account balance trends chart

This commit is contained in:
MaysWind
2025-08-04 21:04:41 +08:00
parent 791c0ea26e
commit 6e5f857e97
5 changed files with 20 additions and 11 deletions
@@ -230,7 +230,7 @@
:fiscal-year-start="fiscalYearStart"
:items="[]"
:legend-name="isCurrentLiabilityAccount ? tt('Account Outstanding Balance') : tt('Account Balance')"
:account-currency="currentAccountCurrency"
:account="currentAccount"
:skeleton="true"
v-if="showAccountBalanceTrendsCharts && loading"
/>
@@ -241,7 +241,7 @@
:fiscal-year-start="fiscalYearStart"
:items="reconciliationStatements?.transactions"
:legend-name="isCurrentLiabilityAccount ? tt('Account Outstanding Balance') : tt('Account Balance')"
:account-currency="currentAccountCurrency"
:account="currentAccount"
v-if="showAccountBalanceTrendsCharts && !loading"
/>
@@ -329,6 +329,7 @@ const {
fiscalYearStart,
allChartTypes,
allDateAggregationTypes,
currentAccount,
currentAccountCurrency,
isCurrentLiabilityAccount,
allAccountsMap,
@@ -247,7 +247,7 @@
:date-aggregation-type="chartDataDateAggregationType"
:fiscal-year-start="fiscalYearStart"
:items="reconciliationStatements?.transactions"
:account-currency="currentAccountCurrency"
:account="currentAccount"
/>
</f7-card-content>
</f7-card>