mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
modify style
This commit is contained in:
@@ -197,7 +197,7 @@ export default {
|
|||||||
},
|
},
|
||||||
netAssets() {
|
netAssets() {
|
||||||
if (!this.showAccountBalance) {
|
if (!this.showAccountBalance) {
|
||||||
return '---';
|
return '***';
|
||||||
}
|
}
|
||||||
|
|
||||||
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, () => true);
|
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, () => true);
|
||||||
@@ -227,7 +227,7 @@ export default {
|
|||||||
},
|
},
|
||||||
totalAssets() {
|
totalAssets() {
|
||||||
if (!this.showAccountBalance) {
|
if (!this.showAccountBalance) {
|
||||||
return '---';
|
return '***';
|
||||||
}
|
}
|
||||||
|
|
||||||
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isAsset);
|
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isAsset);
|
||||||
@@ -257,7 +257,7 @@ export default {
|
|||||||
},
|
},
|
||||||
totalLiabilities() {
|
totalLiabilities() {
|
||||||
if (!this.showAccountBalance) {
|
if (!this.showAccountBalance) {
|
||||||
return '---';
|
return '***';
|
||||||
}
|
}
|
||||||
|
|
||||||
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isLiability);
|
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.isLiability);
|
||||||
@@ -370,12 +370,12 @@ export default {
|
|||||||
if (this.showAccountBalance) {
|
if (this.showAccountBalance) {
|
||||||
return account.balance;
|
return account.balance;
|
||||||
} else {
|
} else {
|
||||||
return '---';
|
return '***';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
accountCategoryTotalBalance(accountCategory) {
|
accountCategoryTotalBalance(accountCategory) {
|
||||||
if (!this.showAccountBalance) {
|
if (!this.showAccountBalance) {
|
||||||
return '---';
|
return '***';
|
||||||
}
|
}
|
||||||
|
|
||||||
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.id === accountCategory.id);
|
const accountsBalance = this.$utilities.getAllFilteredAccountsBalance(this.accounts, category => category.id === accountCategory.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user