2019-01-22 09:04:42 +00:00
|
|
|
<mg-ajax path="/api/TicketTrackings/changeState" options="vnPost"></mg-ajax>
|
2018-03-27 12:26:20 +00:00
|
|
|
<vn-watcher
|
|
|
|
vn-id="watcher"
|
2019-01-22 09:04:42 +00:00
|
|
|
data="$ctrl.params"
|
|
|
|
form="form">
|
2018-03-27 12:26:20 +00:00
|
|
|
</vn-watcher>
|
2018-12-14 11:56:21 +00:00
|
|
|
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
|
2018-03-27 12:26:20 +00:00
|
|
|
<vn-card pad-large>
|
|
|
|
<vn-horizontal>
|
2018-04-04 13:02:01 +00:00
|
|
|
<vn-autocomplete
|
2018-05-31 09:52:39 +00:00
|
|
|
vn-one
|
2019-01-22 09:04:42 +00:00
|
|
|
field="$ctrl.stateFk"
|
2018-05-31 09:52:39 +00:00
|
|
|
url="/ticket/api/States"
|
|
|
|
label="State"
|
|
|
|
vn-focus>
|
|
|
|
</vn-autocomplete>
|
2019-01-22 09:04:42 +00:00
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
ng-if="$ctrl.isPickerDesignedState"
|
|
|
|
field="$ctrl.workerFk"
|
|
|
|
url="/client/api/Clients/activeWorkersWithRole"
|
|
|
|
show-field="firstName"
|
|
|
|
search-function="{firstName: $search}"
|
|
|
|
value-field="id"
|
|
|
|
where="{role: 'employee'}"
|
|
|
|
label="Worker">
|
|
|
|
<tpl-item>{{firstName}} {{name}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
2018-03-27 12:26:20 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
|
|
|
<vn-submit label="Save"></vn-submit>
|
2018-09-14 06:14:52 +00:00
|
|
|
<vn-button ui-sref="ticket.card.tracking.index" label="Cancel"></vn-button>
|
2018-03-27 12:26:20 +00:00
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|