diff --git a/resources/assets/vue/components/bookings/elements/CustomerTransactionHistorySectionComponent.vue b/resources/assets/vue/components/bookings/elements/CustomerTransactionHistorySectionComponent.vue index 98446217..d1b121f0 100644 --- a/resources/assets/vue/components/bookings/elements/CustomerTransactionHistorySectionComponent.vue +++ b/resources/assets/vue/components/bookings/elements/CustomerTransactionHistorySectionComponent.vue @@ -13,7 +13,7 @@
{{ showingPreciseAmount ? 'Showing Precise Transaction' : 'Show Precise Transaction'}} - {{ showingPreciseAmount ? 'Download Precise Transaction' : 'Download Transaction'}} + {{ showingPreciseAmount ? 'Download Precise Transaction' : 'Download Transaction'}}
@@ -128,8 +128,8 @@ export default { this.key ++; }, - downloadTransaction(paramItem) { - let url = this.route('company.transaction.export', this.id, showingPreciseAmount); + downloadTransaction(paramItem, showingPreciseAmount) { + let url = this.route('company.transaction.export', paramItem.id, showingPreciseAmount); if(window.LARAVEL_VAPOR_ENABLED){ return fetch(url, { method: 'GET',