Invoice empty page

This commit is contained in:
Peter Papp
2021-05-05 17:51:59 +02:00
parent 599b238ab4
commit 070a3aaba4
8 changed files with 250 additions and 31 deletions

View File

@@ -142,6 +142,15 @@
.catch(() => this.$isSomethingWrong())
}
})
events.$on('action:confirmed', data => {
if (data.operation === 'delete-client') {
axios.delete(`/api/oasis/clients/${data.id}`)
.then(() => this.goTo(this.currentFolder.location))
.catch(() => this.$isSomethingWrong())
}
})
}
}
</script>