diff --git a/resources/assets/vue/components/orders/forms/TaxRebateQrCodeFormComponent.vue b/resources/assets/vue/components/orders/forms/TaxRebateQrCodeFormComponent.vue index 5661128e..c1a86c45 100644 --- a/resources/assets/vue/components/orders/forms/TaxRebateQrCodeFormComponent.vue +++ b/resources/assets/vue/components/orders/forms/TaxRebateQrCodeFormComponent.vue @@ -2,86 +2,90 @@
-
-
-
-
-

List Of Tax Rebate QR Code

- -
-
-
-
- -
- -
-
-
- + +
+ +
-
-
-
- +
+
+ +
-
- -
-
-

Are you sure you want to create a Tax Rebate QR Code?

-

A Tax Rebate QR Code allows suppliers to claim tax rebates.
We need some additional information for this - service. -

-
-
-
- + +
+
+

Are you sure you want to create a Tax Rebate QR Code?

+

A Tax Rebate QR Code allows suppliers to claim tax rebates.
We need some additional information for this + service. +

-
- +
+
+ +
+
+ +
-
- -
-
-

Create Tax Rebate QR Code?

-
-
-
- - - - + +
+
+

Create Tax Rebate QR Code?

-
-
-
- - - - +
+
+ + + + +
-
-
-
- +
+
+ + + + +
-
- +
+
+ +
+
+ +
@@ -107,7 +111,8 @@ export default { supplier_name: 'Supplier Name', // supplier_contact_number: 'Supplier Contact Number' supplier_contact_number: 'Contact Number' - } + }, + isLoading: false, }; }, validations: { @@ -128,6 +133,7 @@ export default { this.submit(this.route('api.order.tax_rebate.create', this.data.id), 'post', this.section, true, true); }, download(param) { + this.isLoading = true; let url = route('order.taxt_rebate_qr.download', this.data.id) + '?tax_rebate_refeerence=' + param.reference_number; console.log(url); if(window.LARAVEL_VAPOR_ENABLED){ @@ -140,6 +146,7 @@ export default { if (response.src) { // window.location.href = response.src; window.open(response.src, '_blank'); + this.isLoading = false; } }); } @@ -147,6 +154,7 @@ export default { } else{ window.open(url, '_blank'); + this.isLoading = false; } }, resetSteps(order) {