a
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-05-31 13:01:16 +02:00
parent 02665ec8e9
commit 3b4626ee74
2 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,6 @@
<vn-autocomplete
vn-one
url="Workers/search"
ng-model="$ctrl.workerFk"
search-function="{or: [
{name: $search},
{nickname: {like: '%'+ $search +'%'}},

View File

@ -20,8 +20,16 @@
vn-focus>
</vn-autocomplete>
<vn-worker-autocomplete
ng-if="$ctrl.isPickerDesignedState">
vn-one
ng-model="$ctrl.workerFk"
where="{role: 'employee'}">
</vn-worker-autocomplete>
<vn-autocomplete
vn-one
url="Workers/activeWithInheritedRole"
ng-model="$ctrl.workerFk"
label="Worker">
</vn-autocomplete>
</vn-horizontal>
</vn-card>
<vn-button-bar>