fix: refs #7524 getAmountPaid wip #2971
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue