From 5a9318d67b6b4f86bac5f5062dc1b5b4020fed34 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Mon, 7 Feb 2022 15:41:55 +0800 Subject: [PATCH] clean up wallet --- .../bookings/forms/BookingPaymentQuotationComponent.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue b/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue index 542cdc64..c7a9f60f 100644 --- a/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue +++ b/resources/assets/vue/components/bookings/forms/BookingPaymentQuotationComponent.vue @@ -546,13 +546,6 @@ amount: this.amount }; - if (this.parameters.payment_method == 'wallet') { - if (!this.data.company.wallet || this.data.company.wallet.amount < this.parameters.amount) { - this.error = 'Insufficient wallet balance. Please Top up your wallet.'; - return; - } - } - this.submit(route('api.booking.payment.quotation', this.item.id), 'post', this.section, false, false) this.calculation = null; },