This commit is contained in:
parent
eb098b41ba
commit
8fedfbd090
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue