fix: add role salesBoss to filter
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-02-16 12:51:45 +01:00
parent 3e33436bf6
commit 34730f48ed
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
url="Workers/activeWithRole"
search-function="{firstName: $search}"
value-field="id"
where="{role: {inq: ['salesPerson', 'officeBoss']}}"
where="{role: {inq: ['salesBoss', 'salesPerson', 'officeBoss']}}"
label="Salesperson">
<tpl-item>{{firstName}} {{name}}</tpl-item>
</vn-autocomplete>
@ -38,7 +38,7 @@
url="Workers/activeWithRole"
search-function="{firstName: $search}"
value-field="id"
where="{role: 'salesPerson'}"
where="{role: {inq: ['salesBoss', 'salesPerson']}}"
label="Attended by">
<tpl-item>{{firstName}} {{name}}</tpl-item>
</vn-autocomplete>