From ba526fbf4786fd89776f5e8a223817774c50a334 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Sun, 19 Dec 2021 19:47:37 +0800 Subject: [PATCH] fix purchase order input bug --- .../forms/EditBookingAmountFormComponent.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/assets/vue/components/bookings/forms/EditBookingAmountFormComponent.vue b/resources/assets/vue/components/bookings/forms/EditBookingAmountFormComponent.vue index a4f9a017..e3d546a6 100644 --- a/resources/assets/vue/components/bookings/forms/EditBookingAmountFormComponent.vue +++ b/resources/assets/vue/components/bookings/forms/EditBookingAmountFormComponent.vue @@ -10,9 +10,9 @@
- + - +
@@ -41,16 +41,16 @@ export default { data(){ return { - error: '', - fix_amount: (Math.round((this.data.amount + Number.EPSILON) * 100) / 100).toFixed(2), + error: '' } }, validations: { - fix_amount: { required }, + parameters: { + fix_amount: { required } + }, }, methods: { submitForm(){ - this.parameters = {fix_amount: this.fix_amount}, this.submit(this.route('api.booking.booking_amount.update', this.data.id), 'put', this.section, true, true) }, successHandler(){