fix: refs #7524 getAmountPaid wip
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-09-16 13:32:14 +02:00
parent eb098b41ba
commit 8fedfbd090
1 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,10 @@ 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) {
@ -51,7 +55,6 @@ class Controller extends Dialog {
set companyFk(value) {
this.receipt.companyFk = value;
this.getAmountPaid();
}
set description(value) {