Merge pull request 'refactor(ticket.create): display only active addresses' (#1008) from 4138-ticket_create_address_isActive into dev
gitea/salix/pipeline/head There was a failure building this commit Details

Reviewed-on: #1008
Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
Joan Sanchez 2022-06-21 11:29:56 +00:00
commit 1d8fa517e7
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
disabled="!$ctrl.clientId"
url="{{ $ctrl.clientId ? 'Clients/'+ $ctrl.clientId +'/addresses' : null }}"
fields="['nickname', 'street', 'city']"
where="{isActive: true}"
ng-model="$ctrl.addressId"
show-field="nickname"
value-field="id"