hotfix-undefinedContract #1859
|
@ -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>
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue