Edit client detail

This commit is contained in:
Peter Papp
2021-04-29 10:54:10 +02:00
parent 19bce195b4
commit 834b0ba5e0
11 changed files with 597 additions and 47 deletions
@@ -1,5 +1,5 @@
<template>
<div class="file-wrapper" @mouseup.stop="clickedItem" @dblclick="showInvoice">
<div class="file-wrapper" @mouseup.stop="clickedItem" @dblclick="showClient">
<div class="file-item" :class="{'is-clicked': isClicked , 'no-clicked': !isClicked && $isMobile()}">
<!-- MultiSelecting for the mobile version -->
@@ -135,8 +135,8 @@ export default {
}
}
},
showInvoice() {
events.$emit('file-preview:show')
showClient() {
this.$router.push({name: 'ClientDetail', params: {id: this.item.id}})
},
},
created() {