hotfix-undefinedContract #1859

Merged
carlossa merged 5 commits from hotfix-undefinedContract into master 2023-11-24 08:06:42 +00:00
2 changed files with 4 additions and 5 deletions

View File

@ -70,7 +70,8 @@
fields="['started', 'ended']" fields="['started', 'ended']"
ng-model="$ctrl.businessId" ng-model="$ctrl.businessId"
search-function="{businessFk: $search}" search-function="{businessFk: $search}"
value-field="businessFk" show-field="businessFk"
value-field="businessId"
order="businessFk DESC" order="businessFk DESC"
limit="5"> limit="5">
<tpl-item> <tpl-item>

View File

@ -111,10 +111,8 @@ class Controller extends Section {
dayIndex.setDate(dayIndex.getDate() + 1); dayIndex.setDate(dayIndex.getDate() + 1);
} }
if (this.worker) { this.fetchHours();
this.fetchHours(); this.getWeekData();
this.getWeekData();
}
} }
set weekTotalHours(totalHours) { set weekTotalHours(totalHours) {