From 975e3d49e7e85ef10c944e3d7bd7361b58c4ec39 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Fri, 30 Sep 2022 16:20:54 +0800 Subject: [PATCH] hide payment button for floating amount --- .../forms/DeletePaymentAttemptFormComponent.vue | 4 ++-- .../components/paymentsBilling/forms/PaymentFormComponent.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/assets/vue/components/paymentsBilling/forms/DeletePaymentAttemptFormComponent.vue b/resources/assets/vue/components/paymentsBilling/forms/DeletePaymentAttemptFormComponent.vue index ba371bd4..07171b50 100644 --- a/resources/assets/vue/components/paymentsBilling/forms/DeletePaymentAttemptFormComponent.vue +++ b/resources/assets/vue/components/paymentsBilling/forms/DeletePaymentAttemptFormComponent.vue @@ -15,7 +15,7 @@
Cancel
-
Delete
+
Delete
@@ -30,4 +30,4 @@ mixins: [componentHandler, ModalFormHandler] } - \ No newline at end of file + diff --git a/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue b/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue index 8f02c823..0446da11 100644 --- a/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue +++ b/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue @@ -99,7 +99,7 @@ methods:{ submitForm(){ this.parameters.payment_method = this.paymentMethod.id === 'payment_gateway' ? 5 : ''; - this.submit(this.route('api.transaction.payment.create'), 'post', this.section, true, true); + this.submit(this.route('api.transaction.payment.create'), 'post', 'orderProfileSection', true, true); }, updatePaymentType(payment){ this.paymentMethod = { @@ -120,4 +120,4 @@ mixins: [formHandler] } - \ No newline at end of file +