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(){