diff --git a/modules/invoiceOut/front/global-invoicing/index.html b/modules/invoiceOut/front/global-invoicing/index.html index 1df01c7f0..3f0a10650 100644 --- a/modules/invoiceOut/front/global-invoicing/index.html +++ b/modules/invoiceOut/front/global-invoicing/index.html @@ -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)"> { this.companyFk = res.data.companyFk; - this.recalcInvoiceDate(this.companyFk); + this.getInvoiceDate(this.companyFk); }); } - recalcInvoiceDate(companyFk) { + getInvoiceDate(companyFk) { const params = { companyFk: companyFk }; this.fetchInvoiceDate(params); }