From 650d007b173d6dd89288a66e4513e17a1bbfcdfe Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 17 Jun 2024 13:26:50 +0800 Subject: [PATCH] Export file directly from Laravel Vapor without going through S3 bucket --- .../bookings/elements/DownloadBillingWithDatesComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');