mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 09:12:14 +00:00
share invoice on email frontend
This commit is contained in:
7
resources/js/oasis-helpers.js
vendored
7
resources/js/oasis-helpers.js
vendored
@@ -5,6 +5,13 @@ import {events} from './bus'
|
||||
const OasisHelpers = {
|
||||
install(Vue) {
|
||||
|
||||
Vue.prototype.$shareInvoice = function (entry) {
|
||||
events.$emit('popup:open', {
|
||||
name: 'share-invoice',
|
||||
item: entry
|
||||
})
|
||||
}
|
||||
|
||||
Vue.prototype.$editInvoice = function (entry) {
|
||||
this.$router.push({name: 'EditInvoice', params: {id: entry.id}})
|
||||
events.$emit('file-preview:hide')
|
||||
|
||||
Reference in New Issue
Block a user