refs #5842 refactor: change names
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-06-15 07:24:17 +02:00
parent 7fa4eabf86
commit 14ebcf96c0
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@
show-field="code"
value-field="id"
ng-model="$ctrl.companyFk"
on-change="$ctrl.recalcInvoiceDate($ctrl.companyFk)">
on-change="$ctrl.getInvoiceDate(value)">
</vn-autocomplete>
<vn-autocomplete
url="Printers"

View File

@ -14,11 +14,11 @@ class Controller extends Section {
this.$http.get('UserConfigs/getUserConfig')
.then(res => {
this.companyFk = res.data.companyFk;
this.recalcInvoiceDate(this.companyFk);
this.getInvoiceDate(this.companyFk);
});
}
recalcInvoiceDate(companyFk) {
getInvoiceDate(companyFk) {
const params = { companyFk: companyFk };
this.fetchInvoiceDate(params);
}