fix: refs #7524 getAmountPaid wip #2971

Merged
jorgep merged 4 commits from 7524-hotfix-getAmountPaid into master 2024-09-17 09:53:49 +00:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit 4332fccfcc - Show all commits

View File

@ -7,10 +7,6 @@ class Controller extends Dialog {
this.vnReport = vnReport; this.vnReport = vnReport;
this.vnEmail = vnEmail; this.vnEmail = vnEmail;
this.receipt = {}; this.receipt = {};
this.$.$watch(() => this.clientFk, (newVal, oldVal) => {
if (!this.receipt.amountPaid && newVal != oldVal) this.getAmountPaid();
});
} }
set payed(value) { set payed(value) {
@ -55,6 +51,7 @@ class Controller extends Dialog {
set companyFk(value) { set companyFk(value) {
this.receipt.companyFk = value; this.receipt.companyFk = value;
this.getAmountPaid();
} }
set description(value) { set description(value) {