From 4f09fa54d659c54650664e4a0168e2d390881950 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Thu, 21 Aug 2025 11:55:38 +0800 Subject: [PATCH] E-Invoice - Fix a problem reported by Sin Yee user click on 'I don't need now' option to opt out E-Invoice --- .../bookings/forms/BookingPaymentQuotationV2Component.vue | 4 ++++ .../components/bookings/forms/PurchaseOrderFormComponent.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationV2Component.vue b/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationV2Component.vue index 6dce568f..ae894419 100644 --- a/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationV2Component.vue +++ b/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationV2Component.vue @@ -840,6 +840,10 @@ } }, changeOfMindEInvoiceRequest(){ + this.parameters = { + booking_id: this.data.id, + company_id: this.data.company.id, + }; this.parameters.e_invoice_request = false; this.submit((this.route('api.company.einvoice.request.change')), 'post', this.section + 'ChangeOfMind', true, true); } diff --git a/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue b/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue index 593c84be..697315d6 100644 --- a/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue +++ b/resources/assets/vue/components/bookings/forms/PurchaseOrderFormComponent.vue @@ -404,6 +404,10 @@ this.$store.dispatch('reloadList', {'name': "bookingDetailSection"}); }, changeOfMindEInvoiceRequest(){ + this.parameters = { + booking_id: this.data.id, + company_id: this.data.company.id, + }; this.parameters.e_invoice_request = false; this.submit((this.route('api.company.einvoice.request.change')), 'post', this.section + 'ChangeOfMind', true, true); }