refs #5334 fix errors

This commit is contained in:
Carlos Satorres 2023-06-30 09:39:48 +02:00
parent 9dc52b6011
commit 6b4501146d
1 changed files with 11 additions and 3 deletions

View File

@ -4,6 +4,14 @@
form="form" form="form"
url="Departments"> url="Departments">
</vn-watcher> </vn-watcher>
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
info="Search departments by id, name or code"
on-search="$ctrl.onSearch($params)"
base-state="worker.department">
</vn-searchbar>
</vn-portal>
<form name="form" ng-submit="watcher.submit()" class="vn-w-md"> <form name="form" ng-submit="watcher.submit()" class="vn-w-md">
<vn-card class="vn-pa-lg"> <vn-card class="vn-pa-lg">
<vn-vertical> <vn-vertical>
@ -55,7 +63,7 @@
label="Self-consumption customer"> label="Self-consumption customer">
</vn-autocomplete> </vn-autocomplete>
</vn-horizontal> </vn-horizontal>
<vn-horizontal> <vn-vertical>
<vn-check <vn-check
label="Telework" label="Telework"
ng-model="$ctrl.department.isTeleworking"> ng-model="$ctrl.department.isTeleworking">
@ -68,7 +76,6 @@
label="worksInProduction" label="worksInProduction"
ng-model="$ctrl.department.isProduction"> ng-model="$ctrl.department.isProduction">
</vn-check> </vn-check>
</vn-horizontal>
<vn-one> <vn-one>
<vn-check <vn-check
label="Fill in days without physical check-ins" label="Fill in days without physical check-ins"
@ -82,6 +89,7 @@
</vn-check> </vn-check>
</vn-one> </vn-one>
</vn-vertical> </vn-vertical>
</vn-vertical>
</vn-card> </vn-card>
<vn-button-bar> <vn-button-bar>
<vn-submit <vn-submit