mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
updated transaction tables
This commit is contained in:
19
resources/js/helpers/functionHelpers.js
vendored
19
resources/js/helpers/functionHelpers.js
vendored
@@ -327,6 +327,7 @@ const FunctionHelpers = {
|
||||
'paypal': '/assets/payments/paypal.svg',
|
||||
'paystack': store.getters.isDarkMode ? '/assets/payments/paystack-dark.svg' : '/assets/payments/paystack.svg',
|
||||
'stripe': '/assets/payments/stripe.svg',
|
||||
'system': this.$getImage(store.getters.config.app_logo_horizontal),
|
||||
}[driver]
|
||||
}
|
||||
|
||||
@@ -348,6 +349,24 @@ const FunctionHelpers = {
|
||||
}[status]
|
||||
}
|
||||
|
||||
Vue.prototype.$getTransactionTypeTextColor = function (type) {
|
||||
|
||||
return {
|
||||
'withdrawal': 'text-red-500',
|
||||
'credit': 'text-green-500',
|
||||
'charge': '',
|
||||
}[type]
|
||||
}
|
||||
|
||||
Vue.prototype.$getTransactionMark = function (type) {
|
||||
|
||||
return {
|
||||
'withdrawal': '-',
|
||||
'credit': '+',
|
||||
'charge': '',
|
||||
}[type]
|
||||
}
|
||||
|
||||
Vue.prototype.$goToFileView = function (id) {
|
||||
|
||||
let locations = {
|
||||
|
||||
Reference in New Issue
Block a user