5842-hotfix_recalcularFechaFactura #1617

Merged
alexm merged 4 commits from 5842-hotfix_recalcularFechaFactura into master 2023-06-15 08:32:16 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 14ebcf96c0 - Show all commits

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);
}