mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-01 11:55:58 +00:00
Invoice page
This commit is contained in:
@@ -48,9 +48,9 @@
|
||||
<div @click="showTransactionDetail(row.data.id)" class="cursor-pointer flex items-center justify-center w-8 h-8 rounded-md hover:bg-green-100 dark:bg-2x-dark-foreground bg-light-background transition-colors">
|
||||
<EyeIcon size="15" class="opacity-75" />
|
||||
</div>
|
||||
<div class="cursor-pointer flex items-center justify-center w-8 h-8 rounded-md hover:bg-purple-100 dark:bg-2x-dark-foreground bg-light-background transition-colors">
|
||||
<a :href="$getInvoiceLink(row.data.id)" target="_blank" class="cursor-pointer flex items-center justify-center w-8 h-8 rounded-md hover:bg-purple-100 dark:bg-2x-dark-foreground bg-light-background transition-colors">
|
||||
<FileTextIcon size="15" class="opacity-75" />
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div v-else>
|
||||
-
|
||||
|
||||
+2
-2
@@ -144,8 +144,8 @@ const FunctionHelpers = {
|
||||
return `/assets/icons/${brand}.svg`
|
||||
}
|
||||
|
||||
Vue.prototype.$getInvoiceLink = function (customer, id) {
|
||||
return '/invoice/' + customer + '/' + id
|
||||
Vue.prototype.$getInvoiceLink = function (id) {
|
||||
return '/invoices/' + id
|
||||
}
|
||||
|
||||
Vue.prototype.$uploadFiles = async function (files) {
|
||||
|
||||
Reference in New Issue
Block a user