Set up billing profile

This commit is contained in:
Peter Papp
2021-05-06 09:15:37 +02:00
parent 070a3aaba4
commit 69deafeda0
13 changed files with 553 additions and 43 deletions
+13 -3
View File
@@ -48,7 +48,7 @@
</a>
</ContentGroup>
<ContentGroup title="Settings" class="navigator menu-list-wrapper vertical">
<router-link :to="{name: 'InvoicesProfile'}" class="menu-list-item link">
<router-link :to="{name: 'BillingProfile'}" class="menu-list-item link">
<div class="icon text-theme">
<edit2-icon size="17" />
</div>
@@ -127,13 +127,23 @@
},
},
mounted() {
if (! this.currentFolder) {
this.$store.commit('STORE_CURRENT_FOLDER', {
name: 'Invoices',
id: undefined,
location: 'regular-invoice',
})
this.$store.dispatch('getRegularInvoices')
}
events.$on('mobile-menu:show', () => this.isScaledDown = true)
events.$on('fileItem:deselect', () => this.isScaledDown = false)
events.$on('mobile-menu:hide', () => this.isScaledDown = false)
this.$store.dispatch('getRegularInvoices')
events.$on('action:confirmed', data => {
if (data.operation === 'delete-invoice') {