- balance implementation

- invoice refactoring
This commit is contained in:
Čarodej
2021-12-15 11:24:41 +01:00
parent 6cb3503870
commit b368d56bbc
14 changed files with 197 additions and 150 deletions
+5 -9
View File
@@ -149,17 +149,9 @@
title: this.$t('menu.subscription'),
route: 'Subscription',
},
{
title: this.$t('Transactions'),
route: 'Invoice',
},
]
let meteredSubscription = [
{
title: this.$t('Billing'),
route: 'MeteredSubscription',
},
{
title: this.$t('menu.profile'),
route: 'Profile',
@@ -172,12 +164,16 @@
title: this.$t('menu.storage'),
route: 'Storage',
},
{
title: this.$t('Billing'),
route: 'MeteredSubscription',
},
]
return {
fixed: fixedSubscription,
metered: meteredSubscription,
}['metered']
}[this.config.subscriptionType]
}
},
data() {