mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
support setting expense / income amount color
This commit is contained in:
@@ -561,8 +561,8 @@ export default {
|
||||
sourceAmountClass() {
|
||||
const classes = {
|
||||
'readonly': this.mode === 'view',
|
||||
'text-color-teal': this.transaction.type === this.allTransactionTypes.Expense,
|
||||
'text-color-red': this.transaction.type === this.allTransactionTypes.Income,
|
||||
'text-expense': this.transaction.type === this.allTransactionTypes.Expense,
|
||||
'text-income': this.transaction.type === this.allTransactionTypes.Income,
|
||||
'text-color-primary': this.transaction.type === this.allTransactionTypes.Transfer
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user