added logo to the transaction service

This commit is contained in:
Čarodej
2021-11-25 07:03:01 +01:00
parent 9503ecbd79
commit 4e069b98f6
28 changed files with 79 additions and 140 deletions

View File

@@ -305,6 +305,14 @@ const FunctionHelpers = {
this.$store.dispatch(...routes[this.$router.currentRoute.name])
}
Vue.prototype.$getPaymentLogo = function (driver) {
return {
'paypal': '/assets/payments/paypal.svg',
'paystack': '/assets/payments/paystack.svg',
}[driver]
}
Vue.prototype.$goToFileView = function (id) {
let locations = {