Plan settings refactoring

This commit is contained in:
Čarodej
2022-01-11 15:20:33 +01:00
parent 1c188081b3
commit 68563b9e10
8 changed files with 175 additions and 26 deletions

View File

@@ -392,6 +392,13 @@ const FunctionHelpers = {
}[type]
}
Vue.prototype.$getPlanStatusColor = function (type) {
return {
'active': 'green',
'archived': 'red',
}[type]
}
Vue.prototype.$getTransactionTypeTextColor = function (type) {
return {