2019-10-24 22:53:53 +00:00
|
|
|
<mg-ajax path="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>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-card class="vn-pa-lg">
|
2018-03-27 12:26:20 +00:00
|
|
|
<vn-horizontal>
|
2018-04-04 13:02:01 +00:00
|
|
|
<vn-autocomplete
|
2018-05-31 09:52:39 +00:00
|
|
|
vn-one
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.stateFk"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="States"
|
2018-05-31 09:52:39 +00:00
|
|
|
label="State"
|
|
|
|
vn-focus>
|
|
|
|
</vn-autocomplete>
|
2019-01-22 09:04:42 +00:00
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Clients/activeWorkersWithRole"
|
2019-01-22 09:04:42 +00:00
|
|
|
ng-if="$ctrl.isPickerDesignedState"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.workerFk"
|
2019-01-30 14:10:52 +00:00
|
|
|
show-field="nickname"
|
2019-01-22 09:04:42 +00:00
|
|
|
search-function="{firstName: $search}"
|
|
|
|
value-field="id"
|
|
|
|
where="{role: 'employee'}"
|
|
|
|
label="Worker">
|
|
|
|
</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>
|