5468-account_privileges #1552

Merged
vicent merged 40 commits from 5468-account_privileges into dev 2023-06-20 12:48:35 +00:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 4f9dae3522 - Show all commits

View File

@ -63,6 +63,7 @@
ng-model="$ctrl.businessId"
search-function="{businessFk: $search}"
value-field="businessFk"
show-field="businessFk"
order="businessFk DESC"
limit="5">
<tpl-item>

View File

@ -71,10 +71,6 @@ class Controller extends Section {
}
}
get payedHolidays() {
return this._businessId;
}
buildYearFilter() {
const now = Date.vnNew();
now.setFullYear(now.getFullYear() + 1);
@ -96,8 +92,10 @@ class Controller extends Section {
getActiveContract() {
this.$http.get(`Workers/${this.worker.id}/activeContract`).then(res => {
if (res.data)
if (res.data) {
this.businessId = res.data.businessFk;
console.log(this.businessId);
vicent marked this conversation as resolved Outdated
Outdated
Review

Has olvidado quitar el console.log

Has olvidado quitar el `console.log`
}
});
}