Changeset View
Changeset View
Standalone View
Standalone View
src/resources/vue/Widgets/PaymentLog.vue
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | export default { | ||||
this.hasMore = response.data.hasMore | this.hasMore = response.data.hasMore | ||||
this.page = response.data.page || 1 | this.page = response.data.page || 1 | ||||
}) | }) | ||||
.catch(error => { | .catch(error => { | ||||
this.$root.removeLoader(loader) | this.$root.removeLoader(loader) | ||||
}) | }) | ||||
}, | }, | ||||
amount(payment) { | amount(payment) { | ||||
return this.$root.price(payment.amount) | return this.$root.price(payment.amount, payment.currency) | ||||
} | } | ||||
} | } | ||||
} | } | ||||
</script> | </script> |