test #1863
|
@ -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,11 +111,9 @@ 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) {
|
||||||
this._weekTotalHours = this.formatHours(totalHours);
|
this._weekTotalHours = this.formatHours(totalHours);
|
||||||
|
|
Loading…
Reference in New Issue