From 4332fccfcccd76774f3cdc6be54dde7cdce6d5ae Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 17 Sep 2024 11:43:34 +0200 Subject: [PATCH] chore: refs #7524 rollback --- modules/client/front/balance/create/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/client/front/balance/create/index.js b/modules/client/front/balance/create/index.js index c0bc11c0b..f1474e10c 100644 --- a/modules/client/front/balance/create/index.js +++ b/modules/client/front/balance/create/index.js @@ -7,10 +7,6 @@ class Controller extends Dialog { this.vnReport = vnReport; this.vnEmail = vnEmail; this.receipt = {}; - - this.$.$watch(() => this.clientFk, (newVal, oldVal) => { - if (!this.receipt.amountPaid && newVal != oldVal) this.getAmountPaid(); - }); } set payed(value) { @@ -55,6 +51,7 @@ class Controller extends Dialog { set companyFk(value) { this.receipt.companyFk = value; + this.getAmountPaid(); } set description(value) {