Changed to _payment

This commit is contained in:
Juan Pablo Vial
2025-11-13 15:20:19 -03:00
parent c3a7e7636f
commit 539ac3c0e8
2 changed files with 13 additions and 13 deletions

View File

@ -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')