diff --git a/app/resources/views/ventas/reservations/modal/add.blade.php b/app/resources/views/ventas/reservations/modal/add.blade.php index e47224d..6b2e035 100644 --- a/app/resources/views/ventas/reservations/modal/add.blade.php +++ b/app/resources/views/ventas/reservations/modal/add.blade.php @@ -42,14 +42,14 @@ body.set(`${this.prefix}_buyer_birthdate`, [birthdate.getFullYear(), birthdate.getMonth() + 1, birthdate.getDate()].join('-')) if (this.components.payments.components.pie.$checkbox.checkbox('is unchecked')) { - body.delete(`${this.prefix}_pie`) - body.delete(`${this.prefix}_cuotas`) + body.delete(`${this.prefix}_payment_pie`) + body.delete(`${this.prefix}_payment_cuotas`) } - body.delete(`${this.prefix}_has_pie`) + body.delete(`${this.prefix}_payment_has_pie`) if (this.components.payments.components.credit.$checkbox.checkbox('is unchecked')) { - body.delete(`${this.prefix}_credit`) + body.delete(`${this.prefix}_payment_credit`) } - body.delete(`${this.prefix}_has_credit`) + body.delete(`${this.prefix}_payment_has_credit`) body.delete('comuna') body.delete('region') diff --git a/app/resources/views/ventas/reservations/modal/common/form.blade.php b/app/resources/views/ventas/reservations/modal/common/form.blade.php index 7bda042..3dbdaf1 100644 --- a/app/resources/views/ventas/reservations/modal/common/form.blade.php +++ b/app/resources/views/ventas/reservations/modal/common/form.blade.php @@ -130,33 +130,33 @@