diff --git a/resources/assets/vue/components/bookings/elements/DownloadBillingWithDatesComponent.vue b/resources/assets/vue/components/bookings/elements/DownloadBillingWithDatesComponent.vue index 9757fde5..4c08cd31 100644 --- a/resources/assets/vue/components/bookings/elements/DownloadBillingWithDatesComponent.vue +++ b/resources/assets/vue/components/bookings/elements/DownloadBillingWithDatesComponent.vue @@ -95,7 +95,7 @@ export default { break; } if(window.LARAVEL_VAPOR_ENABLED){ - this.submit(apiRoute, 'get', this.section, false, false); + this.submit(apiRoute + '?startDate=' + this.parameters.startDate + '&endDate=' + this.parameters.endDate, 'get', this.section, false, false); } else{ window.open(apiRoute + '?startDate=' + this.parameters.startDate + '&endDate=' + this.parameters.endDate, '_blank');