34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<mg-ajax path="/api/TicketTrackings/changeState" options="vnPost"></mg-ajax>
|
|
<vn-watcher
|
|
vn-id="watcher"
|
|
data="$ctrl.params"
|
|
form="form">
|
|
</vn-watcher>
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
|
<vn-card class="vn-pa-lg">
|
|
<vn-horizontal>
|
|
<vn-autocomplete
|
|
vn-one
|
|
field="$ctrl.stateFk"
|
|
url="/ticket/api/States"
|
|
label="State"
|
|
vn-focus>
|
|
</vn-autocomplete>
|
|
<vn-autocomplete
|
|
vn-one
|
|
url="/client/api/Clients/activeWorkersWithRole"
|
|
ng-if="$ctrl.isPickerDesignedState"
|
|
field="$ctrl.workerFk"
|
|
show-field="nickname"
|
|
search-function="{firstName: $search}"
|
|
value-field="id"
|
|
where="{role: 'employee'}"
|
|
label="Worker">
|
|
</vn-autocomplete>
|
|
</vn-horizontal>
|
|
</vn-card>
|
|
<vn-button-bar>
|
|
<vn-submit label="Save"></vn-submit>
|
|
<vn-button ui-sref="ticket.card.tracking.index" label="Cancel"></vn-button>
|
|
</vn-button-bar>
|
|
</form> |